Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5932 closed enhancement (fixed)

Clean and update OSR API for OziExplorer files

Reported by: jcrepetto Owned by: warmerdam
Priority: normal Milestone: 2.0.0
Component: OGR_SRS Version: svn-trunk
Severity: normal Keywords: OziExplorer
Cc:

Description

In GDAL 1.10.0, a new driver to read the OziExplorer .map files has been introduced (see bug #3380)
In the file ogr/ogr_srs_ozi.cpp , a new version of the importFromOzi() function has been implemented :
OGRErr OGRSpatialReference::importFromOzi( const char * const* papszLines )

The old function :
OGRErr OGRSpatialReference::importFromOzi( const char *pszDatum, const char *pszProj, const char *pszProjParms )
is now deprecated and can be removed from the GDAL 2.0 API.

The SWIG bindings and the GDAL autotest have been updated.

Only the Python bindings have been tested, because I am not familiar enough with the other languages supported by SWIG to test all of them.

Attachments (2)

ozi_api_clean.patch (5.3 KB ) - added by jcrepetto 9 years ago.
Patch for GDAL trunk
ozi_autotest_update.patch (3.0 KB ) - added by jcrepetto 9 years ago.
Patch for GDAL autotest trunk

Download all attachments as: .zip

Change History (4)

by jcrepetto, 9 years ago

Attachment: ozi_api_clean.patch added

Patch for GDAL trunk

by jcrepetto, 9 years ago

Attachment: ozi_autotest_update.patch added

Patch for GDAL autotest trunk

comment:1 by Even Rouault, 9 years ago

Resolution: fixed
Status: newclosed

trunk r28972 "Remove deprecated variant of OGRSpatialReference::importFromOzi() (#5932, patch by jcrepetto)"

comment:2 by Even Rouault, 9 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.