[gdal-dev] gdaltindex

2012-08-21 Thread Ian Walberg
Hello folks, Can gdaltindex create a sqlite db instead of a shapefile. This would be for use with mapserver and we are finding some references to non shapefiles but cannot get it to work. Thanks Ian ___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

[gdal-dev] Gdaltindex

2008-12-15 Thread Jukka Rahkonen
Hi, I was creating tileindexes with gdaltindex from FWTools 2.2.6 on Windows and I received strange looking error messages if I had external overviews in directories. So far it looks like the resulting shapefile is OK and it has polygons for all image files. However, while it is somehow understan

[gdal-dev] Gdaltindex fails

2012-04-23 Thread Jukka Rahkonen
Hi, We moved orthophotos to a new file system and after that gdaltindex became very unreliable, actually unusable. It may be a coincidence but old file system does not exist any more and I cannot verify if problem is really due to the new file storage. What happens now is that only a part of tiff

Re: [gdal-dev] gdaltindex

2012-08-21 Thread Even Rouault
Le mardi 21 août 2012 23:09:19, Ian Walberg a écrit : > Hello folks, > > Can gdaltindex create a sqlite db instead of a shapefile. Not directly, but you can use ogr2ogr to convert it to a sqlite db > > This would be for use with mapserver and we are finding some references > to non shapefiles b

Re: [gdal-dev] gdaltindex

2012-08-21 Thread Smith, Michael ERDC-RDE-CRREL-NH
Mapserver does. I've used Oracle as a source for a tile index so sqlite should work as well. See https://github.com/mapserver/mapserver/wiki/MapServer-TILEINDEXes-with-Data base-RASTERS for using Oracle And you could add SQLite to the Wiki as well (if it works). Mike On 8/21/12 5:24 PM, "Even

Re: [gdal-dev] gdaltindex

2012-08-21 Thread Ian Walberg
, Michael ERDC-RDE-CRREL-NH Sent: Tuesday, August 21, 2012 2:30 PM To: Even Rouault; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] gdaltindex Mapserver does. I've used Oracle as a source for a tile index so sqlite should work as well. See https://github.com/mapserver/mapserver/wiki/MapS

Re: [gdal-dev] Gdaltindex

2008-12-15 Thread Even Rouault
Hi, the behaviour you describe is a bit weird. When you get the error message "Unable to open 'foo', skipping", there's no way in the source code of gdaltindex.c that 'foo' is added to the tile index (or I should reopen my C books ;-)). Are you sure the file was not already in the tile index be

Re: [gdal-dev] Gdaltindex

2008-12-16 Thread Rahkonen Jukka
t; Lähetetty: 15. joulukuuta 2008 20:07 > Vastaanottaja: Rahkonen Jukka > Kopio: gdal-dev@lists.osgeo.org > Aihe: Re: [gdal-dev] Gdaltindex > > Hi, > > the behaviour you describe is a bit weird. When you get the > error message "Unable to open 'foo',

Re: [gdal-dev] Gdaltindex fails

2012-04-23 Thread Even Rouault
Selon Jukka Rahkonen : > Hi, > > We moved orthophotos to a new file system and after that gdaltindex became > very > unreliable, actually unusable. It may be a coincidence but old file system > does > not exist any more and I cannot verify if problem is really due to the new > file > storage. > >

Re: [gdal-dev] Gdaltindex fails

2012-04-23 Thread Rahkonen Jukka
Even Rouault > Selon Jukka Rahkonen : > > > Hi, > > > > We moved orthophotos to a new file system and after that > gdaltindex became > > very > > unreliable, actually unusable. It may be a coincidence but > old file system > > does > > not exist any more and I cannot verify if problem is reall

[gdal-dev] gdaltindex produces absolute paths

