Datasource_Manager - ZOO-Project/ZOO-Project GitHub Wiki
This service could give the capability to manage a datasource like :
- addLayer
- updateLayer
- deleteLayer
This is the processes list of the Datasource Manager Service :
- GetLayers
- CreateLayer
- DeleteLayer
- AddLayerField
- DelLayerField
- GetFeatures
- AddFeature
- DelFeature
- UpdateFeature
- UpdateGeometry
- UpdateAttributes
This process returns the layers list available in the datasource.
This process create a layer available in the datasource
| 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 |
This process returns the layer description.
The output format could be XML or JSON.
This process removes a layer available in the datasource
| id | string | M | layer's id |
|---|
This process returns a message or only http status ?
This process provide the capability to add a layer field
| id | string | M | layer id |
|---|---|---|---|
| field | string | M | field id |
| format | string | M | field format |
| default | string | O | default value |
| expression | string | O | an expression used during the creation (fieldA + fieldB) |
This process returns the layer description.
The output format could be XML or JSON.
This process provide the capability to del a layer field
| id | string | M | layer id |
|---|---|---|---|
| field | string | M | field id |
This process returns the layer description.
The output format could be XML or JSON.
This process is like the WFS GetFeature request, but with our own parameters ;-)
| id | string | M | layer id |
|---|---|---|---|
| filter | string | O | a string or XML filter description |
| length | integer | O | features max length |
| startIndex | string | O | a feature id to start with |
This process returns the feature collection.
The output format could be XML, GML, KML or GeoJSON.
This process gives the possibility to add a feature.
| id | string | M | layer id |
|---|---|---|---|
| feature | string | M | a feature or just a geometry in WKT, GML, KML or GeoJSON |
This process returns the feature.
The output could be XML, GML, KML or GeoJSON.
This process gives the possibility to delete a feature.
| id | string | M | layer id |
|---|---|---|---|
| fid | string | M | feature id |
This process returns a message or only http status ?
This process gives the possibility to update a feature.
| id | string | M | layer id |
|---|---|---|---|
| fid | string | M | feature id |
| feature | string | M | a feature or just a geometry in WKT, GML, KML or GeoJSON |
Only the informations provided are updated
This process returns the feature.
The output could be XML, GML, KML or GeoJSON.
This process gives the possibility to update a feature geometry.
| id | string | M | layer id |
|---|---|---|---|
| fid | string | M | feature id |
| geometry | string | M | a geometry in WKT, GML, KML or GeoJSON |
This process returns the feature.
The output could be XML, GML, KML or GeoJSON.
This process gives the possibility to update a feature attributes.
| id | string | M | layer id |
|---|---|---|---|
| fid | string | M | feature id |
| attributes | string | M | a string, JSON or XML representing attributes |
This process returns the feature.
The output could be XML, GML, KML or GeoJSON.