Ticket #4025: hfadataset_1.8.0_GDA94.cpp.patch

File hfadataset_1.8.0_GDA94.cpp.patch, 664 bytes (added by gillins, 5 years ago)

Proposed patch for hfadataset.cpp against GDAL 1.8.0

  • hfadataset.cpp

    old new  
    5959    "NAD83", "North_American_Datum_1983",
    6060    "WGS 84", "WGS_1984",
    6161    "WGS 1972", "WGS_1972",
     62    "GDA94", "Geocentric_Datum_of_Australia_1994",
    6263    NULL, NULL
    6364};
    6465
     
    18421843            sDatum.datumname = (char*) "NAD27";
    18431844        if( nGCS == 4269 )
    18441845            sDatum.datumname = (char*) "NAD83";
     1846        if( nGCS == 4283 )
     1847            sDatum.datumname = (char*) "GDA94";
    18451848           
    18461849        if( poGeogSRS->GetTOWGS84( sDatum.params ) == OGRERR_NONE )
    18471850            sDatum.type = EPRJ_DATUM_PARAMETRIC;