Knowledge Base



KB10908 - How to modify the existing coordinate system defitition.

Suppose you have the EPSG:3021 coordinate system definition, which in WKT presents the datum as:

  DATUM["Rikets_koordinatsystem_1990"‚Äč]

but, for better ESRI interoperability, the user prefers the name D_RT_1990

In C#
  var dat = TGIS_Utils.CSDatumList.ByEPSG(6124);
  TGIS_Utils.CSDatumList.Fix(6124, "D_RT_1990", dat.Ellipsoid.EPSG, dat.Transform.EPSG);   
In Delphi

  var
    dat : TGIS_CSDatum ;
  begin
    dat := CSDatumList.ByEPSG(6124) ;
    CSDatumList.Fix( 6124, 'D_RT_1990', dat.Ellipsoid.EPSG, dat.Transform.EPSG ) ;
  end;   

Created: August 20, 2015, Modified: August 20, 2015
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero