 | CIPJiSetGXF Method |
Same as SetGXF_IPJ, but fails gracefully.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iSetGXF(
string str1,
string str2,
string str3,
string str4,
string str5
)
public int iSetGXF(
string str1,
string str2,
string str3,
string str4,
string str5
)
Public Function iSetGXF (
str1 As String,
str2 As String,
str3 As String,
str4 As String,
str5 As String
) As Integer
Public Function iSetGXF (
str1 As String,
str2 As String,
str3 As String,
str4 As String,
str5 As String
) As Integer
public:
int iSetGXF(
String^ str1,
String^ str2,
String^ str3,
String^ str4,
String^ str5
)
public:
int iSetGXF(
String^ str1,
String^ str2,
String^ str3,
String^ str4,
String^ str5
)
member iSetGXF :
str1 : string *
str2 : string *
str3 : string *
str4 : string *
str5 : string -> int
member iSetGXF :
str1 : string *
str2 : string *
str3 : string *
str4 : string *
str5 : string -> int
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.
Remarks
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.
See Also