CartographyCreateGeoOrigin(String, Double, Double, Double) Method

Create and initialize a cartography object using the specified projection string, setting the origin of the user defined local grid coordinates to the geographic coordinates lonOrigin, latOrigin, rotated orientation.

Definition

Namespace: DHI.Projections
Assembly: DHI.Projections (in DHI.Projections.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static Cartography CreateGeoOrigin(
	string projectionString,
	double lonOrigin,
	double latOrigin,
	double orientation
)

Parameters

projectionString  String
A string in the WKT format for a spatial reference system, or one of the abbreviations
lonOrigin  Double
Longitude coordinate of the local grid origin
latOrigin  Double
Latitude coordinate of the local grid origin
orientation  Double
Orientation of the local grid, rotation in degreesn clockwise from geographical north

Return Value

Cartography

See Also