GXLL2 class

class geosoft.gx.GXLL2
local datum lookup creator
ll2 methods are used to create LL2 objects.  LL2 objects contain
latitude, longitude correction lookup tables to convert between datums.
static create((GXContext)ctx, (float)arg1, (float)arg2, (float)arg3, (float)arg4, (int)arg5, (int)arg6, (GXIPJ)arg7, (GXIPJ)arg8) → GXLL2:
Create an empty LL2 table to be filled
Parameters:
  • ctx (geosoft.gx.GXContext) – The GX execution context
  • arg1 (float) – longitude origin
  • arg2 (float) – latitude origin
  • arg3 (float) – longitude increment
  • arg4 (float) – latitude increment
  • arg5 (int) – # longitudes
  • arg6 (int) – # latitudes
  • arg7 (geosoft.gx.GXIPJ) – input projection
  • arg8 (geosoft.gx.GXIPJ) – output projection
Returns:

LL2 Object

Return type:

geosoft.gx.GXLL2

New in version 5.0.0.

See also

geosoft.gx.GXLL2.destroy(), geosoft.gx.GXLL2.set_row(), geosoft.gx.GXLL2.save()

is_null() → bool

Check if the instance of geosoft.gx.GXLL2 is null (undefined)

Returns:True if this is a null instance of geosoft.gx.GXLL2, False otherwise.
Return type:bool`
static null() → GXLL2

A null (undefined) instance of geosoft.gx.GXLL2

Returns:A null geosoft.gx.GXLL2
Return type:geosoft.gx.GXLL2
save((str)arg1) → None:
Save an LL2 to a named resource
Parameters:arg1 (str) – named resource
Returns:Nothing
Return type:None

New in version 5.0.0.

Note:

The named resource is the name of the datum transform define
inside square brackets in the datum transform name in the
datumtrf table.
set_row((int)arg1, (GXVV)arg2, (GXVV)arg3) → None:
Define a row of the LL2
Parameters:
Returns:

Nothing

Return type:

None

New in version 5.0.0.

Note:

The correction data is in degrees, added to the input
datum to product output datum results.

The VV lengths must be equal to #longitudes defined
by geosoft.gx.GXLL2.create().