Maptitude GISDK Help |
Translates a local map X-Y coordinate to a longitude-latitude coordinate.
c = MapXYToCoord(string map_name, array x_and_y)
Argument |
Contents |
map_name |
The map whose coordinate system is used |
x_and_y |
A two-element array containing the x-value and y-value of the coordinate to be translated |
A coordinate indicating the longitude and latitude of the point.
The values of x and y should be real numbers in the units specified by the map's coordinate system.
If the map_name is null, the current map is used.
The map should be displayed using a coordinate system. If only a projection is used, the result is unspecified.
For more details on coordinate systems, see Using Projections and Coordinate Systems.
Error Type |
Meaning |
Error |
The translation has failed |
Notfound |
The specified map was not found |
Function |
Summary |
Returns the projection and coordinate system used in a map |
|
Translates a longitude-latitude coordinate to a map pixel X-Y coordinate |
|
Translates a longitude-latitude coordinate to a local map X-Y coordinate |
|
Translates a map pixel X-Y coordinate to longitude and latitude |
©2025 Caliper Corporation | www.caliper.com |