ruby-Mapquest

Changelog (Click Version To View/Download)

  • Version 0.005
    • Addition: thumb_height, thumb_width, thumb_style, thumb_type, thumb_url to route rval when available (per turn)
  • Version 0.004
    • Addition: apistatus to geocode rval
    • Addition: geocode status to geocode rval
    • Addition: geocode quality to geocode rval
    • Documentation: Added commas to geocoding example… oops
  • Version 0.003
    • bugfix: added apikey to overviewmap
    • bugfix: distance is now a float value
    • change: overview metrics renamed from maneuver_foo to maneuvers_foo
    • Addition: [:debugurl] for manual inspection of values returned from mapquest’s api
  • Version 0.002
    • Addition: Routing Support
  • Version 0.001
    • Initial Release

Warranty: None, at all, whatsoever, use at your own risk, may burn down your house and knock over your garbage cans and return the car with the gas level on “E” and refuse to return your lawnmower even though it’s now 7 months later and you’re growing a small rainforest out back… might fall asleep while watching your children, forget to pay the electric bill, and run up massive credit card debt. In other words. You’re on your own. Dont come crying to me!

To use this client you have to first apply for a mapquest openapi key here Then you must add “*” as a referrer under “my account” for your openapi ke

Example usage:

mq = Mapquest.new(“foobazbazbooblah”)

#Geocoding
myLocation = {
:address => “555 17th Street, Suite 1600”,
:city => “Denver”,
:state => “Colorado”,
:zip => 80202,
}
puts mq.geocode(myLocation).inspect

#Routing
route_request = {
:addressOrigin => {
:name => “Yahoo!”,
:address => “701 First Avenue”,
:city => “Sunnyvale”,
:stateProvince => “ca”,
},
:addressDestination => {
:name => “Google”,
:address => “1600 Amphitheatre Parkway”,
:city => ” Mountain View”,
:stateProvince => “ca”,
},
}
puts mq.route(route_request).inspect

As simple as it gets, no? Cheers!

