X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/66832cf0a51777cf9fb1c74459de9f46160ea15e..f143ecaf1c7fc39f67c4d0baf7deea38ce2914f7:/docs/api/Output.md diff --git a/docs/api/Output.md b/docs/api/Output.md index 9a048ce0..a5ec933e 100644 --- a/docs/api/Output.md +++ b/docs/api/Output.md @@ -12,7 +12,7 @@ a single place (for reverse) of the following format: ``` { - "place_id": "100149", + "place_id": 100149, "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright", "osm_type": "node", "osm_id": "107775", @@ -106,8 +106,11 @@ The following feature attributes are implemented: * `name` - localised name of the place * `housenumber`, `street`, `locality`, `district`, `postcode`, `city`, `county`, `state`, `country` - - provided when it can be determined from the address + provided when it can be determined from the address (only with `addressdetails=1`) * `admin` - list of localised names of administrative boundaries (only with `addressdetails=1`) + * `extra` - dictionary with additional useful tags like `website` or `maxspeed` + (only with `extratags=1`) + Use `polygon_geojson` to output the full geometry of the object instead of the centroid. @@ -168,7 +171,7 @@ Additional information requested with `addressdetails=1`, `extratags=1` and + more_url="https://nominatim.openstreetmap.org/search?q=london&addressdetails=1&extratags=1&exclude_place_ids=100149&format=xml&accept-language=en-US%2Cen%3Bq%3D0.7%2Cde%3Bq%3D0.3">