Skip to content

[Bug] fix example on geo coder page to be geocodejson instead of json #765

@wjansenw

Description

@wjansenw

HI,
Trying to get reverse geocoding to work. I get what looks a valid response from nominatim, but it is treated as ZERO_RESULTS:

Image

The json answer:

{
	"lat": "49.64122269503967",
	"lon": "5.835876554099855",
	"osm_id": 536617367,
	"address": {
		"road": "Autoroute du Soleil",
		"state": "Luxembourg",
		"county": "Arlon",
		"country": "België / Belgique / Belgien",
		"village": "Hondelange",
		"postcode": "6780",
		"country_code": "be",
		"ISO3166-2-lvl6": "BE-WLX"
	},
	"licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
	"osm_type": "way",
	"place_id": 5501071,
	"boundingbox": [
		"49.6408526",
		"49.6433739",
		"5.8300063",
		"5.8371402"
	],
	"display_name": "Autoroute du Soleil, Hondelange, Messancy, Arlon, Luxembourg, Wallonie, 6780, België / Belgique / Belgien"
}

Any idea what is wrong here?

Regards,
Wim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions