This GeoView Server REST API method returns spatial reference systems within specified category. Complete list of category identifiers is being returned by this API method. Accessing this method requires Read permissions.
Request API method URI definition:
HTTP GET http://api.geoview.be/geoservice/v1/catalogs/srs/<id>
Request HTTP URI parameters:
Parameter |
Description |
token |
Access token (returned by this API method). |
id |
Spatial reference system category identifier (returned by this API method). |
Example HTTP request URI (using "Belgium" category identifier):
HTTP GET http://api.geoview.be/geoservice/v1/catalogs/srs/f467976e-53f1-4057-1b14-8b9a8ced14ef?&token=3dc718f2-ab20-4f41-86e1-72abcc1810c1
Possible resulting HTTP status codes:
Value |
Description |
200 |
API request succeeded and result(s) were returned. |
204 |
API request succeeded but query didn't produce any results. |
400 |
API request failed due to wrong parameter value(s). |
401 |
Supplied API request access token not valid. |
Response JSON structure for a single category (please note that API method may return array of categories):
Field |
Description |
id |
Spatial reference system identifier (returned by this API method), being an EPSG code value. |
value |
Spatial reference system name. Please mind possible escape characters ("\") and remove them. |
Example JSON response (using "Belgium" category identifier):
[
{
"id":"21500",
"value":"Belgium, National System 1950"
},
{
"id":"31370",
"value":"Belge 1972 \/ Belgian Lambert 72"
},
{
...
}
]