Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 1.93 KB

File metadata and controls

23 lines (22 loc) · 1.93 KB

location API

Client                                        Location API (preprod)                              OGC API (bron-collectie)
  |                                                    |                                                |
  |-- GET /search?q=Stations&adres[version]=1 -------->|                                                |
  |                                                    |  Zoekt in geconfigureerde collecties           |
  |                                                    |  (adres, perceel, woonplaats, etc.)            |
  |                                                    |                                                |
  |<-- 200 FeatureCollection (lightweight) ------------|                                                |
  |        features[n]:                                                                      ^
  |          - id, bbox, (mini)geometry                                                     |
  |          - properties: display_name, highlight, score                                   |
  |          - properties.href[]: URL(s) naar volledige feature  ---------------------------+
  |                                                                                         |
  |-- GET {href[0]} ----------------------------------------------------------------------->|  (bv.) GET /kadaster/.../ogc/v1/collections/adres/items/{id}
  |                                                                                        |  Retourneert volledige feature:
  |                                                                                        |  - alle properties
  |                                                                                        |  - volledige geometrie
  |<---------------------------------------------------------------------------------------|  200 Feature (GeoJSON/JSON-FG)
  |
  |  [Client gebruikt nu de volledige feature in eigen UI/kaart]
  v