CartographyCreateProjOrigin(String, Double, Double, Double, Boolean) Method
Create and initialize a cartography object using the
specified projection string, setting the origin of the user
defined local grid coordinates to the projected coordinates
east, north, rotated
orientationProj towards projection north.
Namespace: DHI.ProjectionsAssembly: DHI.Projections (in DHI.Projections.dll) Version: 24.0.0.0 (11.1.1.1111)
public static Cartography CreateProjOrigin(
string projectionString,
double east,
double north,
double orientationProj,
bool validateProjectionString
)
static member CreateProjOrigin :
projectionString : string *
east : float *
north : float *
orientationProj : float *
validateProjectionString : bool -> Cartography
- projectionString String
- A string in the WKT format for a spatial reference system, or one of the abbreviations
- east Double
- Origin easting/x coordinate value of the local grid origin
- north Double
- Origin northing/y coordinate value
- orientationProj Double
- Orientation of the local grid, rotation in degreesn clockwise from projection north
- validateProjectionString Boolean
- Bool specifying if projectionstrings should be validated or not.
It is fairly expensive to validate the projection strings, and the validation can be skipped by setting this flag to false.
Then the user must beforehand check that the projection is valid by calling IsValid(String).
Cartography