Omnibus Improvements for ESRI PE Compatability
|Reported by:||warmerdam||Owned by:||warmerdam|
|Severity:||normal||Keywords:||esri hfa gtiff|
Attached please find the modified files for fix of SR in GDAL.
With this fix, the persist test should have no crash and no failure for all more than 3000 SRs for BMP, IMG and TIF. It also fixes some of bugs reported in 9.2 and 9.3. More test results will be got from other people.
The modified files from me are only ogr_srs_esri.cpp, ogr_srs_esri_names.h (new), hfadataset.cpp, gt_wkt_srs.cpp, geo_normalize.h, geo_normalize.c
Changes in geo_normalize.h and geo_normalize.c are minor, just to add standard geotif supported invFlatening value.
Some functions are added in gt_wkt_srs.cpp and hfadataset.cpp to write pe string, citation sting parse and translation, write citation for special needs. Following the meeting, I removed all private geokeys. Functions for name re-mapping, add parameters and delete parameters are added in ogr_srs_esri.cpp.
All other files keep the same as Frank sent for projectionX fix.
Frank, I managed EQUIRECTANGULAR (Plate_Carree) and EQUIDISTANT_CYLINDRICAL in ogr_srs_esri.cpp. It not only works for HFA, but also for tif and all other formats. Therefore your change for these two in HFA is not needed, I changed back to what it was.