Displays the user a choice of geodata store for ordering :
- Order network plans, redirect to plans-reseaux.ch API : https://plans-reseaux.ch/api/websearch/doc
- Search any geodata on viageo.ch, redirect to viageo.ch catalog : https://viageo.ch/catalogue
Simple use
Displays the user a choice of geodata store for ordering
URL: https://viageo.ch/api/shop-select/
Use with BBOX
Displays the user a choice of geodata store for ordering, with a restricted BBOX on search.
Use 4 coordinates (floats) of the BBOX in order : xmin / ymin / xmax / ymax
URL: https://viageo.ch/api/shop-select/xmin/ymin/xmax/ymax
Example:
https://viageo.ch/api/shop-select/bbox/2554117.1/1145573.2/2554274.3/1145672.4
Optional parameters
These parameters enable filters for viageo.ch links. No impact on plans-reseaux.ch links. Any combination allowed.
Query parameters | ||
---|---|---|
provider |
Filter providers. Optional, array of organization's uuids separated by commas |
/api/shop-select/?provider=99999999-aaaa-8888-bbbb-777777777777,a9cd0451-f5f1-4d23-830f-9b5890d19035 |
orderable |
Filter on orderable geodata. Optional, 0 by default, 1 to enable filter
|
/api/shop-select/?orderable=1 |
downloadable |
Optional, 0 by default, 1 to enable filter |
/api/shop-select/?downloadable=1 |