On Jun 7, 5:38 pm, volksman <[email protected]> wrote:
> I don't see any reference to 'rooftop' in my response.  Here is a
> typical example of a geocoding response for an address in my area:
>
> http://maps.google.com/maps/geo?q=559+redwood+st+ottawa+on&key=
>
> {
>   "name": "559 redwood st ottawa on",
>   "Status": {
>     "code": 200,
>     "request": "geocode"
>   },
>   "Placemark": [ {
>     "id": "p1",
>     "address": "559 Redwood Ave, Ottawa, ON K2A 3E7, Canada",
>     "AddressDetails": {
>    "Accuracy" : 8,
>    "Country" : {
>       "AdministrativeArea" : {
>          "AdministrativeAreaName" : "ON",
>          "SubAdministrativeArea" : {
>             "Locality" : {
>                "LocalityName" : "Ottawa",
>                "PostalCode" : {
>                   "PostalCodeNumber" : "K2A 3E7"
>                },
>                "Thoroughfare" : {
>                   "ThoroughfareName" : "559 Redwood Ave"
>                }
>             },
>             "SubAdministrativeAreaName" : "Ottawa Division"
>          }
>       },
>       "CountryName" : "Canada",
>       "CountryNameCode" : "CA"
>    }},
>
>     "ExtendedData": {
>       "LatLonBox": {
>         "north": 45.3844565,
>         "south": 45.3781612,
>         "east": -75.7659381,
>         "west": -75.7722333
>       }
>     },
>     "Point": {
>       "coordinates": [ -75.7690767, 45.3813114, 0 ]
>     }
>   } ]
>
> }
>

That point is on the street:
http://www.geocodezip.com/example_geo2.asp?addr1=(45.3813114,-75.7690767)&geocode=1&zoom=19&type=hybrid

> Does that mean it's not available to me?

Which means probably not yet.
This is what a "rooftop" geocode looks like:
http://www.geocodezip.com/example_geo2.asp?addr1=400%20Union%20Ave,%20Bridgewater,%20NJ%2008807,%20USA%20&geocode=1&zoom=18&type=hybrid

It is not on the road, it is on the building.  Geocoders used to
always interpolate addresses along roads.  Google introduced "rooftop"
goecodes in 2008:
http://googlemapsapi.blogspot.com/2008/05/shout-it-from-rooftops.html

  -- Larry

>
> Thanks for all the info so far!
>
> On Jun 7, 11:52 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Jun 7, 8:17 am, volksman <[email protected]> wrote:
>
> > > Hello All!
>
> > > I'm wondering if there is a way to get 'heading' information from a
> > > street address.  My maps feature specific street addresses and I'm
> > > creating a custom control to allow people to see the address at street
> > > level.  But right now when they hit the control it just drops them in
> > > a street view but heading north.
>
> > > I get my Lat/Long from the geocoding service.  Was wondering if there
> > > is a way to get heading info from that service too.
>
> > > I don't see any mention of it in the docs.  Am I blind?
>
> > It isn't too hard to calculate the bearing from the streetview camera
> > location to the geographic location of a building.  The issue is that
> > it only works when the geocoder returns a "rooftop" geocode for the
> > address.  Are you doing this in an area where rooftop geocodes are
> > available?
>
> > I have an example using v2, I haven't looked at streetview in v3 
> > yet.http://www.geocodezip.com/example_geo_streetview.asp
>
> >   -- Larry
>
> > > Thanks in advance!- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to