Click or drag to resize

CGUGeometrics2DB Method

Convert a Geometrics STN file to a database.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void Geometrics2DB(
	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
)

public static void Geometrics2DB(
	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

db
Type: GeoEngine.Core.GXNetCDB
DB handle
ra
Type: GeoEngine.Core.GXNetCRA
RA handle, STN file
log_wa
Type: GeoEngine.Core.GXNetCWA
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
Remarks
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.
See Also