Purpose
Converts MapBasic Coordinate System clause into an PRJ string. PRJ string format is used to describe MapInfo Coordinate Systems in mapinfow.prj file. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
CoordSysStringToPRJ$( coordsys_string )
coordsys_string is a MapBasic CoordSys clause. PRJ string is an alternative definition of Coordinate System used in the mapinfow.prj file; for example, CoordSys Clause of "Earth Projection 1, 104" will return a PRJ string of "1,104".
Return Value
string
Description
The CoordSysStringToPRJ$() function is used to convert a MapBasic CoordSys clause into an integer EPSG value.
Example
The following example displays PRJ string for Earth Projection 1, 104 Coordinate System.
print CoordSysStringToPRJ$("Earth Projection 1, 104")
See Also: