On Thu, Sep 22, 2016 at 07:07:40PM +0000, Andrey Syschikov wrote:
> Thanks, with extratags=1 it makes more sense. It is also strange that
> search does not return admin level, so it is impossible to distinguish
> different admin levels for entities with the same name, for example
> https://nominatim.openstreetmap.org/search/?q=weesp&format=json&extratags=1&addressdetails=1

If you use 'format=jsonv2' the result has another field called
'place_rank'. The value corresponds to the ranks mentioned here:
http://wiki.openstreetmap.org/wiki/Nominatim/Development_overview#Country_to_street_level
In particular, for admin boundaries the value corresponds to
the admin_level tag times 2.

Sarah

_______________________________________________
Geocoding mailing list
Geocoding@openstreetmap.org
https://lists.openstreetmap.org/listinfo/geocoding

Reply via email to