Version 3 (modified by rldhont, 15 years ago) |
---|
Datasource Manager Service
This service could give the capability to manage a datasource like :
- addLayer
- updateLayer
- deleteLayer
Processes
This is the processes list of the Datasource Manager Service :
- GetLayers
- CreateLayers
- DeleteLayers
- UpdateLayerFields
- GetFeatures
- AddFeature
- UpdateGeometry
- UpdateAttributes
- UpdateFeature
- DeleteFeature
GetLayers
This process returns the layers list available in the datasource.
CreateLayer
This process create a layer available in the datasource
Inputs
id | string | M | to identify a layer in the datasource |
srs | string | O | to define the layer spatial reference |
geometry | string | O | to define the geometry type, default is GEOMETRY |
fields | string | O | to define the fields list and type, format to specify |
Output
This process returns the layer description.
The output format could be XML or JSON.
DeleteLayer
This process removes a layer available in the datasource
Inputs
id | string | M | layer's id |
Output
This process returns a message or only http status ?
UpdateLayerFields
This process provide the capability to manage layer fields
Inputs
id | string | M | layer id |
operation | string | M | operation id to process on fields : add/change/del |
field | string | M | field id |
format | string | M/O | field format and expression use to create or update field |
Output
This process returns the layer description.
The output format could be XML or JSON.