I am using this request format: $req="http://maps.google.com/maps/geo?q=". $geo2."&output=csv&sensor=true&ie=utf8&key=".$key; $response=file_get_contents($req);
where $geo2="67 Λεωφορος Γαλατσιου Γαλάτσι 11146,Αθηνα, Ελλάδα" (greek characters into string) the $geo2 string is copy/pasted exactly as it appears after using the google reverse geocoding in http://code.google.com/intl/el-GR/apis/maps/documentation/examples/geocoding-reverse.html for this string reverse geocoding shows orig latlng: 38.015116,23.745393 which is correct BUT when I use the http request geocoding I get lat:36.9418390, lng: 35.3128880 which is completely out of Greece I also tried using the option sensor=false but the results are the same On 19 Ιαν, 20:47, "[email protected]" <[email protected]> wrote: > On Jan 19, 9:18 am, Kostas <[email protected]> wrote: > > > I am using http geocoding for addresses in Athens Greece. > > > The address format I use is: street name+number+area+Athens+Greece > > (all in greek characters) > > > the problem is tha the geocoder ressponse most of the times is > > completely wrong > > > One greek map service that makes use of google maps (www.ploigos.gr) > > seems to have achieved perfect geocoding using google maps when the > > user enters an address with the data mentioned above. > > > Has anyone an idea of what might be wrong? > > We don't even have an idea of what you are doing. Could you provide a > link to your map that shows the problem, preferably with a sample > address or two that don't work right. > > http://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > > -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
