Opened 17 years ago

Closed 17 years ago

#1729 closed defect (fixed)

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 (1)

prj.adf (364 bytes ) - added by MichaelUnverferth 17 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by MichaelUnverferth, 17 years ago

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).

comment:2 by warmerdam, 17 years ago

Status: newassigned

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?

by MichaelUnverferth, 17 years ago

Attachment: prj.adf added

comment:3 by MichaelUnverferth, 17 years ago

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.

comment:4 by warmerdam, 17 years ago

Keywords: prj esri added
Milestone: 1.4.3
Resolution: fixed
Status: assignedclosed

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.