[gdal-dev] Re: gdaltindex invalid shapefile

estrada.adam at gmail.com estrada.adam at gmail.com
Tue Feb 5 09:07:11 EST 2008


Olly,
    I am getting the same error/warning message when I use gdaltindex
but the output is still good.  My version of ArcGIS 9.2 is reading the
file without any issues.  You will have to project it though...The
projection from the input imagery is not assigned to the output
shapefile index.

AWE

On Feb 5, 6:19 am, "Oliver Ishmael" <Oliver.Ishm... at broads-
authority.gov.uk> wrote:
> Hello,
>
> I am trying to use gdaltindex to create a raster tile index for a series
> of aerial photos.
>
> C:\Program Files\FWTools2.0.6\bin>gdaltindex c:\2006\2006.shp
> c:\2006\*.ecw
>
> ERROR 4: Unable to open c:\2006\2006.shp or c:\2006\2006.SHP.
>
> Creating new index file...
>
> The resulting dbf of the shapefile has a 'location' field showing the
> location of all the ecw files. This is it. It seems to be missing the
> XMIN, YMIN, XMAX, YMAX fields and consequently ArcGIS is unable to load
> the resulting 2006.shp
>
> Using gdalinfo -stats I could manually enter this information but it
> would take quite a while. So I just wanted to check that I'm doing
> everything correctly?
>
> Many thanks
>
> Olly
>
> If you have received this email in error, please delete it immediately and notify the sender. This email may contain confidential information and may be legally privileged or prohibited from disclosure and unauthorised use. If you are not the intended recipient, you must not copy, distribute or rely on it.
>
> As email is not a 100% secure communications medium we advise you to check that messages and attachments are virus-free before opening them. We cannot accept liability for any damage that you sustain as a result of software viruses. We reserve the right to read and monitor any email or attachment entering or leaving our systems without prior notice. Opinions expressed in this email are not necessarily endorsed by the Broads Authority unless otherwise specifically stated.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-... at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list