There are two issues with places that seem contradictory. First, places are not structured - i.e. Reunion doesn't know what is a street, city, state, country, etc. I wish it did.
However, being that locations are free-form, there is another contradictory problem. If I have a place and I tell it to search for the geocode, it only searches for the location based on how it is written. This is very problematic since in many cases if not most, a place is not written how Google expects.
I have a good example, but this might be a bug that causes it.
For a wedding I have the name of the hall in the place:
Grand Prospect Hall, Brooklyn, NY
Searching for the geocode through Reunion finds one option:
Hall St, Brooklyn, NY, USA
If I search for the exact same text on Google Maps find the correct location:
Grand Prospect Hall
263 Prospect Avenue, Brooklyn, NY
I don't know why Reunion finds a different location than Google Maps directly, but presumably that is a bug. Even so, I think there should be a way for me to keep the place name as I want it, and tell it to search for the geocode for 263 Prospect Avenue, Brooklyn, NY and assign it to that place.
Truthfully, I'd prefer in the long run that Reunion structure places, so there are fields for location name, street number, street name, apt number, city, state, country, etc. and that addresses are validated if possible (for addresses that still exist). There are bound to be locations that can't be validated or even structured, but in those cases, the 'location name' field could be used as it is today without any of the structured fields. The the person wants the address to show up as 263 Prospect Avenue, Brooklyn, NY then they could just leave the 'location name' field blank and it would display the structured address.
As an aside, there are APIs for validating addresses which might be useful, at least with addresses that currently exist. UPS, for example, has an API for validating addresses in 40 different countries (http://www.ups.com/content/us/en/bus...alidation.html) and there are various other commercial and free (https://webgis.usc.edu/Services/Addr...n/Default.aspx) services for this type of thing. To some extent the Google Maps API itself can validate addresses which might be the easiest. Basically you want to feed in an address, have it find that address in the database, and confirm that the address exists. Validation can also force addresses to conform to pre-defined consistent rules, such as how to write/abbreviate Street (St), Avenue (Av), Boulevard (Blvd), etc. and can expand a 5 digit ZIP code to a 9 digit code.
Philip
However, being that locations are free-form, there is another contradictory problem. If I have a place and I tell it to search for the geocode, it only searches for the location based on how it is written. This is very problematic since in many cases if not most, a place is not written how Google expects.
I have a good example, but this might be a bug that causes it.
For a wedding I have the name of the hall in the place:
Grand Prospect Hall, Brooklyn, NY
Searching for the geocode through Reunion finds one option:
Hall St, Brooklyn, NY, USA
If I search for the exact same text on Google Maps find the correct location:
Grand Prospect Hall
263 Prospect Avenue, Brooklyn, NY
I don't know why Reunion finds a different location than Google Maps directly, but presumably that is a bug. Even so, I think there should be a way for me to keep the place name as I want it, and tell it to search for the geocode for 263 Prospect Avenue, Brooklyn, NY and assign it to that place.
Truthfully, I'd prefer in the long run that Reunion structure places, so there are fields for location name, street number, street name, apt number, city, state, country, etc. and that addresses are validated if possible (for addresses that still exist). There are bound to be locations that can't be validated or even structured, but in those cases, the 'location name' field could be used as it is today without any of the structured fields. The the person wants the address to show up as 263 Prospect Avenue, Brooklyn, NY then they could just leave the 'location name' field blank and it would display the structured address.
As an aside, there are APIs for validating addresses which might be useful, at least with addresses that currently exist. UPS, for example, has an API for validating addresses in 40 different countries (http://www.ups.com/content/us/en/bus...alidation.html) and there are various other commercial and free (https://webgis.usc.edu/Services/Addr...n/Default.aspx) services for this type of thing. To some extent the Google Maps API itself can validate addresses which might be the easiest. Basically you want to feed in an address, have it find that address in the database, and confirm that the address exists. Validation can also force addresses to conform to pre-defined consistent rules, such as how to write/abbreviate Street (St), Avenue (Av), Boulevard (Blvd), etc. and can expand a 5 digit ZIP code to a 9 digit code.
Philip
Comment