juliannojungle/pedal.guru

Extract and serve bounding box from database, filtering by country, state and city

juliannojungle opened this issue · 0 comments

https://nominatim.openstreetmap.org/search?format=json&country=Brasil&state=RJ&city=Teresopolis

[
    {
        "place_id": 297625715,
        "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
        "osm_type": "relation",
        "osm_id": 2219098,
        "boundingbox": [
            "-22.4701917",
            "-22.1223827",
            "-43.047406",
            "-42.7110277"
        ],
        "lat": "-22.4164578",
        "lon": "-42.975194",
        "display_name": "Teresópolis, Região Geográfica Imediata de Petrópolis, Região Geográfica Intermediária de Petrópolis, Rio de Janeiro, Região Sudeste, Brasil",
        "class": "boundary",
        "type": "administrative",
        "importance": 0.5822562765652282,
        "icon": "https://nominatim.openstreetmap.org/ui/mapicons/poi_boundary_administrative.p.20.png"
    }
]