Thanks Chris! I've identified a location where the returned LocationType = Rooftop and it's still pretty wide in that in doesn't match-up with the building outlines in Google maps (returned values below). Is there an option to get the bounds for a building via the Google Maps API? Specifically the ones that are displayed in Google maps for a building?
http://maps.googleapis.com/maps/api/geocode/json?address=19225+Alderwood+Mall+Parkway+Lynnwood+WA&sensor=false { "status": "OK", "results": [ { "types": [ "street_address" ], "formatted_address": "19225 Alderwood Mall Pkwy, Lynnwood, WA 98036, USA", "address_components": [ { "long_name": "19225", "short_name": "19225", "types": [ "street_number" ] }, { "long_name": "Alderwood Mall Pkwy", "short_name": "Alderwood Mall Pkwy", "types": [ "route" ] }, { "long_name": "Lynnwood", "short_name": "Lynnwood", "types": [ "locality", "political" ] }, { "long_name": "Edmonds", "short_name": "Edmonds", "types": [ "administrative_area_level_3", "political" ] }, { "long_name": "Snohomish", "short_name": "Snohomish", "types": [ "administrative_area_level_2", "political" ] }, { "long_name": "Washington", "short_name": "WA", "types": [ "administrative_area_level_1", "political" ] }, { "long_name": "United States", "short_name": "US", "types": [ "country", "political" ] }, { "long_name": "98036", "short_name": "98036", "types": [ "postal_code" ] } ], "geometry": { "location": { "lat": 47.8240123, "lng": -122.2707056 }, "location_type": "ROOFTOP", "viewport": { "southwest": { "lat": 47.8208647, "lng": -122.2738532 }, "northeast": { "lat": 47.8271599, "lng": -122.2675580 } } } } ] } On May 19, 9:35 pm, Chris Broadfoot <[email protected]> wrote: > The most likely reason for this is this part of the response: > > "location_type": "RANGE_INTERPOLATED", > > The fact is that our data is much better in some places than other. In areas > where we know parcel boundaries and have rooftop data for a particular > address, we may provide a much more specific bounds for the feature. > > Chris > > On Fri, May 20, 2011 at 10:29 AM, Harry Kim <[email protected]> wrote: > > I used the wrong bad example. The URL should have been: > > >http://maps.googleapis.com/maps/api/geocode/json?address=457%20120th%... > > > Harry > > > On Thu, May 19, 2011 at 5:24 PM, Harry Kim <[email protected]> wrote: > > >> Is there a way to pull in building boundries via the Google API? The > >> Google Geocoding API returns a viewport value that seems to provide > >> this, but it seems to be fairly inconsistent: > > >> GOOD - Provides a solid outline of the Google Campus > > >>http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphith... > > >> BAD - This is for Best Buy and the points are essentially on top of > >> each other > > >>http://maps.googleapis.com/maps/api/geocode/json?address=457+120th+Av... > >> &sensor=true_or_false<http://maps.googleapis.com/maps/api/geocode/json?address=457+120th+Av...> > > >> Question would be is this the right way to pull the coordinates of a > >> building? If so what am I doing wrong for the BAD example. > > >> Thanks. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > --http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
