| 7 | |
| 8 | == Processes == |
| 9 | |
| 10 | This is the processes list of the Datasource Manager Service : |
| 11 | * !GetLayers |
| 12 | * !CreateLayers |
| 13 | * !DeleteLayers |
| 14 | * !UpdateLayerFields |
| 15 | * !GetFeatures |
| 16 | * !AddFeature |
| 17 | * !UpdateGeometry |
| 18 | * !UpdateAttributes |
| 19 | * !UpdateFeature |
| 20 | * !DeleteFeature |
| 21 | |
| 22 | == !GetLayers == |
| 23 | This process returns the layers list available in the datasource. |
| 24 | |
| 25 | == !CreateLayer == |
| 26 | This process create a layer available in the datasource |
| 27 | |
| 28 | === Inputs === |
| 29 | || id || string || M || to identify a layer in the datasource || |
| 30 | || srs || string || O || to define the layer spatial reference || |
| 31 | || geometry || string || O || to define the geometry type, default is GEOMETRY || |
| 32 | || fields || string || O || to define the fields list and type, format to specify || |
| 33 | |
| 34 | === Output === |
| 35 | This process returns the layer description.[[BR]] |
| 36 | The output format could be XML or JSON. |
| 37 | |
| 38 | == !DeleteLayer == |
| 39 | This process removes a layer available in the datasource |
| 40 | |
| 41 | === Inputs === |
| 42 | || id || string || M || layer's id || |
| 43 | |
| 44 | === Output === |
| 45 | This process returns a message or only http status ? |
| 46 | |
| 47 | == !UpdateLayerFields == |
| 48 | This process provide the capability to manage layer fields |
| 49 | |
| 50 | === Inputs === |
| 51 | || id || string || M || layer id || |
| 52 | || operation || string || M || operation id to process on fields : add/change/del || |
| 53 | || field || string || M || field id || |
| 54 | || format || string || M/O || field format and expression use to create or update field || |
| 55 | |
| 56 | === Output === |
| 57 | This process returns the layer description.[[BR]] |
| 58 | The output format could be XML or JSON. |