Re: [gdal-dev] warp taking time

2014-07-14 Thread Chaitanya kumar CH
Adiba, Do you really need to warp the rasters? Aren't the source and destination in the same SRS? On Tue, Jul 15, 2014 at 9:25 AM, adiba nizami wrote: > I am using gdal1.5 , considering version change not an optioncan you > please tell how I can make use of gdal warp ?... > > > > On Mon, J

Re: [gdal-dev] [BULK] Re: Dissolve shapefile using GDAL/OGR

2014-07-14 Thread Mike Toews
The path strings are not escaped, so dissolve[13] is '\a' or '\x07' and not 'a', which makes the path invalid. For Windows paths, the best practice is to either use forward slashes (like unix), or use raw escape with r as a string prefix, e.g. dissolve = r'C:\OSGeo4W64\apps...' On 12 July 2014 0

Re: [gdal-dev] [BULK] Re: Dissolve shapefile using GDAL/OGR

2014-07-14 Thread devendra dahal
Hello all, Does anybody have suggestions on this issue? I am just interested on dissolving polygons, if there is another way around, too. thanks On Jul 11, 2014 9:21 AM, "kalu671" wrote: > Hello Dan, > I tried to use the syntax and I am getting the error: > "The filename, directory name, or volu

Re: [gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Eli Adam
On Mon, Jul 14, 2014 at 12:35 PM, Jürgen E. wrote: > Hi Eli, > >> > On Mon, 14. Jul 2014 at 10:40:08 -0700, Eli Adam wrote: >> >> Searching through trac for OSGeo4W, I found this which seems like it might >> >> be similar, http://trac.osgeo.org/osgeo4w/ticket/408 > >> > I can't reproduce that. WI

Re: [gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Liu, Jian
Thanks Eli and Jürgen. Eli, The link you gave solved my problem. Thank you very much! I was trying to use GDAL with python bindings. So I keep the installation from http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal (GDAL‑1.11.0.win32‑py2.7.exe) and manually replaced and added some files using

Re: [gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Jürgen E . Fischer
Hi Eli, > > On Mon, 14. Jul 2014 at 10:40:08 -0700, Eli Adam wrote: > >> Searching through trac for OSGeo4W, I found this which seems like it might > >> be similar, http://trac.osgeo.org/osgeo4w/ticket/408 > > I can't reproduce that. WI_Madison_West_20130722_TM_geo.pdf works fine > > with both t

Re: [gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Eli Adam
On Mon, Jul 14, 2014 at 11:17 AM, Jürgen E. wrote: > Hi Eli, > > On Mon, 14. Jul 2014 at 10:40:08 -0700, Eli Adam wrote: >> I got this error from OSGeo4W too. The last two lines of this page, >> http://trac.osgeo.org/osgeo4w/ticket/408, lists the mailing list and >> ticket tracker. You can ask o

Re: [gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Jürgen E . Fischer
Hi Eli, On Mon, 14. Jul 2014 at 10:40:08 -0700, Eli Adam wrote: > I got this error from OSGeo4W too. The last two lines of this page, > http://trac.osgeo.org/osgeo4w/ticket/408, lists the mailing list and > ticket tracker. You can ask or report this error there. Searching > through trac for OSG

Re: [gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Eli Adam
Hi Jian, On Mon, Jul 14, 2014 at 7:52 AM, Liu, Jian wrote: > Hello, > > > > I have been trying to install GDAL to convert USGS GeoPdf. Googling gave me > a couple of links for quick installation for windows. > http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries lists some additional options.

[gdal-dev] gdal installation, geopdf not recognized

2014-07-14 Thread Liu, Jian
Hello, I have been trying to install GDAL to convert USGS GeoPdf. Googling gave me a couple of links for quick installation for windows. http://trac.osgeo.org/osgeo4w/wiki · http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal (GDAL‑1.11.0.win32‑py2.7.exe) I have 32 bit machine, wind

Re: [gdal-dev] gdal2tiles.py generating dark tiles

2014-07-14 Thread Allan Oware
After digging around and comparing other images, I realised that the .IMG lacks color interpretation since the ColorInterp parameter in gdalinfo output is undefined for the 3 bands. When I attempt to gdal_translate to Gtiff with -expand rgb option, the error output was: band 1 has no color table. A

[gdal-dev] RE : Re: Reading shapefile PRJ failing

2014-07-14 Thread MITANCHEY Richard - CEREMA/DTecTV/ESI/GNSI
Envoyé depuis un mobile Samsung Message d'origine De : "> Even Rouault (par Internet, dépôt gdal-dev-boun...@lists.osgeo.org)" Date : 12/07/2014 9:29 PM (GMT+01:00) A : Brian McCormick Cc : gdal-dev@lists.osgeo.org Objet : Re: [gdal-dev] Reading shapefile PRJ failing

Re: [gdal-dev] warp taking time

2014-07-14 Thread Chaitanya kumar CH
Adiba, I noticed that your source and target projections are same. Why not use gdalbuildvrt and gdal_translate and skip the warping process? You create a virtual mosaic (and assign the projection if needed) with buildvrt. You can create a tiff file from the vrt file using gdal_translate. On Mon,

[gdal-dev] gdal2tiles.py generating dark tiles

2014-07-14 Thread Allan Oware
Hi all, Dark tiles are generated when I run gdal2tiles.py on a .IMG file(a scanned and georeferenced topographical map). A sample png of the tiles generated is found here . Even when i translate to tiff, the output is still the same. Why does gd