Opened 15 years ago

Closed 15 years ago

#2779 closed defect (fixed)

gdaltindex shapefile creation

Reported by: Mike Taves Owned by: warmerdam
Priority: normal Milestone: 1.7.0
Component: Utilities Version: 1.6.0
Severity: minor Keywords:
Cc:

Description

When gdaltindex is used to create a new shapefile, an error is always displayed, for example:

> gdaltindex ind.shp *.dem
ERROR 4: Unable to open ind.shp or ind.SHP.
Creating new index file...

This is not an error, but simply a message or notice, and should be changed to something less fatal sounding. A real error is if the shapefile cannot be opened or created.

Change History (1)

comment:1 by Even Rouault, 15 years ago

Milestone: 1.7.0
Resolution: fixed
Status: newclosed

Fair enough. Corrected in trunk in r16098 to avoid the error message when the shapefile doesn't exist.

Note: See TracTickets for help on using tickets.