Ticket #1729 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Does not handle ESRI "GDA94" datum code

Reported by: MichaelUnverferth Owned by: 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 Download (364 bytes) - added by MichaelUnverferth 6 years ago.

Change History

Changed 6 years ago 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).

Changed 6 years ago 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?

Changed 6 years ago by MichaelUnverferth

Changed 6 years ago 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.

Changed 6 years ago by warmerdam

  • keywords prj esri added
  • 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

Note: See TracTickets for help on using tickets.