It is currently 21 April 2025, 19:09 Advanced search

[RISOLTO]precisione di geocodeLocation

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

[RISOLTO]precisione di geocodeLocation

Postby poidomani » 8 February 2017, 10:05

Qualcuno sa dirmi da cosa dipende la precisione ? Sbaglia mica di poco. Dando le coordinate di casa mia (via san donato 155 bologna) 44.5084774, 11.3763345 mi viene restituito via carlo goldoni 8, Bologna ???? Aumentando lo zoom l'errore è ancora più evidente. Il marker però è nella posizione giusta.
$mappaCnt.addMarker(1, "via san donato 155 40127 bologna");
var locations = [
[44.5084774, 11.3763345, 'Casa', 'BO'],
[44.836218, 11.5364055, 'Ferrara', 'FE'],
[45.1617874, 10.7382311, 'Mantova', 'MN']
];
Attachments
Cattura.JPG
Cattura.JPG (26.75 KiB) Viewed 3215 times
Last edited by poidomani on 9 February 2017, 10:05, edited 1 time in total.
Ing. Giovanni Poidomani - freelance
saper ascoltare significa possedere, oltre al proprio, il cervello degli altri. (Leonardo da Vinci)
poidomani
 
Posts: 3310
Joined: 4 November 2010, 15:07
Location: Bologna

Re: precisione di geocodeLocation

Postby poidomani » 8 February 2017, 10:23

ho capito, le coordinate di google map sono approssimate. Per ottenere quelle giuste bisogna partire dall'indirizzo.
E bisogna testare :
location_type stores additional data about the specified location. The following values are currently supported:

"ROOFTOP" indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision.
"RANGE_INTERPOLATED" indicates that the returned result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address.
"GEOMETRIC_CENTER" indicates that the returned result is the geometric center of a result such as a polyline (for example, a street) or polygon (region).
"APPROXIMATE" indicates that the returned result is approximate.
Attachments
Cattura.JPG
Cattura.JPG (45.17 KiB) Viewed 3212 times
Ing. Giovanni Poidomani - freelance
saper ascoltare significa possedere, oltre al proprio, il cervello degli altri. (Leonardo da Vinci)
poidomani
 
Posts: 3310
Joined: 4 November 2010, 15:07
Location: Bologna


Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 4 guests

cron