I can't get google's geocode api to recognize the address:
The Squaire 12
Am Flughafen
60549 Frankfurt am Main
Germany
The Squaire is a building at the airport in Frankfurt. It doesn't appear to have a normal street address, but a number of businesses in The Squaire have addresses like "The Squaire NUMBER". For example:
- ALEX: The Squaire 17, 60549 Frankfurt am Main, Germany
- Bilfinger Facility Services GmbH: THE SQUAIRE 13, Am Flughafen, 60549 Frankfurt am Main, Germany
But no matter what I do, I can't get addresses like that recognized by the google geocode api at:
- The Squaire 12, Am Flughafen, 60549 Frankfurt am Main, Germany
- The Squaire 12, 60549 Frankfurt am Main, Germany
- And lots of other variations
The maddening thing is that the places API finds the place I'm looking for when I search for "squaire" near the airport:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=XYZ&location=50.0509194,8.5684084&radius=1000&keyword=squaire
The matching result has: place_id: ChIJY9ZMLL4KvUcRxZhQ3e-7ask
. When I query the details endpoint:
https://maps.googleapis.com/maps/api/place/details/json?key=XYZ&placeid=ChIJY9ZMLL4KvUcRxZhQ3e-7ask
I get formatted_address: "THE Squaire 12, Am Flughafen, 60549 Frankfurt am Main, Germany"
, but that's exactly the address that won't work in the geocode api.
And when I use the reverse geocode api with the place_id:
https://maps.googleapis.com/maps/api/geocode/json?key=XYZ&place_id=ChIJY9ZMLL4KvUcRxZhQ3e-7ask
I get formatted_address: "plug and work Frankfurt, THE SQUAIRE Conference Center, THE Squaire 12, Am Flughafen, 60549 Frankfurt am Main, Germany"
. Which still doesn't work in the forward geocode api:
https://maps.googleapis.com/maps/api/geocode/json?address=plug%20and%20work%20Frankfurt,%20THE%20SQUAIRE%20Conference%20Center,%20THE%20Squaire%2012,%20Am%20Flughafen,%2060549%20Frankfurt%20am%20Main,%20Germany