Click or drag to resize
CGUGeometrics2DB Method
Convert a Geometrics STN file to a database.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Assumes that the database is new and empty. If not, existing channels with names X, Y, Mag1, Mag2, Time, Date, and Mark will deleted and then created. Existing lines will be erased and then created if they are the same as the new ones.
Syntax
public static void Geometrics2DB(
	CGXNETCore gxNetShared,
	CDB db,
	CRA ra,
	CWA log_wa,
	int survey_mode,
	int line_dir,
	int corner,
	int bi_uni,
	double corner_x,
	double corner_y,
	double mark_space,
	double line_space
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
DB handle
ra
Type: GeoEngine.Core.GXNetXCRA
RA handle, STN file
log_wa
Type: GeoEngine.Core.GXNetXCWA
Log file WA handle
survey_mode
Type: SystemInt32
Simple mode (1) or Mapped mode (2)
line_dir
Type: SystemInt32
Survey line orientation: North-south - 0 East-west - 1
corner
Type: SystemInt32
Starting survey position: SW - 0, NW - 1, SE - 2, NE - 3,
bi_uni
Type: SystemInt32
Bidirectional (0) or Unidirectional (1)
corner_x
Type: SystemDouble
Starting position X
corner_y
Type: SystemDouble
Starting position Y
mark_space
Type: SystemDouble
Mark spacing
line_space
Type: SystemDouble
Line spacing
See Also