Maptitude GISDK Help |
By default, Maptitude uses Auto Projection to pick an appropriate projection, which is always an equal area projection. You may specify another projection or coordinate system for a particular map by using one of the coordinate systems. The projection chosen must have an inverse. However, it is not necessary to include the units, False Easting or False Northing when specifying a projection for a map. The following GISDK functions work with map's projection:
GISDK Function |
Description |
Returns the projection and coordinate system used in a map |
|
Sets the projection and coordinate system used in a map |
|
Converts a longitude and latitude coordinate to an XY coordinate in the map's coordinate system, using the map units |
|
Converts an XY coordinate in the map's coordinate system, based on the map units, to a longitude and latitude coordinate |
// Change the Map Projection to Albers Equal Area for the Continental U.S.
map = GetMap()
SetMapProjection(map, "nad83:aea-conus",)
...
// Change the Map Projection to UTM for the New York Metro Area
map = GetMap()
center = Coord(-74000000, 40750000)
SetMapScope(map, Scope(center, 10., 10., 0.))
SetMapProjection(map, "utm", {"lon_0 =-74."})
// Compute local center
local = MapCoordToXY(map, center)
©2025 Caliper Corporation | www.caliper.com |