Opened 17 years ago

Last modified 7 years ago

#1465 closed defect

Better error report when src and dst datasets are the same — at Initial Version

Reported by: Mateusz Łoskot Owned by: Mateusz Łoskot
Priority: normal Milestone:
Component: Utilities Version: 1.4.0
Severity: minor Keywords: ogr2ogr
Cc: warmerdam, Even Rouault

Description

Here is example of ogr2ogr use case in which a user specifies the same data
set for both: source and destination:

------
ogr2ogr -s_srs EPSG:2180 -t_srs EPSG:2173 D:\OCK_region.shp D:\OCK_region.shp
ERROR 1: D:\OCK_region.shp is not a directory.
ESRI Shapefile driver failed to create D:\OCK_region.shp
------

The error message is unclear and user may be confused because it's hard to find out what is the actual reason of the problem.

Enhancement proposal is to make this error message more meaningful.

Change History (0)

Note: See TracTickets for help on using tickets.