Click or drag to resize
CPJCreateRectified Method
Create a rectified PJ from lon,lat,rotation

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Given an X,Y coordinate system, the lat/lon origin and angle of the coordinate system, this will create a PJ to convert between X,Y coordinates and Lon,Lat. The Lon/Lat is determined using a Transverse Mercator projection with central meridian through the center of the coordinates on a WGS 84 datum.
Syntax
public static CPJ CreateRectified(
	CGXNETCore gxNetShared,
	double lon,
	double lat,
	double x,
	double y,
	double rot,
	double scl,
	int dir
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
lon
Type: SystemDouble
Longitude at (X,Y) origin
lat
Type: SystemDouble
Latitude at (X,Y) origin
x
Type: SystemDouble
(X,Y) origin
y
Type: SystemDouble
rot
Type: SystemDouble
Coordinate Y relative to geographic N (deg azm)
scl
Type: SystemDouble
Scale to convert X,Y to m.
dir
Type: SystemInt32
<define>PJ_RECT</define>

Return Value

Type: CPJ
PJ Object
See Also