Address Geocoding in the Google Maps APIs
The Maps APIs include several services that convert addresses (like street addresses) into geographic coordinates. You can use these services to place markers on a map or position the map.
These services also provide reverse geocoding, which converts geographic coordinates into a human-readable address. This can be useful if you have a place ID that you want to find the address for, but do not know the physical location of the address.
For example, a housing association might use this service to help residents locate their building or find nearby services. It can also be used by taxi drivers to make sure their clients are able to reach the correct address.
This type of geocoding can be especially helpful for mapping public buildings, such as schools and hospitals. It can also be useful for analyzing customer data, such as where customers live and work.
When you submit a geocoding request, the result array is returned as JSON. Each element of this array contains a geocoded address and geometry information.
The array may contain more than one entry for address lookups, though only one entry is returned for reverse geocoding. This array includes a types[] array, which contains zero or more tags identifying the type of feature that was returned in the geocoded address.
These tags can vary based on the geocoded address and can change over time for the same address. They can include locality, point_of_interest, and parking.
Comments
Post a Comment