[gdal-dev] gdalbuildvrt and location, Location, LOCATION

Brent Fraser bfraser at geoanalytic.com
Thu Mar 12 14:58:14 EDT 2009


  I'm trying to use gdalbuildvrt (v1.6.0) to create a vrt file from a tileindex shapefile.  The tileindex shapefile was created using gdaltindex, and dbfinfo reports:

1 Columns,  16 Records in file
       LOCATION          string  (254,0)

Doing:
    gdalbuildvrt 082h04w2.vrt 082h04w.shp
reports:
    This shapefile seems to be a tile index of OGR features and not GDAL products.
    Unable to find field `location' in DBF file `082h04w.shp'.

But when doing:
    gdalbuildvrt -tileindex LOCATION 082h04w2.vrt 082h04w.shp
I successfully get my vrt file.


  So either the message should be changed (since the index WAS built using GDAL products), or the default should be changed to LOCATION (my preference).  I'd be happy to file a bug report if someone has a strong feeling either way..

Thanks!
Brent Fraser


More information about the gdal-dev mailing list