I get back 10003 for this request:

http://maps.google.com/maps/geo?q=40.7322535,-73.9874105&output=xml

BTW - have you considered using the new Geocoding API?

http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&latlng=40.7322535,-73.9874105

<result>
 <type>postal_code</type>
 <formatted_address>New York, NY 10003, USA</formatted_address>
 <address_component>
  <long_name>10003</long_name>


Chris

On Wed, Oct 27, 2010 at 4:18 PM, Kevin Hobson <[email protected]>wrote:

> When reverse geocoding, useful placemarks are not being returned. For
> each reverse geocode request, the api only returns 20 placemarks...
> but in many cases most of the placemarks are accuracy 9 bus or subway
> stations which are useless to my application.
>
> For example, geocode the zip code 10003:
> http://maps.google.com/maps/geo?q=10003&output=xml
>
> You get back the placemark "New York, NY 10003, USA" with accuracy 5.
>
> However, there is no lat/long pair I can reverse geocode and get that
> placemark back. Even when I reverse geocode the center of 10003, "New
> York, NY 10003, USA" does not come back:
> http://maps.google.com/maps/geo?q=40.73,-73.99&output=xml
>
> All I get back are placemarks for 10211 and 10276 and then a bunch of
> accuracy 9 placemarks.
>
> Indeed, the same thing happens if you geocode "Upper East Side, NY."
> The placemark comes back, but there almost no lat/longs that will
> return this placemark when reverse geocoded.
>
> Either the api should allow users to request ALL placemarks when
> reverse geocoding, or we should be able to specify which accuracy
> level placemarks the api will return. Otherwise, I will never receive
> the accuracy 3, 4 and 5 placemarks that I want from the api.
>
> Anybody have an idea for a workaround to this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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