LocalFrame

class LocalFrame(val origin: GeoPosition)

A flat map of a small piece of the globe (a plot of land) in metres, around origin: a metre to the east is N cos(latitude) and a metre to the north is M on the WGS84 ellipsoid at the origin (N and M the radii of curvature across and along a meridian), so distances on it are right at the origin and out by about tan(latitude) times the distance over the radius of the Earth away from it (a fifth of a percent at 10 km at the latitude of Turkey).

The map is linear in latitude and longitude (an affine map): a straight line on it is a straight line in latitude and longitude as well, which is what an overlay engine, working on longitude and latitude as if they were flat, needs to cut along the same line.

Constructors

Link copied to clipboard
constructor(origin: GeoPosition)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

The place on the globe that is the point p of this map.

Link copied to clipboard

The point p on this map, in metres.