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:
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: