This service returns a list of geoatlas datasources.
GET https://data.geo.dk/api/v3/datalist
Notices: Call to this service requires at lest version 2 of the API. See Versioning on how to do achive this.
| Name | Descrition |
|---|---|
| GeoAreaId | Id'et på GeoArea. Se Geo Area for mere information. Only required in version 3 of the api |
| Datalistid | The id of the list of the datasource. See available id |
Notices: Parameter Names are not case sensitive.
Notices: This service supports getting the resource in different languages, see languages for more info.
The service supports the following datalistids:
| DatalistId | Listname | Descrition | Fields | Additional parameters |
|---|---|---|---|---|
| 1 | BoreholeDataSource | List of borehole datasources |
|
None |
| 2 | Waterworks compoundgroups | List of waterworks compoundgroups |
|
None |
| 3 | Compounds | List of compounds depending of the source param (Requires the GeoLayer maplayer permission) |
|
|
| 4 | Compoundgroups | List of compoundgroups depending of the source param (Requires the GeoLayer maplayer permission) |
|
|
| 5 | EnvironmentalSamples color | List of color for the environmental samples items (Requires the EnvSample maplayer permission) |
|
None |
| 6 | EnvironmentalSamples info | List of info for the samples (Requires the EnvSample maplayer permission) |
|
|
The service returns a list for the requested datasource.
https://data.geo.dk/api/v3/datalist?geoareaid=1&datalistid=1
Returns (danish):
[
{
"Id":0,
"Name":"Geo",
"Color":"#ff0000",
"ShortName":"Geo",
"Description":"En boring fra GEO"
},
....
]
Or in english:
https://data.geo.dk/api/v3/datalist?geoareaid=1&datalistid=1&lang=en
Returns:
[
{
"Id":0,
"Name":"Geo",
"Color":"#ff0000",
"ShortName":"Geo",
"Description":"Boreholes from GEO"
},
....
]