Google geolocation gives coordinates for invalid addresses -
when using googles geolocation, sending in random numbers or address not exist, still gives answer location somewhere.
why give location on address not exist?
example.
result
<result> <type>country</type> <type>political</type> <formatted_address>sweden</formatted_address> <address_component> <long_name>sweden</long_name> <short_name>se</short_name> <type>country</type> <type>political</type> </address_component> <geometry> <location> <lat>60.1281610</lat> <lng>18.6435010</lng> </location> <location_type>approximate</location_type> <viewport> <southwest> <lat>55.3367024</lat> <lng>10.9683721</lng> </southwest> <northeast> <lat>69.0599709</lat> <lng>24.1660240</lng> </northeast> </viewport> <bounds> <southwest> <lat>55.3367024</lat> <lng>10.9631866</lng> </southwest> <northeast> <lat>69.0599709</lat> <lng>24.1668093</lng> </northeast> </bounds> </geometry> <partial_match>true</partial_match> </result>
as user 'geocodezip' rightly mentioned in comments, address validation different concept address geocoding. however, there tools available perform both functions @ once. example, company work makes yaddress, both validates address , geocodes in 1 call.
Comments
Post a Comment