COSMOS | ExoLabs
ExoLabs Website
Deutsch
Deutsch
  • Willkommen
  • Einleitung
  • Schneebedeckung
  • Schneetiefe
  • Schneewasser
  • Schneevorhersage
  • Neuschnee
  • Services
  • Service Authentication
  • Service Listing
  • Web Map Services
  • Request values at point(s)
  • Massive request along multiple paths
  • Raw Data Access
  • Raw Data Access
  • Raw Data Listing
  • Showcases
  • ExoLabs | Company Website
  • ExoLabs | Medium Blog
  • ExoSnow | Android App
  • ExoSnow | iOS App
  • MountaiNow
  • SAC Tourenportal
  • Skitourenguru
  • Swisstopo
Powered by GitBook
On this page

Was this helpful?

Massive request along multiple paths

Preferred endpoint for massive requests (thousands to millions locations along multiple paths)

Massive Request

POST https://p20.cosmos-project.ch/<service URL>

A post request along with an attached file. The file must be a geojson of lines in EPSG:3857, must be named 'lines.geojson' and encoded in UTF8. Tested performance: ~ 1 million points in ~ 1 minute. Note: ~ 30 seconds base time. Use standard requests for a small sample size.

Path Parameters

Name
Type
Description

lines.geojson

object

File containing the paths

{
    'type': 'FeatureCollection',
    'name': 'snow_depth_alps',
    'crs': {'type': 'name', 'properties': {'name': 'urn:ogc:def:crs:EPSG::3857'}},
    'features': [
        [{
            'type': 'Feature',
            'id': '0',
            'properties': {
                'snow_depth': [21, 29, ...],
                'units': 'cm'
            },
            'geometry': {
                'type': 'LineString',
                'coordinates': [[806372.4103808167, 5649885.906446901], ...]
            }
        }...
    ]
}
PreviousRequest values at point(s)NextRaw Data Access

Last updated 4 years ago

Was this helpful?