This web service is available with Geoconcept Web by setting the services.activate.getAllLayers parameter to true (cf. parameters section).
Input
No parameter as input
Output
parameter | type | min/max | description |
---|---|---|---|
id |
long |
1/1 |
Identifier for the layer. |
name |
string |
1/1 |
Name of the layer. |
kind |
string |
1/1 |
Types of layers |
Query
JSON query
http://<server>/<webapp>/api/lbs/layers/getAll
Response
The response is always in UTF-8 format.
JSON format
{ "layers": [ { "id": "123", "name": "ADMINISTRATIVE", "kind": "RASTER" }, { "id": "124", "name": "BASEMAP", "kind": "RASTER" }, { "id": "128", "name": "ADMINISTRATIVE MAP", "kind": "RASTER" }, { "id": "130", "name": "EMPTY", "kind": "RASTER" }, { "id": "133", "name": "COMPLETE", "kind": "RASTER" }, { "id": "122", "name": "samplePoints", "kind": "VECTOR" } ] }