Punkt reverse-geokodieren
Geocoder.revgeocode
Löst eine einzelne Koordinate zur nächstgelegenen Adresse auf.
Body-Parameter
| Anfragetext | Typ | Beschreibung |
|---|---|---|
point | double[] ERFORDERLICH | Coordinate as [x, y]. |
params | object | Extra options. |
snapToBld | bool | Snap result to nearest building. |
snapToBldRadius | integer | Snap radius in metres (default 20). |
getPostalCode | bool | Look up postal code (slower). |
Beispielrequest
{
"point": [
21.0065983,
52.1832837
],
"params": {
"snapToBld": true,
"snapToBldRadius": 50
}
}Beispielresponse
{
"result": {
"country": "PL",
"province": "mazowieckie",
"district": "Warszawa",
"community": "Warszawa",
"city": "Warszawa",
"quarter": "Mokotów",
"pcode": null,
"street": "Domaniewska",
"house": "37p"
}
}result-Felder
| result-Felder | Typ | Beschreibung |
|---|---|---|
country | string | Country code. |
province | string | Province. |
district | string | District (powiat). |
community | string | Community (gmina). |
city | string | City. |
quarter | string | Quarter. |
pcode | string | Postal code (PL only). |
street | string | Street; road number after "*", multi separated by ";". |
house | string | House number. |