Nominatim lookup by id: admin_level not present on administrative boundaries Is this by design or am I missing a parameter? My URL: https://nominatim.openstreetmap.org/lookup.php?osm_ids=R113765&polygon_geojson=1&format=json&extratags=1 I there a subsequent call I should make to get the data I need? I should not be calling the details endpoint but that has exactly the data I need asked 12 Mar '21, 01:43 TSaldana |
There's no further parameter for /lookup.php what would return the field. Entirely possible nobody needed the field so far or used /detail.php. You could request it to be added https://github.com/osm-search/Nominatim/ Alternatively change 'format=json' to 'format=jsonv2' and you'll see a 'place_rank' field. In most cases you can calculate the admin_level from that, e.g. place_rank=16 is admin_level=8 answered 12 Mar '21, 15:17 mtmail |