Click or drag to resize

IDBConfigWriterAddUpdateGeognoSIS8Layer Method

Adds a new GeognoSIS 8 layer to the site, or updates an existing layer.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
int AddUpdateGeognoSIS8Layer(
	string mapConfiguration,
	int layerId,
	string name,
	string url,
	int projectionID,
	bool expandDataLayerGroups,
	string copyright,
	int tileHeight,
	int tileWidth,
	string swdPath,
	int photometricInterpretationID,
	bool includeInLayerTree,
	bool singleTile
)

Parameters

mapConfiguration
Type: SystemString
Map Configuration Name
layerId
Type: SystemInt32
Layer ID, -1 for a new layer
name
Type: SystemString
Layer Name
url
Type: SystemString
GeognoSIS URL
projectionID
Type: SystemInt32
Projection ID
expandDataLayerGroups
Type: SystemBoolean
Expand Data Layer Groups?
copyright
Type: SystemString
Copyright Text
tileHeight
Type: SystemInt32
Tile Height
tileWidth
Type: SystemInt32
Tile Width
swdPath
Type: SystemString
File Path to SWD File, relative to GeognoSIS
photometricInterpretationID
Type: SystemInt32
Photometric Interpretation ID
includeInLayerTree
Type: SystemBoolean
Include in Layer Tree?
singleTile
Type: SystemBoolean
Should we use a single tile or a grid of tiles

Return Value

Type: Int32
Number of Rows Affected.
See Also