Request values at point(s)
Request for one or more points
Get values for point(s) at locations=lon,lat|lon,lat|lon,lat (URL encoded)
GET
https://p20.cosmos-project.ch/<service URL>?locations=<list of coordinates>
Typically, used along hiking paths, ski touring routes, etc.
Path Parameters
Name
Type
Description
<list of coordinates>
string
lon,lat | lon,lat | lon, lat | ...
{
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"properties":{
"snowCover": 100.0
},
"geometry":{
"type":"Point",
"coordinates":[
7.532,
46.70001
]
}
},
{
"type":"Feature",
"properties":{
"snowCover": 100.0
},
"geometry":{
"type":"Point",
"coordinates":[
7.532,
46.71
]
}
},
{
"type":"Feature",
"properties":{
"snowCover":0.0
},
"geometry":{
"type":"Point",
"coordinates":[
7.532,
46.72
]
}
},
{
"type":"Feature",
"properties":{
"snowCover":0.0
},
"geometry":{
"type":"Point",
"coordinates":[
7.532,
46.75
]
}
}
]
}
Last updated
Was this helpful?