![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
Typedefs | |
typedef uint64_t | IntCoord |
Integer coordinate values for quad tiles. | |
Functions | |
double | intToMeters (IntCoord i) |
IntCoord | metersToInt (double m) |
double | intToLatitude (IntCoord intY) |
double | intToLongitude (IntCoord intX) |
void | intToLatLon (IntCoord intX, IntCoord intY, double &lat, double &lon) |
double | clip (double val, double min_val, double max_val) |
IntCoord | latitudeToInt (double lat) |
IntCoord | longitudeToInt (double lon) |
void | latLonToInt (double lat, double lon, IntCoord &intX, IntCoord &intY) |
void | tileBoundsInt (int level, int col, int row, IntCoord &x_min, IntCoord &y_min, IntCoord &x_max, IntCoord &y_max) |
Calculate tile boundaries in int coordinates. | |
void | xyToTileCoord (IntCoord x, IntCoord y, int level, int &row, int &col) |
double | calcGroundResolution (double latitude, int level, unsigned int tileSize) |
Conversion routines for Web (Google) Mercator, aka EPSG:3857/EPSG:900913. These methods are used to convert between internal tile coordinates (integers) and geographical latitude/longitude.
For more information, see http://en.wikipedia.org/wiki/Web_Mercator http://msdn.microsoft.com/en-us/library/bb259689.aspx