On Mar 3, 2:27 pm, Don_Busi <[email protected]> wrote:
> Hi everybody,
>
> > I suspect he is looking for a reverse geocoder, but it is hard to tell
> > from his description.
>
> Yes that's right. I have the coordinates of (possibly very remote)
> location on earth and would like to get the according country.
>
> Dakhla is a National-Park in West-Sahara.http://maps.google.com?q=Dakhla
> resolves fine to the coordinates "21.905017,-16.78997"

maps.google.com uses a combination of algorithms, not all of which are
included in the reverse geocodeer.

And your example works (result = 200) if I replace:
   var latlng = new google.maps.LatLng(21.905017,-16.78997);
with:
   var latlng = "21.905017,-16.78997";

  -- Larry

>
> Sorry for not posting a link. The app is still in development => not
> yet public. But I've set up a page that demonstrates my problem.

That is all we really need.

>
> When I click the link on the following 
> examplehttp://www.businger.ch/diverses/maps/index.php
> , I get a 602-response instead of a country or continent or anything
> usefull.

I don't:
http://www.geocodezip.com/example_geo2.asp?addr1=21.905017,-16.78997&geocode=1

  -- Larry


>
> > Geonames thinks it is "Western 
> > Sahara"http://ws.geonames.org/countrySubdivision?lat=24.357535&lng=-12.805475
>
> Geonames is perfectly right. It is Western Sahara.
>
> Do you know how I can efficiently use this service as fallback if
> google returns a 602? Have you used this service with any JS library?
> I currently use YUI3.
>
> Thanx for your help.
> Don

-- 
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.

Reply via email to