ImportCoordSysFromFile Method

public void ImportCoordSysFromFile( string fileName, ref HorizontalCoordSys horizCoordSys, ref VerticalCoordSys vertCoordSys )

 

Description

The ImportCoordSysFromFile creates a HorizontalCoordSys (and potentially a VerticalCoordSys) instance from a file that contains a coordinate system definition.  The file can be a TAB, MAP, PRJ, or WKT file; the file's format is determined by the file name's extension.  If the specified file cannot be found, a GeoCalcException will be thrown.