13 thoughts on “ruby-Mapquest

  1. amy says:

    I am trying to run this program and I am getting this error. Can you please let me know what might be the cause? I am guessing the Hpricot was not installed properly?

    C:railsGasPal>ruby scriptserver

    ./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use gem instead.

    => Booting WEBrick…

    => Rails application started on http://0.0.0.0:3000
    => Ctrl-C to shutdown server; call with –help for options

    [2007-05-10 11:59:36] INFO WEBrick 1.3.1

    [2007-05-10 11:59:36] INFO ruby 1.8.4 (2006-04-14) [i386-mswin32]

    [2007-05-10 11:59:36] INFO WEBrick::HTTPServer#start: pid=1928 port=3000

    {:county=>"Denver County", :apistatus=>"0", :quality=>"CITY", :longitude=>"-104.984856", :state=>"CO

    ", :latitude=>"39.740112", :status=>"1030", :city=>"Denver", :address=>"555 17th Street, Suite 1600"

    }

    #"} {elem {elem {elem {elem {text "0"} } {elem {text "66503"} } {ele

    m {text "1600 Amphitheatre Parkway"} } {elem {text " Mountain View"} } {elem {text "Google"} } {elem {text "ca"} } {elem {text "701 First Avenue"} }

    {elem {text "Sunnyvale"} } {elem {text "Yahoo!"} } {elem {text "ca"} } {elem {text "3"} } {elem {text "3"} } {elem {text "route"} } } {emptyelem } {elem {elem {elem {text "Yahoo!"} } {elem {text "701 First Avenue"} } {elem {text "Sunnyvale"} } {elem {text "ca"} } } } {elem {elem {elem {text "Go

    ogle"} } {elem {text "1600 Amphitheatre Parkway"} } {elem {text "M

    ountain View"} } {elem {text "ca"} } } } {bogusetag>} {elem {elem {text "1030"} } {elem {elem {text "1"} } {elem {text "Yahoo!"} } {e

    lem {text "Sunnyvale"} } {elem {text "Santa Clara County"} } {elem {text "CA"} } {elem {text "US"} } {elem {text "37.368900"} } {elem {text "-122.035301"} } {elem {text "CITY"} } {elem {text "9191"} } {elem {elem

    {text "119"} } {elem {text "198"} } {elem {text "8"} } {elem {text "style5"} } {elem {text "http://web.openapi.mapquest

    .com:80/oapi/transaction?transaction=mapimage&datalen=1613&data=b6c4PZ%23%25YNJ%7D%2Be%2C%3E

    oE%7C0aNH80KC4S0P%60%29zFSZzkblf%7B%3F%5BHf%7E%7Bk%5Dp%5B%3A7.%2CxfQwHHw8%40xAeVDBC1S%24N%7D-%22Eq%2

    2V%25%3EB%3AzW%3D%23ZY%5BrPu%7Eg%2Fmo1.Y%2Fc%3A3wH%2B%27YW%2Avd%7CVgVb8G%7D%7CC%2Cc%26%237Z0k%3Aa%28

    %22%7EKpJhgg%3D%3B%601Zw%7E%3E%251tZMIfIN9%3BzVtcPmKosP%2F+z%7Cyju%3FSwuw-MwM%25%2FJvUPlxiiPhuhk%7BC

    7zV%3D%3B0%25xm0%5EB-EQ7%5B8J%2B%2B%21yd%60R%3CHG%21%5Fy%7D-Lz%5Fsmr%2ARe%2Ci%3E%7E%7CoQ%22MirLhpv%7

    EyZZu9I%3EWN6qAN%7BkCa%7D%7BIEGmDj%7EAsz7Wjb30RjcZBJ%3EzAU0s%60E3D%60%5E%7CCMN%28ou4q%3E%7Dd%7EFCm-b

    TGIFr%5D%7EmZB+R%26mr%2FT7%24%25w%22S%2F3ArJ%24imWZCkw5Q%24%40+rC0aIul%21X-+K6JvTQxy1Twy%3ET2g%2Adjz

    %7C.tNucP%7E2ua%7D5%21ikCS%3CGY%2BDws%298%3D%255%7Cy%7D%7BpZ%3D%3B%3DU%60CGZ%26%5E%24sKC%7B%273%24%5

    DM1%24I0%29%40LHHfXX%28eJ%3CA%5B7%7CcZ%27v32jA-W%29z%3A%60v%3ENWs%28F%24hDU%22V%2FTrW%21nt%5DH+N%7B%

    5D%2C%7D9%28wN%258T3%3CXI%2AMHd%27Y%5F%24kQw%21Z%7BCAQ+F6jSCbbT%26%23U%27ffox3vl%2C4%29WFbVR+TC%5E%2

    3sCDL%7B%7Et%2A+t%3F-Dr%5Dkx%40CR0%23m%3D%5EUg9%2A3rcKVpb%29xx%2BVZP%7E%26P+%7DW%3B9zQYF1%24%5BGE%3C

    %25Td%3Ed-%5E4MIDs%28B%25BYOTdO6%28%25%2Cjw.%7B%60%2Ccox%5F%5E%2AQ%3DUIeS%5Fx+y%23Ul%5D%24i2UE%3D%21

    6y%7D%3F%3EM%3A%29B1%7DP8HZOgH%7BeW%5E-OAED%2F%5EASh%7CQ%23N%2B%2BAr%3E%27Y%5FiDOe%261%3E%2AHY%26%2A

    WBoobI2-u9%2FbA%27or%40fTxM9Lz%5FcQ%3Ek%7Eb7rLEa707loh3F%21dUZ6MtNRO%29A%5Em%24Jk9KV%23w3%7Ck%5D%3F%

    2BGo%3F87uhU%5DRtQO%3C%7DpC%21JA%21yO7j%3B%5Bl%28LxJNrp%5DQkU4Dv%7D%3C3%3Esor%22+eO%3Di%5DSHU%26%22-

    +i%2Aa%406%3B%29Y%5E%24w1VD%2Cvb%40%27yZ%5B5uj+%26%7DO3LaL%2B%7E%3CW%27J%7CIwcl%7COL%5F+%7DQ%2CSiB%3

    EIV%29%3CX%7Cpi%3Axsr%3ApO%2C%3D%3Cxqo%23m39%3B%7C5YcU%3E%5F%26vtVPtKY7oXL2RsE%222fd3"} }

    } } } {elem {elem {text "1900"} } {elem {elem {text "1"} } {elem {text "Google"} } {el

    em {text "1600 AMPHITHEATRE PARKWAY"} } {elem {text "MOUNTAIN VIEW"} } {elem {text "SANTA CLARA"} } {elem {text "CA"} } {elem {text "94043-1352"} } {elem {text "US"} } {e

    lem {text "37.423337"} } {elem {text "-122.083403"} }

    {elem {text "ADDRESS"} } {elem {text "9192"} } {

    elem {elem {text "119"} } {elem {text "198"} } {elem

    {text "9"} } {elem {text "style5"} } {elem {text "http://web.

    openapi.mapquest.com:80/oapi/transaction?transaction=mapimage&datalen=1428&data=c4cbuHWX%23f

    E%2A%234%3F%60%3C0HMLTKAq%3CG%3FW%5D-%60%2C%7B%22d3%60%27q%3D%22r%3ExRWs%5E%2B%25B%2AR%40%5D26LjS00Z

    %5E%3C%2FsA7%5Bq%3A%7C%5E%5DN5+69M%3DzcWWd%7DSb%24NHLcqr0JOBkNTwuI5%25%5BYgPW%23i%23%278%7C%7Da%5EGI

    %7CmVI%25%7BBe%21%3EKC%40%23N%7Caha9S60QRAj%27%60Un0gLw%2Fod%2BMZXTP%24bJi%3Eq2T%7ELHAI%40%3E%605%2B

    %28%3DF%26%24U6e%2BYq9xC4zD%3DEw%5B%22%27%2Fs%2C%3CU%26f.GsDx%40qML%2AA%27%2Ac%2CY%25utrZc%29%5E%289

    Jw%24kT%29gB54%7BSy9%3Fzfl%5FEMR-%3FW%5B+j3Jx+x%27ip%28p%21YExtBAT+pI6%5EQbjK%21K%23Kh%26e%21%60%3C%

    7C%7D3K%7Dc%3C%7BqW%40X%3Bys%3CiWv%7B%2CHZ8zKS3cJ%2B%2FQ%25kfaWQMUWz+dl%25%25%23QG%2Cs%26%28LQ0trz%5

    D%5BJtzcg%7E3%23%27l6n87T5if.Uz%3D5nA%29iwJ%2F%29wqO%23%7C%22P%2B%23h%7EK5%60%7B%3Dwg8P%7CM%2AX.KeZF

    S%22oVV7aJ%2AO5TMzv%60%25%2CRm6%2CE%3A%24oQ+%7BC3DvOW%2CKz%60SjB%2BhG2%24C%7DLm%24U%3F%3BwK%60.p%22M

    5P54PI%24%7Bg%2AM%5BC%21%5DG%60x%3Ca%60S%27%5F%60GfRN+Lt6Foq%7D%3FX%2AJj%29DkP%3F%5Fz%7Cfewx%3E%3Aw%

    3Bje%26s%7D8WJBdK%7ER0%3EBh%27Z13N4L3tm%22%3CP1%3D%26%5E%24wO%7CI%29g+Q%25aD%3BnNx%40y%2FZj%60QC0%7E

    noF%3D%22G2OTisEw%5BJt%254%3DFdEm7%2CSK1CHI%2BVzG4dh%3B1wx-oKjH%21MB%7BQi4qaX%3ASMXxi%210b4AyF%40%29

    vJ%40%3C%21%3DD%2BrTpWj%24SVlmB%5D%3AgHpRWS%7E%7E-s%5DZR%3A%3EB%23qcSzId%5DR.Fj%25h-%3Fe%26mG%280o%3

    D%3CFdYyU%2FFb%5DyM%3CC%2AQ7v%25mAqd%23O%22%27%40E%7B6Sk%60%229ou%3DQt%2C4r7kiY%24drxloJ9y%40.%2A2gQ

    %29HU%5Dvs%29v4%22r%5E9Ve9T%3E+ZZ%3Fkt%2FRJEd%5DH%2A%7BOUYO%5EJ%7Ccl%29ea%60MHEBTbL%21%28MQ8Zj-%3A%7

    D%60Zwi2z%2A5653"} } } } } {elem {elem {text "342"} } {elem {text "594"} } {elem {text "4"} } {el

    em {text "7"} } {elem {text "37.396398"} } {elem {text "-122.063516"} } {elem {text "style5"} } {elem {text "http://web.openapi.mapquest.com:80/oapi/transaction?transaction=mapimage&datalen=183&

    #38;data=61a4++%3AYTm%7Df%25%281yd6sp%29%2A6D%27OduQz%29cnG%21%5F%40Cp%28%7E5+%7B-c%7C%23pFfy6%60g5v

    sSWEgQ%7C+%3F%26c%28%23%7EJr.O%5B%2Bh%5EMT%3E%7EpF%3EvV%5F%3EiT1iXBv%3EnP7%294zpz%26kxXfcb35"} } {elem {text "46436baa-02bf-0001-02b7-7d8a-da2cba00010c"} } {ele

    m {elem {elem {text "367"} } {elem {text "257"} } {e

    mptyelem } {emptyelem } } {elem {elem {text "246"} } {elem {text "85"} } {emptyelem } {emptyelem } } }

    } {elem {elem {elem {text "1"} } {elem

    {text "Start out going WEST on W EL CAMINO REAL/CA-82 N toward S MATHILDA AVE."} } {elem {text "204"} } {elem {text "1.77"} } {elem {elem {text "119"} } {elem {text "198"} } {elem {text

    "6"} } {elem {text "style5"} } {elem {text "http://web.opena

    pi.mapquest.com:80/oapi/transaction?transaction=mapimage&datalen=1622&data=a13bVVM%400DNK%40

    FG%23%29QxIt%2F%2BMk%22Z0incwJ2%2CSb%262lz%40r%3DXmD%7D0%7Bm62%29PNr8%40%29wTE2%7CG-n%26hm2%40Dwrf%5

    DX2%7D50Q%2C.Xvc%3Cp8%21%5Ehn%26RTrq%29yK%22HNIt.H.DDc%21OHj%2Bh%29q726%5D%60w%24%5D%3D47r%25OXuoa4T

    KOGvpZ%2Fw%2C%7C%29KD1Atz%5FdL1Q%26tw%60GTb3%5EA%7CX%3A1+W%7DgSt%3F%2B%28%7Bt%29%2CJp%3D7WbkDT4%3F%7

    CT71F1L%5F%5Bq%2B%7B%229lq8WP%2C7%5Fp%26SfF%27eN5+t%26ibqK%2B4pSqyaS%24t%40%5D93Z%60%2B%26%2AE%26wWU

    XMHcx%25G%3Cgm+UeXLs%24k%2F%3Bf3%29%5Fquq8tpI8w3%28MPeKT%29%24o2%27J%2A+w%23%23%3EQ3hid%2C%2Cz-8UD%2

    2%234%24%3A%24%60CJ%3BV+%2C%7E%25qr8tl5I%3AZRHrk%3Aukq%24%21k+WqXG+qYq%3C%27u%29%3F%5E%3AlI%3D%3AlI-

    %251T%5Fa%2F%60x3Qs%3A%7E%3E%7D7%3A%5Fah%247%28-5.2%3BQy%25i6%29%2COU%7Ci%5E6w%3FsObX%3D%23Qd%5ET8hm

    %7DEc%5F%2AIphdV%2Ft%3Apy%28j%7CokAG1.7uUt%2B%25%26%7DqN%2F%40Q%26b09kTkeuNkoSJ%5DR5%7E%60ZV1HnQAInc

    RvRe%3E7GXW%22e%28kx%2B4MS%60%7CkQH2Hsm%26r64%7E6bsZ%22Ij.HW.29%5F%3E%40%3B%22vN753+%2BcEDZ%3B%3Ae%7

    E%5B%40ssmA%5E8%27I%2B%7B%3DPYy%2C%2C%7E%222r%7B-BQ%60Z%3E%7Dq%3E0a%3A%3Cx8LDZ3%22%5BaATL%5Eht%29y%7

    Dg%7EA80%5Bv2H4%5B%40G%7Ep0Q%3DBpW%2F%23L%2B.cg%5DY%27%24%3Bb%2B+W%3C%5DvD%2BK%5D%26%60%2FGw4K%28r6%

    7DI%21orxT%24%5Dy%24Gb%3D%21acnZDa%2A%5EmtVi%7DmGxJs%2F%60eJc%2FI1G%3B7%2F%2F%40ttw%2F%3B7%295F%27%3

    AJmmNLX%24%264%22-S0HF%26%5F%5FU4%28bE-xnxTv%228fx%22+nCiS-1%2BxX%7EaV%60y%7C%5F%3A.%3D%7Cg0J-%2BZ%3

    B%40wb%3BB6%28%26%5DTBHsmIrNavq%21pIo%2C%7BYi%2F8kHdIGs%29%21%3A6%5BeuG%7B8-Ptoh%24F%26m1%5BOx%2Fsf%

    2FAk%7B%3FT%28NCzTr.aOHXTj%27i4RDE5%3Em%21%3F+hutrI%5D%3ANk%29%2Bo%7B%5B%2FA4YC%7Efy%7D%5F%3BO5LXV3K

    J%5F%7C%2A%7CY%5D%24%21fRtu0SbrNC3J%23L2Cy%214Q%25v%2597kn%25%23iVnU%7B%7Bkj%7E%25%24va%294zpz%266xX

    f4c6e"} } } } {elem {elem {text "2"} } {elem {text "Merge onto CA-85 N."} } {elem {text "132"} } {elem {text "1.99"} } {elem {elem {text "119"} } {elem {text "198"} } {elem {text "6"} } {elem {te

    xt "style5"} } {elem {text "http://web.openapi.mapquest.com:80/oapi/transaction

    ?transaction=mapimage&datalen=1562&data=4a03i8kL%40jDt4%5FJxp%2F%7C%23cW%7D8G%40pJG%2C%28%24

    SUY%3C9%2CBdK%2Fm%5E%5F5%3A%23OktCWc%3F%23%29%29ar7%2Aa%5Forqp%24pr9%3CT7%3D0P%3E-vGh%26c9wT3%2CC%25

    jGA%7D8B%21%5FQY1%22%2AGZ%28hu%21DX%5DxuBVv%26%403gd%3B%21%7Ck+Eg9y%2FJ%3B1%7C%26jj%7CIb%60%40%3CQ%3

    FD%7BN%2A%21a%3D%21P%2C%22v%21%3E.%24%3EZkb5%7C9%26iY%3F%3B%2BB8.auHSQO%40%5DR9Z%60%22W%2A%25Aw%23%5

    Db1%3CrbPcm%25%256Re%3EcQ%5DqQKVu1%7Dy%7Dn4UFOp72%3ESEO%3B%22%3AFtI%221%60z%2Bx%2BYC%7Dhi5%2B%2Czt%7

    E.D%2C%234%24%3A%24%60xUGB%7B%2C%7E%25qc%5Btl5I%3AZRHrk%3Aukq%24%21k+WqXG+qYq%3C%27u%29%3F%5E%3AlI%3

    D%3AlI-%251T%5Fa%2F%60x3Qs%3A%7E%3E%7D7%3A%5Fah%247%28-5.2%3BQy%25i6%29%2COU%7Ci%5E6w%3FsObX%3D%23Qd

    %5ET8hm%7DEa%3FIIphdV%2Ft%3Ap%3F6mn%5EkAG1.7uUt%2B%25%26%7DqN%2F%40Q%26b09yTkeuNkoSJ%5DR5%7E%60ZV1Hn

    QAIncRv%5Ek%217eXW%22e%28kx78%29Ui%7CkQH2Hsm%26r64%7E6bsZ%22Ij.HWI29%5F%3E%40%3B%22vN753+%2BcEDZ%3B%

    3Ae%7E%5B%40ssmA%5E8%27I%2B%7B%3DPYy%2C%2C%7E%222r%7B-BQ%60Z%3E%7Dq%3E0a%3A%3Cx8LDZ3%22%5BaATL%5Eht%

    29y%7Dg%7EA80%5Bv2H4%5B%40G%7Ep0Q%3DBpW%2F%23L%2B.cg%5DY%27%24%3Bb%2B+W%3C%5DvD%2BK%5D%26%60%2FGw4K%

    28r6%7DI%21orxT%24%5Dy%24Gb%3D%21acnZDa%2A%5EmtVi%7DmGxJs%2F%60eJc%2FI1G%3B7%2F%2F%40ttw%2F%3B7%295F

    %27%3AJmmNLX%24%264%22-S0HF%26%5F%5FU4%28bE-xnxTv%228fx%22+nCiS-1%2BxX%7EaV%60y%7C%5F%3A.%3D%7Cg0J-%

    2BZ%3B%40wb%3BB6%28%26%5DTBHsmIrNavq%21pIo%2C%7BYi%2F8kHdIGs%29%21%3A6%5BeuG%7B8-Ptoh%24F%26m1%5BOx%

    2Fsf%2FAk%7B%3FT%28NCzTr.aOHXTj%27i4RDE5%3Em%21%3F+hutrI%5D%3ANk%29%2Bo%7B%5B%2FA4YC%7Efy%7D%5F%3BO5

    LXV3KJ%5F%7C%2A%7CY%5D%24%21fRtu0SbrNC3J%23L2Cy%214Q%25v%2597kn%25%23iVnU%7B%7Bkj%7E%25%24va%294zpz%

    266xXfc6ab"} } } } {elem {elem {text "3"} } {elem {text "Merge onto US-101 N via EXIT 24B toward SAN FRANCISCO."} } {el

    em {text "108"} } {elem {text "1.60"} } {elem {elem {text "119"} } {elem {text "198"} } {elem

    {text "6"} } {elem {text "style5"} } {elem {text "http://web.

    openapi.mapquest.com:80/oapi/transaction?transaction=mapimage&datalen=1759&data=bc66Yg%7C%7C

    u5BGMxg%25%40KJO4Ae.H%5F%7BBSHXYoF8wooGmsLxT%26%22%5EX%60%3A%3B%28%60L%28%5F%279AE%5D%40%60l%29%2BYn

    %5D%3DbwqERJWkX%7D%5FkSrb%5F+L%60%2CSeO%27s%29G%2Cv%22Vg%60XF%24HNVyJv%3Dv%5B.7%28Y%3C%24%600C4JM6s%

    26TIeFGj%23t%3AWr0VF%2B%40UZd5p%3CR%22HTvsUD0%3D%40XX%29Q%5E%7By%3Exw%3B+qn%25gv8KNLQiEsP6k%5EO%60mV

    Af%3D%7EHK%235tE8r%5D%609e%2Fmo%7Duo%5EJ7dw%24uWj%7Do%279%7BWjD6BTuS-BXH%5BwtV%40F0%7E2%3A%3Bc.Mqlje

    SmZw8ZBqGVni2FzDRs.TU9HZ8E%5D%5E2%2A%3Ax%5B%5F4%2A%7EY%3Cc6F%29%24GKRSPD1%2C%3CvViPAt%40w%26o3t%23kG

    %2A%7DNgc%7Cx7%5BV%214XxN1%60p%2BJy%24fgR-%3CU%5F%5D%215Uae%2C%3F%5F%5B%5BVxG%3CirtbI%5D%3Ag%25%26%2

    C%7Edq%26%2A.%28ZStAAp0%3BdTB%7B%27TP%27ayu%2B9spaSENtx2f%22%27cv%5DTFrD.%2FO6i%2F%3A%5Dq67%3F%7Dgpf

    %27%3B%21p%5FdSY%23V9Um3Q%3D%3BQeGw%3Emt%5FUd%2F0%3CvJ2s6%23wVo3t%2CBh%5Fjq%29qg%5Fl%22%2Bx+%40fmaF%

    2Fggd74gj%28%7BySI%7Cz%3F6W%3FViyQFR%3BYK%3F0S%27BWLeI9y2EJ%25m%24%7D6%40Em%3EJdeB%27kN2%3B%7Dc%5B%4

    0l%25%25aHo%3B1%40%7Ds%3CD6z-6%27iwSH%6049w%7C%24kARBk9Wy%2BkQ%3EinFdb%22309QQ4X%3B%2CLdW+ok%5D%29xe

    b4d9cJmqr3%24F926%2B%29mr%3C%7E.H%3B%2A%7EJ%26L%2CWxJ%28%5FjG%25bn%3AK%23%26DDfs13rA%5D%2CyLw%2A%2Av

    N%5E%29QESLkLZzIBcc%5B%2ApF.%7ExW6eraG1%22UeE%2F3e%21Wbop%29yg%29E%24%5DthmiHhkjHz%3AT%7D%7BhUwMZFdJ

    hJS%3Cl%3DL%28%267R%60%2A%23%24YLJmVU%5B4Aw%3Cz2aVZEnj.VX%3Az%2F9s%7CK%7Ei%23t%2CcUu5-C-dGN%23y%7C%3

    B1%7DP8JZJEnBT%2ABx%28BAD3B%40I%28%5B%5EvG%23skGFDEF4IxH%3F%3FHatP%24GrR%3ApHh%2Fos%22tl8Ufujd%2AFx%

    25%2Fo%28UxTA%23BY3K%5Bn7IYMjOa%5F%2AB%2AJ.C%3BdnhKA%5ExmJA%3A2h%5Budp%3Ch1sudQc%28elp%22%3Fh%60FX%7

    D8%3CZmW%21yY%7CfL%5Bl%28km%5EQIv%5Bm%27GC%60o1.1YOsIQ%21eYBMb3%3By%40%2A-H4N3Zi2DYm%21fIP%60WRbK6S%

    25%5B5uj+%26%7DO3LaL%2B%7E%3CW%27J%7CIwcl%7COL%5F+%7DQ%2CSiB%3EIV%29%3CX%7Cpi%3Axsr%3ApO%2C%3D%3Cxqo

    %23m39%3B%7C5YcU%3E%5F%26vtVPtKY7oXL2RsE%22343e"} } } } {elem {elem {text "4"} } {elem {text "Take the AMPHITHEATRE PARKWAY exi

    t, EXIT 400A, toward LANDING DRIVE."} } {elem {text "30"} } {elem {text "0.26"} } {elem {elem {text "119"} }

    {elem {text "198"} } {elem {text "6"} } {elem {text "style5

    "} } {elem {text "http://web.openapi.mapquest.com:80/oapi/transaction?transacti

    on=mapimage&datalen=1342&data=36b6xNdQ67n%60Q%5EBwd%2A0ZdhNfZihv8oe+Qi.%60%5Dv%5FNdBtC4%7C%7

    E%29%28%26f%5EYA%7DaIVXaAcC7chI9co%25oJXL.B.%29%23%23%26%27X%2111%2B%3B%237tYB%27tCZ%5D%25sQeQ0r%2Cq

    %5F8%7CE-xEI%7EF%22%40T%7EGz%3Ev%22%26%2FVi03Qk%3A8j%60dtIEGmCj%5DC%23z7Wjs30R9%2Acg%3Bu-DHnE%3F9%7D

    D%3CN%5B%3C%3CB%7Epi4q%3EGN%5BF4HNbTGR%5Fr%7EO+Hv+%3D%26x1x%3AfQ%21uQ13BWvJ2s6%23wVo3t%2CBh%5Fjq%29q

    g%5Fl%22%2Bx+%40fmaF%2Fggd74gj%28%7BySI%7Cz%3F6W%3FViyQFR%3BYK%3F0S%27BWLeI9y2EJ%25m%24%7D6%40Em%3EJ

    deB%27kN2%3B%7Dc%5B%40l%25%27a%24P%3B1%40%7Ds%3CD6z+%5F%60XwSH%6049w%7C%24kARBk9Wy%2BkQ%3Einwdb%2230

    9QQ4X%3B%2CLdW+ok%5D%29xeb4d9c%2Ac%7C%3D3%24F926%2B%29%2A%3DM%7C.H%3B%2A%7EJ%26L%2CWxJ%28%5FjG%25bn%

    3AK%23%26MDfs13rA%5D%2CyLw%2A%2AvN%5E%29QESLkLZzIBcc%5B%2ApF.%7ExW6eraG1%22UeE%2F3e%21Wbop%29yg%29E%

    24%5DthmiHhkjHz%3AT%7D%7BhUwMZFdJhJS%3Cl%3DL%28%267R%60%2A%23%24YLJmVU%5B4Aw%3Cz2aVZEnj.VX%3Az%2F9s%

    7CK%7Ei%23t%2CcUu5-C-dGN%23y%7C%3B1%7DP8JZJEnBT%2ABx%28BAD3B%40I%28%5B%5EvG%23skGFDEF4IxH%3F%3FHatP%

    24GrR%3ApHh%2Fos%22tl8Ufujd%2AFx%25%2Fo%28UxTA%23BY3K%5Bn7IYMjOa%5F%2AB%2AJ.C%3BdnhKA%5ExmJA%3A2h%5B

    udp%3Ch1sudQc%28elp%22%3Fh%60FX%7D8%3CZmW%21yY%7CfL%5Bl%28km%5EQIv%5Bm%27GC%60o1.1YOsIQ%21eYBMb3%3By

    %40%2A-H4N3Zi2DYm%21fIP%60WRbK6S%25%5B5uj+%26%7DO3LaL%2B%7E%3CW%27J%7CIwcl%7COL%5F+%7DQ%2CSiB%3EIV%2

    9%3CX%7Cpi%3Axsr%3ApO%2C%3D%3Cxqo%23m39%3B%7C5YcU%3E%5F%26vtVPtKY7oXL2RsE%22c34a"} } } } {elem {elem {text "5"} } {elem {text "

    Turn SLIGHT RIGHT onto AMPHITHEATRE PKWY."} } {elem {text "66"} } {elem {text "0.46"} } {elem {elem {text "119"} } {elem {text "198"} } {elem {text "6"} } {elem {text "

    style5"} } {elem {text "http://web.openapi.mapquest.com:80/oapi/transaction?tra

    nsaction=mapimage&datalen=1444&data=b304i%3E6K%25Wt%5E-%21TUWWjn%28%3D%60Hr-%3A4%3A%2760w6%3

    Cp%24%5DY%21e%7CB%7Bizxu%2ATq%23h%7D8e-xmZ%3F8lS%2BS%5DM5%28anjMmoRi%3FH%25Vosg%22%21EW-IV%3FUdnX%24

    H+%25dKRNoCN4f%5D%3A.vE%3Axnuz%7E%25n%21W6CK%3C7N%2B%3D%3F-%3Fs%23v%22eDpXcB2%3EN0%2F%2C%24fOQ1zV0W%

    3E%3E%7EYPQ%22M%60vlaVsT-%25Z%60%7C%2F%3F%25%21ui%7BGkLAs%7D%3BdTgttqV6hx%28%2C%3Es3009%22cx2iztc5sF

    %3E364%2FE%606e%28auWu%3EGgoF42%2AaF%7DSYn%7EP%21%223Q%3D%3BQeGT7c%3B%5FUd%2Fn%2BvJ2s6%23wVo3t%2CBh%

    5Fjq%29qg%5Fl%22%2Bx+%40fmaF%2Fggd74gj%28%7BySI%7Cz%3F6W%3FViyQFR%3BYK%3F0S%27BWLeI9y2EJ%25m%24%7D6%

    40Em%3EJdeB%27kN2%3B%7Dc%5B%40l%25%27%7DH8%7B1%40%7Ds%3CD6Q%2Af%60XwSH%6049w%7C%24kARBk9Wy%2BkQ%3Ein

    udb%22309QQ4X%3B%2CLdW+ok%5D%29xeb4d9%3B%2A%21O%3D3%24F926%2B%29J%7D%2BO.H%3B%2A%7EJ%26L%2CWxJ%28%5F

    jG%25bn%3AK%23%26WDfs13rA%5D%2CyLw%2A%2AvN%5E%29QESLkLZzIBcc%5B%2ApF.%7ExW6eraG1%22UeE%2F3e%21Wbop%2

    9yg%29E%24%5DthmiHhkjHz%3AT%7D%7BhUwMZFdJhJS%3Cl%3DL%28%267R%60%2A%23%24YLJmVU%5B4Aw%3Cz2aVZEnj.VX%3

    Az%2F9s%7CK%7Ei%23t%2CcUu5-C-dGN%23y%7C%3B1%7DP8JZJEnBT%2ABx%28BAD3B%40I%28%5B%5EvG%23skGFDEF4IxH%3F

    %3FHatP%24GrR%3ApHh%2Fos%22tl8Ufujd%2AFx%25%2Fo%28UxTA%23BY3K%5Bn7IYMjOa%5F%2AB%2AJ.C%3BdnhKA%5ExmJA

    %3A2h%5Budp%3Ch1sudQc%28elp%22%3Fh%60FX%7D8%3CZmW%21yY%7CfL%5Bl%28km%5EQIv%5Bm%27GC%60o1.1YOsIQ%21eY

    BMb3%3By%40%2A-H4N3Zi2DYm%21fIP%60WRbK6S%25%5B5uj+%26%7DO3LaL%2B%7E%3CW%27J%7CIwcl%7COL%5F+%7DQ%2CSi

    B%3EIV%29%3CX%7Cpi%3Axsr%3ApO%2C%3D%3Cxqo%23m39%3B%7C5YcU%3E%5F%26vtVPtKY7oXL2RsE%22ac26"} } } } {elem {text "540"} } {elem {text "6.08"} } } } } {text "');rn"}

    >

    {}

    127.0.0.1 – – [10/May/2007:11:59:44 Pacific Daylight Time] "GET /my_map HTTP/1.1" 404 570

    – -> /my_map

  2. Bill Saunders says:

    I am trying to do some work using Mapquest. To make a long story short, I use Ruby all the time and all they sent me was standard MS stuff. I tried to download your stuff and I got an error…no access…how do I get…

    Bill

  3. Bill Saunders says:

    Ok, I have been working on this for almost a week with no success.

    Nothing works.

    Help!!!!

Leave a Reply to Bill SaundersCancel reply