Ticket #1729 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Does not handle ESRI "GDA94" datum code

Reported by: MichaelUnverferth Assigned to: warmerdam
Priority: normal Milestone: 1.4.3
Component: OGR_SRS Version: unspecified
Severity: normal Keywords: prj esri
Cc:

Description

The OGRSpatialReference::importFromESRI function does not translate the GDA94 datum code. This should be translated to well-known code EPSG:6283.

Attachments

prj.adf (364 bytes) - added by MichaelUnverferth on 07/31/07 17:45:55.

Change History

07/31/07 11:49:05 changed by MichaelUnverferth

Actually, translation should be to EPSG:4283 for CRS itself, 6283 is the datum ID.

ED50 is also known to be used in some files (same as EUR = EPSG:4230 already supported).

07/31/07 12:11:10 changed by warmerdam

  • status changed from new to assigned.

Michael,

I'm not aware, off hand, of any datums for which morphFromESRI() inserts the EPSG authority codes. But we do have this information available for at least some datums in the gdal_datum.csv file which includes ESRI names for datums along with the EPSG information.

To clarify, I gather this ticket is requesting that morphFromESRI() fill out authority information for datums where known, and especially for ED50 and GDA if they aren't mapped by gdal_datum.csv. Is that right? Could you attach ESRI .prj files for ED50 and GDA so I can be sure they are being mapped appropriately?

07/31/07 17:45:55 changed by MichaelUnverferth

  • attachment prj.adf added.

07/31/07 17:50:17 changed by MichaelUnverferth

Actually I am requesting the change to importFromESRI, not morphFromESRI. The check would be similer to the ones already being done for NAD27, NAD83, WGS84 and WGS72. I attached a file that uses the GDA94 datum. I don't have one handy that uses ED50, but the conversion is identical to the EUR datum already done. This is used with the ESRI Binary Grid reader.

08/01/07 19:16:04 changed by warmerdam

  • keywords set to prj esri.
  • status changed from assigned to closed.
  • resolution set to fixed.
  • milestone set to 1.4.3.

Michael,

Support for GDA94 and ED50 added in trunk (r11827) and 1.4 branch (r11828).

I hadn't understood this was an old-style esri prj file till I saw the example.

Best regards