GSF.Geo Abstract class that defines coordinate reference systems for projecting geographical points into pixel (screen) coordinates and back. http://en.wikipedia.org/wiki/Coordinate_reference_system Gets the projection used by the CRS. Gets the transformation used by the CRS. Translates the given geographical coordinate to a cartesian point at the given zoom level. The coordinate to be translated. The zoom level. The cartesian point corresponding to the given coordinate. Translates the given cartesian point to a geographical coordinate at the given zoom level. The point to be translated. The zoom level. The geographical location of the point. Returns the scale used when transforming projected coordinates into pixel coordinates for a particular zoom. For example, it returns 256 * 2^zoom for Mercator-based CRS. The zoom level. The scale at the given zoom level. Returns the zoom level corresponding to the given scale factor. The scale factor. The zoom level corresponding to the given scale factor. Returns the distance between two geographical coordinates. The first geographical coordinate. The second geographical coordinate. The distance between two geographical coordinates. Serves as the base for CRS that are global such that they cover the earth. Returns the distance, in meters, between two geographical coordinates. The first geographical coordinate. The second geographical coordinate. The distance between two geographical coordinates. The most common CRS for online maps. Uses Spherical Mercator projection. Creates a new instance of the class. Gets the projection used by the CRS. Gets the transformation used by the CRS. Represents a location in the geographical coordinate system. Creates a new instance of the class. The latitude of the geographical coordinate. The longitude of the geographical coordinate. Gets the latitude of the geographical coordinate. Gets the longitude of the geographical coordinate. Calculates distance between this and another value. Other . Distance between two values. Defines a map projection to translate geographical coordinates to points in an xy-coordinate system. Projects the given coordinates onto the xy-coordinate system. The geographical coordinates to be projected. The given coordinates projected onto the xy-coordinate system. Unprojects the given point to the geographical coordinate system. The point to be unprojected. The geographical coordinates of the given point. Spherical Mercator projection; the most common projection for online maps. Assumes that Earth is a sphere. Used by the EPSG:3857 CRS. Radius of the Earth (meters). The maximum latitude. Projects the given coordinates onto the xy-coordinate system. The geographical coordinates to be projected. The given coordinates projected onto the xy-coordinate system. Unprojects the given point to the geographical coordinate system. The point to be unprojected. The geographical coordinates of the given point. Represents a linear transformation over an xy-coordinate system. Creates a new instance of the class. The scale to be applied to the x-value of the point. The offset to be applied to the x-value of the point. The scale to be applied to the y-value of the point. The offset to be applied to the y-value of the point. Transforms the given point to another location. The point to be transformed. The scale to apply after the transformation. The transformed point. Untransforms the given point to its original location. The transformed point. The scale that was applied after the transformation. The original point.