Re: [gdal-dev] gdal_translate adding 'dashed' lines to output

2014-01-23 Thread Even Rouault
Le jeudi 23 janvier 2014 22:49:33, John Gray a écrit : > I've been trying to use "gdal_translate" to convert a USGS GeoPDF to a > GeoTiff file. It appears to be working correctly except for one issue. > During the conversion a number of horizontal lines appear in the > output. They appear at a fe

[gdal-dev] gdal_translate adding 'dashed' lines to output

2014-01-23 Thread John Gray
I've been trying to use "gdal_translate" to convert a USGS GeoPDF to a GeoTiff file. It appears to be working correctly except for one issue. During the conversion a number of horizontal lines appear in the output. They appear at a few latitudes in the file - it looks like a dashed line acro

Re: [gdal-dev] gdaldem slope with -s 111120.0 works only at equator for lat/lon?

2014-01-23 Thread Even Rouault
Le mercredi 22 janvier 2014 23:14:01, John Abraham a écrit : > Please help me with something potentially important. The documentation for > gdaldem slope says “If the horizontal unit of the source DEM is degrees > (e.g Lat/Long WGS84 projection), you can use scale=20 if the vertical > units ar

Re: [gdal-dev] (no subject) [sqlite configuration]

2014-01-23 Thread Even Rouault
Le jeudi 23 janvier 2014 17:09:41, Jonathan Greenberg a écrit : > GDALers: > > I've not had this error before when compiling GDAL for Linux boxes, but I'm > getting some sqlite error. This is from: > ./configure --prefix=/pathto/wherever --with=python > make > > *** > ... > chmod a+x gdal-config

Re: [gdal-dev] Question about gdaladdo and raster mosaicking

2014-01-23 Thread Brian Case
Ammar you want to turn on internal masks in the shell, gdaladdo will not use them otherwise. also you will need to turn this on if you use mapserver. gdal will need to have this turned on for any further operations. gdaladdo should use the correct image options without specifying them export GD

Re: [gdal-dev] Question about gdaladdo and raster mosaicking

2014-01-23 Thread Duarte Carreira
Try without internal mask. Duarte _ De: Ammar [mailto:ammar8...@yahoo.com] Enviada: quinta-feira, 23 de Janeiro de 2014 14:28 Para: Etienne Tourigny Cc: gdal dev Assunto: Re: [gdal-dev] Question about gdaladdo and raster mosaicking Etienne, I tried t

[gdal-dev] (no subject)

2014-01-23 Thread Jonathan Greenberg
GDALers: I've not had this error before when compiling GDAL for Linux boxes, but I'm getting some sqlite error. This is from: ./configure --prefix=/pathto/wherever --with=python make *** ... chmod a+x gdal-config /bin/sh /projects/oa/shared/jgrn/code/src/gdal-1.10.1/libtool --mode=link g++

Re: [gdal-dev] Question about gdaladdo and raster mosaicking

2014-01-23 Thread Ammar
Etienne, I tried the following: gdalbuildvrt -srcnodata 255 -vrtnodata 255 -addalpha -input_file_list tiff_list.txt mosaic02.vrt gdal_translate -of GTiff -b 1 -b 2 -b 3 -mask 4 -a_srs EPSG:3011 -co TILED=yes -co compress=jpeg -co jpeg_quality=80 -co blockxsize=512 -co blockysize=512 -co photo

Re: [gdal-dev] Question about gdaladdo and raster mosaicking

2014-01-23 Thread Etienne Tourigny
As was suggested, you could try using a mask instead. On Thu, Jan 23, 2014 at 7:52 AM, Ammar wrote: > Chaitanya, > > Thank you very much for your reply and suggestion. I have used LZW with > predictor 2 compression and added external overviews compressed in LZW too > and the image came perfect.

Re: [gdal-dev] Question about gdaladdo and raster mosaicking

2014-01-23 Thread Ammar
Chaitanya, Thank you very much for your reply and suggestion. I have used LZW with predictor 2 compression and added external overviews compressed in LZW too and the image came perfect. The only downside is the size of each of the images has expanded from approx. 2 GB to 18-20 GB. So now I hav