Skip to end of metadata
Go to start of metadata

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.

Input


layerrefnumberThe ID of a layer, usually -1 for 'default app layer'
modcodestringOnly get features from this module (eg. “todo” for tasks)
sysrefnumberOnly get features for this object (used together with modcode), eg. the ID of a task
datatypestringOnly get this type of features, usually not set

Output


featurescollection[ 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).

Input


changedatedateOnly get baselayers that were changed after this date
changetimetimeOnly get baselayers that were changed after this time

Output


layerscollection[ baselayer ]A collection of baselayers

GISCreateUpdateFeatures

Create or update features in a GIS layer.

Input


featurescollection[ feature ]A collection of features to create/update

Output


None--

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.

  • No labels