Bug in DirectionsService? or Incorrect Data?

26 views
Skip to first unread message

Steven Spriggs

unread,
Jul 6, 2011, 11:05:34 AM7/6/11
to Google Maps JavaScript API v3
Below is a query that is being made from my map implementation (http://
beta.campusmap.wvu.edu/). 2 address, one being in campus and one
being off campus.

The weird problem is that any address that's within the bounds of
campus returns "Daily Athanaeum" in the address api response from
google. Would this be possibly incorrect information in the bounding
box of the campus? I looked in map maker and I could not find
anything that might cause this anomaly in hopes of correcting it.

The same search with the same address on google.com/maps does NOT
return "Daily Athanaeum."

Thanks for any insight you might be able to give.


Query:

http://maps.googleapis.com/maps/api/js/DirectionsService.Route?4b0&5m2&1m1&2s950%20Ashton%20Place%20Morgantown%20WV%2026505&5m2&1m1&2s1515%20University%20Ave%20Morgantown%2C%20WV%2026505&6e0&12sen-US&100b0&callback=_xdc_._21qzbo&token=2353

JSON:

_xdc_._21qzbo && _xdc_._21qzbo( {
"routes" : [
{
"bounds" : {
"northeast" : {
"lat" : 39.637650,
"lng" : -79.95357000000003
},
"southwest" : {
"lat" : 39.58282000000001,
"lng" : -79.98365000000001
}
},
"copyrights" : "Map data ©2011 Google",
"legs" : [
{
"distance" : {
"text" : "5.1 mi",
"value" : 8144
},
"duration" : {
"text" : "11 mins",
"value" : 649
},
"end_address" : "1515 University Ave, Daily Athanaeum,
Morgantown, WV 26505, USA",
"end_location" : {
"lat" : 39.635840,
"lng" : -79.954250
},
"start_address" : "950 Ashton Pl, Morgantown, WV 26508,
USA",
"start_location" : {
"lat" : 39.58282000000001,
"lng" : -79.98365000000001
},
"steps" : [
{
"distance" : {
"text" : "0.2 mi",
"value" : 352
},
"duration" : {
"text" : "1 min",
"value" : 32
},
"end_location" : {
"lat" : 39.58441000000001,
"lng" : -79.98015000000001
},
"html_instructions" : "Head \u003cb\u003enortheast
\u003c/b\u003e on \u003cb\u003eAshton Pl\u003c/b\u003e",
"polyline" : {
"levels" : "B???B",
"points" : "s_rpFxxdgNoCeF_@cAqA_H{@qB"
},
"start_location" : {
"lat" : 39.58282000000001,
"lng" : -79.98365000000001
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "79 ft",
"value" : 24
},
"duration" : {
"text" : "1 min",
"value" : 13
},
"end_location" : {
"lat" : 39.584280,
"lng" : -79.97993000000001
},
"html_instructions" : "Turn \u003cb\u003eright
\u003c/b\u003e onto \u003cb\u003eAshton Dr\u003c/b\u003e",
"polyline" : {
"levels" : "BB",
"points" : "qirpF|bdgNXk@"
},
"start_location" : {
"lat" : 39.58441000000001,
"lng" : -79.98015000000001
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "1.8 mi",
"value" : 2901
},
"duration" : {
"text" : "4 mins",
"value" : 228
},
"end_location" : {
"lat" : 39.603020,
"lng" : -79.964820
},
"html_instructions" : "Turn \u003cb\u003eleft
\u003c/b\u003e onto \u003cb\u003eCo Rd 73\u003c/b\u003e",
"polyline" : {
"levels" : "B????@?????@??????B",
"points" :
"whrpFpadgNiVeg@{@yCcBiIiIcWoNyVg@SsAFw@EsEyByF_BcBGkKlCsAb@cDbBaDj@qGfB_Cx@aAh@"
},
"start_location" : {
"lat" : 39.584280,
"lng" : -79.97993000000001
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "62 ft",
"value" : 19
},
"duration" : {
"text" : "1 min",
"value" : 24
},
"end_location" : {
"lat" : 39.603090,
"lng" : -79.96462000000001
},
"html_instructions" : "Turn \u003cb\u003eright
\u003c/b\u003e toward \u003cb\u003eUS-119 N/Co Rd 73\u003c/b\u003e",
"polyline" : {
"levels" : "BB",
"points" : "{}upFbcagNMg@"
},
"start_location" : {
"lat" : 39.603020,
"lng" : -79.964820
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "2.3 mi",
"value" : 3688
},
"duration" : {
"text" : "4 mins",
"value" : 255
},
"end_location" : {
"lat" : 39.632020,
"lng" : -79.95661000000001
},
"html_instructions" : "Turn \u003cb\u003eleft
\u003c/b\u003e onto \u003cb\u003eUS-119 N/Co Rd 73\u003c/b\u003e
\u003cdiv style=\"font-size:0.9em\"\u003eContinue to follow US-119 N
\u003c/div\u003e",
"polyline" : {
"levels" : "B??????@???A??????????B",
"points" : "i~upFzaagNoAlAeB~@_Ax@sH|
LcBtBwCtB{Bv@wC\\iSHiVKwDc@oC_AcD{AiUkRaKoJs@a@mM_MoA{@}
FsC_BaAyUmRi@I"
},
"start_location" : {
"lat" : 39.603090,
"lng" : -79.96462000000001
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "0.4 mi",
"value" : 610
},
"duration" : {
"text" : "1 min",
"value" : 24
},
"end_location" : {
"lat" : 39.637380,
"lng" : -79.95751000000001
},
"html_instructions" : "Continue onto \u003cb
\u003eBeechurst Ave\u003c/b\u003e",
"polyline" : {
"levels" : "B??@??B",
"points" : "cs{pFxo_gNoG@{DOgEVwEp@_B`AcBt@"
},
"start_location" : {
"lat" : 39.632020,
"lng" : -79.95661000000001
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "0.2 mi",
"value" : 247
},
"duration" : {
"text" : "1 min",
"value" : 36
},
"end_location" : {
"lat" : 39.637650,
"lng" : -79.95481000000001
},
"html_instructions" : "Turn \u003cb\u003eright
\u003c/b\u003e onto \u003cb\u003eCampus Dr\u003c/b\u003e",
"polyline" : {
"levels" : "B?B",
"points" : "st|pFlu_gNn@}EeB}H"
},
"start_location" : {
"lat" : 39.637380,
"lng" : -79.95751000000001
},
"travel_mode" : "DRIVING"
},
{
"distance" : {
"text" : "0.2 mi",
"value" : 303
},
"duration" : {
"text" : "1 min",
"value" : 37
},
"end_location" : {
"lat" : 39.635840,
"lng" : -79.954250
},
"html_instructions" : "Turn \u003cb\u003eright
\u003c/b\u003e onto \u003cb\u003eUniversity Ave\u003c/b\u003e\u003cdiv
style=\"font-size:0.9em\"\u003eDestination will be on the right\u003c/
div\u003e",
"polyline" : {
"levels" : "B??@??B",
"points" : "iv|pFpd_gNVo@AeDd@a@x@TnBrAbC\\"
},
"start_location" : {
"lat" : 39.637650,
"lng" : -79.95481000000001
},
"travel_mode" : "DRIVING"
}
],
"via_waypoint" : []
}
],
"overview_polyline" : {
"levels" : "B?????????@A??????@?????@??????@??A??@???????
@???@??@???@????B",
"points" : "s_rpFxxdgNoCeF_@cAqA_H{@qBXk@CGeV}
f@{@yCcBiIiIcWoNyVg@SsAFw@EoDiB}
GoB{@IsAJsLfDcDbBaDj@cIzBoCnAMg@oAlAeB~@_Ax@sH|LcBtBwCtB{Bv@wC\\}NHo\
\Q}B]gA]kF}BiUkRaKoJs@a@mM_MoA{@}FsC_BaAyUmRi@IoG@{DOgEVwEp@_B`AcBt@n@}
EeB}HVo@AeDTY\\Ej@RnBrAbC\\"
},
"summary" : "Co Rd 73 and US-119 N",
"warnings" : [],
"waypoint_order" : []
}
],
"status" : "OK"
}
)
Reply all
Reply to author
Forward
0 new messages