Click or drag to resize
CIPJiSetGXF Method
Same as SetGXF_IPJ, but fails gracefully.

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

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
SetGXF_IPJ will fail and terminate the GX if anything goes wrong (e.g. having a wrong parameter). If this function fails, it simply returns 0 and leaves the IPJ unchanged.
Syntax
public int iSetGXF(
	string str1,
	string str2,
	string str3,
	string str4,
	string str5
)

Parameters

str1
Type: SystemString
"projection name" or PCS_NAME from ipj_pcs.csv (datum / projection) or EPSG coordinate system code number or "<file.prj>" projection file name or "<file.wrp>" warp file name
str2
Type: SystemString
"datum name"[, major axis, elipticity, prime meridian] or DATUM from datum.csv or EPSG datum code number
str3
Type: SystemString
"method name", parameters (P1 through P8) or "projection name"[,"method name","Units",P1,P2...] or TRANSFORM from transform.csv or EPSG transform method code number
str4
Type: SystemString
"unit name", convertion to metres or UNIT_LENGTH from units.csv
str5
Type: SystemString
"local transform name"[,dX,dY,dZ,rX,rY,rZ,Scale] or DATUM_TRF from datumtrf.csv or AREA_OF_USE from ldatum.csv or EPSG local datum transform code number

Return Value

Type: Int32
0 - error in setting IPJ, input IPJ unchanged. 1 - success: IPJ set using input values.
See Also