Skip to content

On details page add link to country #41

@mtmail

Description

@mtmail

Example
https://nominatim.openstreetmap.org/ui/details.html?osmtype=R&osmid=2145268&class=boundary
in the address line lists has both 'Germany' and 'de' but no links to their OSM or detail pages.

The API doesn't return the ids but maybe we can still add a link in the UI, even if it goes to a search page.

    "address": [
        {
            "localname": "Bavaria",
            "place_id": 235644837,
            "osm_id": 2145268,
            "osm_type": "R",
            "place_type": "state",
            "class": "boundary",
            "type": "administrative",
            "admin_level": 4,
            "rank_address": 8,
            "distance": 0,
            "isaddress": true
        },
        {
            "localname": "Germany",
            "place_id": null,
            "osm_id": null,
            "osm_type": null,
            "place_type": null,
            "class": "place",
            "type": "country",
            "admin_level": null,
            "rank_address": 4,
            "distance": 0,
            "isaddress": true
        },
        {
            "localname": "de",
            "place_id": null,
            "osm_id": null,
            "osm_type": null,
            "place_type": null,
            "class": "place",
            "type": "country_code",
            "admin_level": null,
            "rank_address": 4,
            "distance": 0,
            "isaddress": false
        }
    ],

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions