You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
GISGetFeaturesByLayer
Get the list of features for a layer. This should probably only be used with the default app layer.
layerref | number | The ID of a layer, usually -1 for 'default app layer' |
modcode | string | Only get features from this module (eg. “todo” for tasks) |
sysref | number | Only get features for this object (used together with modcode), eg. the ID of a task |
datatype | string | Only get this type of features, usually not set |
Output
features | collection[ feature ] | A collection of features. |
If layerref
is set to -1 then modcode
+sysref
should be set.
GISGetCustomBaseLayers
Get the list of base layers (background maps and WMS layers).
changedate | date | Only get baselayers that were changed after this date |
changetime | time | Only get baselayers that were changed after this time |
Output
layers | collection[ baselayer ] | A collection of baselayers |
GISCreateUpdateFeatures
Create or update features in a GIS layer.
features | collection[ feature ] | A collection of features to create/update |
Output
Notice that when reading the features (using e.g. GISGetFeaturesByLayer) the returned features do not include details about the layer ID, but when writing the features (using e.g. GISCreateUpdateFeatures) each feature should include the layer ID in the layerref
field.