2015-02-20 Thread Pedro Venâncio
Hi, Some time ago I opened this bug report (http://hub.qgis.org/issues/11428), because I thought it was a problem of the implementation of gdaltindex in QGIS, but now I see that it isn't, because it also happens at the command line. If I put the command line in the folder where the raster files a

[gdal-dev] gdaltindex and netCDF files

2009-03-19 Thread Roger André
Hi All, Is it possible to use gdaltindex to create a shapefile index of a group of netCDF files? Specifivally, I need to index a specific netCDF variable that exists in all of the files. I just tried running it on a single file, using the variable selection syntax that seems to work with the oth

[gdal-dev] gdaltindex and nodata pixels

2009-04-27 Thread Greg Fiske
Has anyone modified gdaltindex to return a polygon shapefile indicating only the data extent for each input image and not the full extent of the image (i.e. ignore nodata pixels in the surrounding rectangle)? Thanks for any advice, Greg Greg Fiske Research Associate/GIS Manager The Wo

[gdal-dev] Gdaltindex without NODATA areas

2009-11-20 Thread Jukka Rahkonen
Hi, Gdaltindex creates simple rectangular polygons. When images are warped the resulting tileindex polygons will overlap. This is ok when tileindex is used as an image catalogue by Mapserver. However, sometimes it would be useful to have an image catalogue showing the real image data areas. Is th

Re: [gdal-dev] gdaltindex produces absolute paths

2015-02-20 Thread Even Rouault
Le vendredi 20 février 2015 16:36:34, Pedro Venâncio a écrit : > Hi, > > Some time ago I opened this bug report (http://hub.qgis.org/issues/11428), > because I thought it was a problem of the implementation of gdaltindex in > QGIS, but now I see that it isn't, because it also happens at the comman

Re: [gdal-dev] gdaltindex produces absolute paths

2015-02-21 Thread Pedro Venâncio
Hi Even, Yes, you are right! This part confused me " raster filenames will be put in the file exactly as they are specified " as talks in filename. Thank you very much Even! Best regards, Pedro ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http

[gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Jukka Rahkonen
Hi, I had a try with gdaltindex and the new -t_srs option that is discussed in http://trac.osgeo.org/gdal/ticket/4773. It seems to be as Even was thinking in the very beginning and Mapserver does not work with tileindex which is containing reprojected bounding boxes. Images with BBOX in the native

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Even Rouault
Selon Jukka Rahkonen : > Hi, > > I had a try with gdaltindex and the new -t_srs option that is discussed in > http://trac.osgeo.org/gdal/ticket/4773. It seems to be as Even was thinking > in > the very beginning and Mapserver does not work with tileindex which is > containing reprojected bounding

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Etienne Tourigny
Jukka, nice that you noticed this new feature I added - was about to advertise it here! The goal of adding this feature was not to make it available in mapserver, but for using in desktop applications as a reference for multiple files with different projections (e.g. landsat archives). cheers Et

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Rahkonen Jukka
ähettäjä: Etienne Tourigny [mailto:etourigny@gmail.com] > Lähetetty: 27. syyskuuta 2012 15:27 > Vastaanottaja: Rahkonen Jukka > Kopio: gdal-dev@lists.osgeo.org > Aihe: Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver > > Jukka, > > nice that you noticed this new

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Etienne Tourigny
ch a thing in QGIS - any way that mapserver code could be useful to QGIS? Or better yet - have a control in the tileindex layer to open the associated raster layer? > > -Jukka Rahkonen- > > > > > >> -Alkuperäinen viesti- >> Lähettäjä: Etienne Tourign

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-10-04 Thread Etienne Tourigny
tor value? > > It would be great to see such a thing in QGIS - any way that mapserver > code could be useful to QGIS? > > Or better yet - have a control in the tileindex layer to open the > associated raster layer? > >> >> -Jukka Rahkonen- >> >> >&

[gdal-dev] gdaltindex with wildcard (*.tif) in a /vsizip/myzip.zip

2014-06-13 Thread Helmut Kudrnovsky
Hi, in the gdaltindex-manual there is an example using wildcard: gdaltindex doq_index.shp doq/*.tif my issue: given a ~1 GB zip-file on a DVD with a lot of geotiffs, windows 7 box. gdaltindex C:\data\m31_1.shp /vsizip/myzip.zip/m31_1/3523-5301_201308.tif works fine, but gdaltindex C:\data\m

Re: [gdal-dev] gdaltindex with wildcard (*.tif) in a /vsizip/myzip.zip

2014-06-13 Thread Even Rouault
Le vendredi 13 juin 2014 18:15:51, Helmut Kudrnovsky a écrit : > Hi, > > in the gdaltindex-manual there is an example using wildcard: > > gdaltindex doq_index.shp doq/*.tif Wildcard is evaluated by the operating system > > my issue: > > given a ~1 GB zip-file on a DVD with a lot of geotiffs,

Re: [gdal-dev] gdaltindex with wildcard (*.tif) in a /vsizip/myzip.zip

2014-06-13 Thread Helmut Kudrnovsky
>> gdaltindex doq_index.shp doq/*.tif >Wildcard is evaluated by the operating system ah yes, your are right. >An alternative might be to use the gdal_ls.py sample utility >(http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/gdal_ls.py), >redirect its output to a file and specify this file