MapQuest Developer Blog

  • Embedded Open Map Icon Voting Results!

    Thanks all for helping us with our open.mapquest.* sites embedded map icon survey!  We had 74 respondents from all over the world who completed the survey!  Here's the breakdown by country: Argentina (1), Austria (1), Belgium (3), Brazil (1), Canada (1), Chile (1), Denmark (2), Finland (1), France (2), Germany (15), Hungary (1), Indonesia (1), Ireland (3), Italy (2), Japan (1), Netherlands (1), Norway (2), Poland (1), Spain (1), Switzerland (2), UK (12), US (16), and Unknown (3). We had some clear "winners" for the icon selections and had some very good additional requests as well! Here's the textual breakdown in a pretty chart format showing the top selections.  Some of the additional map icon requests were quite interesting!  Take a gander at a portion of the additional icon requests that we collected: benches, better pedestrian streets, prominent footways, bicycle parking, bike shop, charity shops, coffee shops, confectionery, diving, drinking water (drinking fountain), fire hydrant, nodes of the cycle network, places of worship, police station, power generators, public washrooms, recreational/hiking/biking paths and trails, schools, social media, stadium, toilets, tourist attractions, towers, tram stop, bus stop, UFO sighting, wind turbines As we expand our existing map styles to include the new icons, I'm sure we'll be able to make updates to bring in a lot of the requests listed above too!  However, not so sure that we'll be able to do the UFO sightings because there doesn't seem to be any in OSM yet, according to the Taginfo site! Thanks again for voting and here's a link to our Developer Network showing all the latest news on MapQuest's Open Source Project!
  • Nominatim, Potlach2 and Tiger Edited Map on Developer Network

    As per usual I have a ton of updates, and what seems to be very little time in which to write it all down.  Therefore, at a breakneck pace, and with a casual disregard for grammer and spulling.. here we go: For the record, OSM = OpenStreetMap - read about it on the first draft version of our MapQuest Guide to OpenStreetMap.

    Directions Service Update:

    Since last I blogged, we've added Oceania and India to the routing database - so you should be able to get directions in those areas. The directions data on the Open sites and on the developer web service now updates daily! (Hurrah!).   That seemed very short to write, and doesn't quite convey the monumental effort involved in getting the daily updates working and stable.  If you are not yet familiar with the OSM-powered directions service, it can be found at http://open.mapquestapi.com/directions.
    [caption id="attachment_657" align="alignleft" width="270" caption="directions from Perth to Sydney"]Perth to Sydney[/caption] [caption id="attachment_656" align="alignright" width="270" caption="multi-point route across India"]multi-piont route across India [/caption]

    Nomimatim Search Service:

    Nominatim is the main search web service used by OSM and developed by Brian Quinion.  Since pretty much anyone who wants to search OSM uses Nominatim, and the copy hosted on the OSM website needs to have usage limits, we thought it would be helpful to stand up a copy too, to share some of the load.  There are no usage limits at this time.  There is no need for keys or registration, and works exactly the same way as the one on OSM (because the point is that it IS the same as the one on OSM! Open Source FTW!) The Nominatim service can be found at http://open.mapquestapi.com/nominatim. It works just like any other web service - querystring parameters go in, and results come out in JSON or XML. If you don't specify a format, you actually get a rather handy little search interface using openLayers.  Also, like the other web services we host, going to the base URL displays the documentation - so if ever you get lost figuring out how to use it, just back up the address until documentation appears.

    Potlatch 2 OSM Map Editor (Beta. Pre-Beta. More sorta Alpha.):

    We are now hosting a copy of Potlatch 2, the new (still very beta) OSM Map Editor tool as well.  The tool itself can be found at http://open.mapquestapi.com/dataedit/.  We've created a primer to give some basic help, found here on our Developer Network. Potlatch 2 is the new version of the flash-based map editing tool on OSM.  Anyone who is familiar with OSM and with editing the map, is probably familiar with Potlatch - it's what comes up when you click the edit button above the map on OSM, and then lets you draw or move roads, add points of interest, and generally add to, or edit, the map itself.  As a side note (because I find it fascinating) Richard Fairhurst, the creator, called it Potlatch after the indian gift-giving ceremony. The new one has been (and still is) in development for quite some time, but is starting to get close to "prime time."  It was featured last week on the Project Of the Week and caused much great feedback that the developers are applying, even as we speak. [caption id="attachment_654" align="aligncenter" width="500" caption="Potlach 2 Editor"]Potlatch 2 Editor[/caption] It is important to understand that this editing tool is still very much under development, but it IS functional and usable.  It will be upgraded, enhanced, fleshed out, and have increasing documentation as we, and the community, contribute to its growth. Once again, its a completely open source tool, released under my absolutely favourite license.  No I'm not telling, go find it.  Anyone can contribute to its growth, or install it themselves on their own sites. For those who are new, and have never edited before, I feel I should ask for patience when it comes to signing up, and getting the editor registered.  Don't panic, here's a quick cheat sheet of what's going on: 1) In order to edit, you need to have an OSM account.  You can create one ahead of time by going here: https://www.openstreetmap.org/user/new. 2) When you create that account, it will send you an email, that you must then confirm by clicking on the link in the email they will send to you.  When you confirm, it will open a page of account settings.  Don't worry - you don't have to do anything here (although its really cool if you do). 3) When you sign into the Potlatch 2 editor for the first time, its going to give you a link that sends you back to the OSM website again - Log in on the OSM site with the name/password you just created, and OSM will ask you to confirm that you are OK with Potlatch 2 being able to do things for you.  Once you confirm that, you should be good to go. 4) Congratulations! you are now part of the OSM community, and empowered to edit the map! I highly recommend reading the primer, and also checking out the map features page on the OSM Wiki.

    TIGER Edited Map Viewer:

    In 2007 the free US government map data (AKA TIGER) was imported into OSM.  Unfortunately that was a large amount of data, and a lot of it is inaccurate. Basically this map shows how much of the US map is unchanged from that original TIGER import in 2007 in red, and how much of the map has been touched by someone, since, in green.  Our goal, as members of the OSM community, is to turn all the red roads into green roads. You can read more about the project here.  You can go here to see the TIGER Edited Map Viewer A big thanks to Matt Amos who originally built this TIGER tool and has helped us reinstate it.
    TIGER Edited Map viewer
    TIGER Edited Map viewer
    If you use the Potlatch 2 editor, you can also turn the TIGER Edited Map on as a background layer to help you know which roads need attention.  There's a few very simple things anyone can do to help clean up the map in their neighbourhood!
    • Turn on the aerial imagery background and make sure the streets are actually aligned with reality.
    • Un-abbreviate the street names (OSM likes fill street names - south instead of S. or Road instead of Rd).
    • Check that the road classification is good.  Many, many roads were imported with the tag "highway=residential" which is meant for streets full of houses (like suburbia) - when instead many of them should be "highway=tertiary" (larger streets that connect suburban developments for example) or "highway=service" and "service=alley" (this problem is especially rampant in city areas where all the alleys that run down the backs of the houses are incorrectly tagged).
    • For roads that end in turning circles, you can select the last point that makes up drawing the road, make sure its positioned in the center of the circle shown on the aerial imagery, and add the tag of "highway=turning_circle".
    • Once you think the road is good, then find the tag on it that says "tiger:reviewed=no" and change it to say 'Yes'...because you've just reviewed it!
    [caption id="attachment_659" align="alignleft" width="256" caption="Unfixed alleys from TIGER import"][/caption] [caption id="attachment_655" align="alignright" width="256" caption="Alleys after they've been fixed"]Alleys after they've been fixed[/caption]
    Well that's all I've got for now.  Thanks to everyone involved in getting these things together and out, including Brian Quinion, Andy Allan, Matt Amos, Casey Doerschuk, Greg Knisely, Caryn Hughes, Artem Pavlenko, Bob Rudi, Joe Barbara, Hurricane Coast, Thea Clay, Kumiko Yamazaki, Duane Gearhart, Richard Fairhurst, Cameron Thomas, Tom Hughes, Jessica Feaster, Richard Weait, and Dave Stubbs amongst others.  As usual when I mention names, beat me up if I forgot yours, and I'll buy you a frosty beverage as recompense.
  • Voting Time: Pick Your Favorite Icons

    Opinions count - especially yours!  We're adding new icons to our international Open MapQuest maps (powered by OpenStreetMap) and we want to hear what icons you want to see! Check out this sample map of Whitehall Theatre in London for a sample of what our maps look like now.  Here's a sample map from OpenStreetMap centered on Whitehall Theatre and the richness of icons on the OSM map. Take the survey here - it'll be open for feedback until October 19th, 2010.
  • Welcome to OpenStreetMap

    Dear MapQuest readers, today, we have a very special treat for you - a guest blog post by Richard Weait, a long-time OpenStreetMap and Open Source advocate. Enjoy the post and thanks for reading!

    Welcome to the OpenStreetMap Community!

    What is OpenStreetMap? OpenStreetMap (OSM) is a co-operative worldwide community of citizen-mappers, sharing knowledge of their surroundings with everybody else. OSM contributors combine their knowledge to be shared by everyone out of their own self-interest or from an altruistic sense of community. But they also participate because it is a lot of fun. It's simpler than you might think to become a member of the OSM community and to contribute to the world map of everything. What is the best thing that you can do for OSM? Add your neighborhood information! The park you played in as a kid, your favorite local restaurant, even the hiking trail you enjoy with your family, these are all important potential contributions to OpenStreetMap. You are the expert in your neighborhood and you see it every day. When you put information about your neighborhood into OSM you share it with everybody else. When your neighborhood changes, you can update the information in OSM.  Or, when a street is newly made a one-way, you can update that information for travelers. When a new school is constructed you can add it to OSM for folks moving to your town. What happens to my neighborhood information after I put it in OSM? Lots of things will happen to your neighborhood information after you begin contributing it to OSM. 1. Your contributions become part of OSM immediately! The first thing that you might notice is that something that you have contributed may appear on the OSM web site. You might add a gas station or correct the name of the next street over and you could see it at http://www.openstreetmap.org within a few minutes or hours. 2. You may inspire others. Other OSM contributors may notice your additions if they share an interest in your neighborhood. You might add one park and inspire another person to add in a new park on the other side of town. You might even decide to cooperate with other local mappers to put the local high school sport fields or college buildings in OSM. We call this cooperative mapping event a “mapping party” and they are a great way to meet interesting people and learn more about your neighborhood and OpenStreetMap. [caption id="" align="alignnone" width="600" caption="OpenCycleMap.org"][/caption] 3. Your contributions will be available to specialty applications built on OSM.Larchmont-Patch.com You won't see it directly, but your contributions will be shared from the OpenStreetMap web site to other OSM users around the world. Within hours or days, they will have the latest information about your neighborhood and your information may start to appear on their maps, like Patch.com (image on the left) which shows fewer details on the map, but provides local event information. Or http://www.opencyclemap.org (image below) which shows information of interest to cyclists, like bike lanes and bicycle repair shops. These specialty maps are one of the great things about OSM. They start with the same information from OSM but use it in interesting ways for audiences who require a different kind of map. Perhaps you are a German-speaking tourist, visiting Toronto, Canada, and you want to find a coffee shop that is wheelchair accessible? There's a map for that: WheelMap.org (see below image). When you put wheelchair accessibility information into OSM you share it with the world. 4. And even more. Even more things will happen with your contribution as it is shared among the large and creative community of OSM contributors, developers and users. There are tactile maps for blind users, programs to find the best route from here to there on a bicycle, by foot or on public transit and OSM map images on your local restaurant's take out menu. So How Does One Contribute to OSM? This mini-tutorial will guide you through your first contribution to OSM. It will lead you through the steps to add a fast food restaurant to OSM. In order to follow this example closely, take a look at your neighborhood in OpenStreetMap and see if all of your favorite nearby restaurants are included. Find one that is not already in OSM, visit it and note the details of their location. This visit is important; it's important because this is one of your favorite local restaurants and you want to support them but it is also important from a technical point of view. When you visit the restaurant note their street address. How far are they from the nearest intersection? What is the full name of the place on the sign? Snap a photo to save this information or write it down for later. We created OSM from our own direct observations, not from information on other maps or web sites. Other maps have technical and legal restrictions on what we may do with them. One restriction is that we may not copy from them without permission and that permission is almost always explicitly denied by the terms of use of their web site. If you haven't yet got an account for OpenStreetMap, sign up now using the “sign up” link at the top right of the map. Once you have signed up and confirmed your email address you can log in with the “log in” link. Zoom in very close to the area you wish to edit, then select the “Edit” tab from the tab bar. This will start the Potlatch editor in your browser. There are other OSM editors as well. You'll be asked how you want to save your work and you'll want to “Edit with Save,” so click that option. Now you'll see your area of interest in the Potlatch editing window. In this case we see the intersection of Fisher Mills Road and Scott Road, plus some of the surrounding area. Notice the icons on the lower portion of the editing window? Those provide an easy way to add Tito's Pizza to the map. Drag the “fast food” icon on to the map and drop it north-east of the intersection of Scott and Fisher Mills. Consider using the “restaurant” or “pub” icons rather than “fast_food” if they better describe the restaurant you are adding. Once placed, you'll see the pizza slice icon on the map. If you used “restaurant” or “pub” rather than “fast food” you'll see a different icon. If it is the currently “selected” object in the editor, the icon will be surrounded by a yellow “halo”. If it is not selected, you can select the icon by clicking on it once. Select the new point of interest if it is not currently selected. The fast food preset icon has also pre-filled some information about Tito's pizza for you. OSM uses certain combinations of “keys” and “values” to store information for the map. The "fast food" preset has added these keys and values.
    amenity = fast_food
    name = (type name here)
    This saves you re-typing and mis-typing common keys and values and the presets are clever enough to prompt you for common details to add to the point of interest. Let's follow the prompt and add the name of this pizza place. Click in the “value” field, to the right of the “name” key. Type the name of your pizza place. International characters from the UTF-8 character set are supported, so it is "Tito's" with an apostrophe.  You can also add in the street name and street address with other information by clicking the "+" symbol to get more name/value pairs.  With our restaurant information complete, all that is left at this point is to submit it to OSM. Click the “Save” button in the lower right corner and your contribution will be sent to the OSM servers. You'll be asked for a comment about your changes; you should use these “changeset comments” to summarize your editing session for other mappers. When your upload is complete Potlatch will play a confirmation sound and display a message on screen. Congratulations, you've completed your first edit! Thanks and welcome to the OSM Community! References You might find these links useful: • This mini-tutorial is adapted from one of a series of tutorials for OSM beginners. Find more tutorials here. • Would you like to know about a great book about OpenStreetMap? • OpenStreetMap web siteOpenStreetMap reference material including commonly used tagsOpenStreetMap licensesHow do I credit OSM when I use the data / images?OpenStreetMap help forumSign up for an OSM newcomer mailing list Credits Map images and data © 2010 CCBYSA OpenStreetMap and contributors. Photo and article © 2010 CCBYSA R. Weait. Thank you, Tito's, for a delicious lunch. Thank you Patch.com, OpenCycleMap.org, WheelMap.org and OpenStreetMap.org for example screen shots. Thank you OSM community.
  • Elevation Web Service has Launched!

    Do you enjoy walking or biking to your destination? If so, the Elevation Web Service is a particularly wonderful tool that allows the user to visualize the terrain ahead. Best used in conjunction with our Directions Service, the options are endless.  You'll be able to create elevation charts and profiles using optimal routes for drivers, pedestrians and cyclists, draggable routes for those who request highly customizable routes, and others using MapQuest's advanced routing combinations. Here's an example using a route from Gunnison, UT to Moab, UT. In order to generate this from the Directions Service, we request the following (refer back to the Advanced Routing documentation if you need additional assistance): http://www.mapquestapi.com/directions/v1/route?key=YOUR_KEY_HERE&from=gunnison,ut&to=moab,ut Doing so will provide the necessary collection of lat/long pairs to be used for building the elevation URL request. So with the lat/long pairs in hand, the elevation chart and profile are able to be generated using the appropriate elevation URL parameters. Seen below is the request and result from our Elevation Service: http://platform.beta.mapquest.com/elevation/v1/getElevationProfile?key=YOUR_KEY_HERE&latLngCollection=un~mFhjniT?bD??v{Q~NhnIxoB|iEdbCtsFea@??|CilKrvEmtYan@qeBh_CcyEnq@k{GlpB}]deAukA~vCsC|lB_aAxjGy|Kjm@u`MunAqqHg_Gu`P_z@yvQenAerChBwuCsw@egBap@i|N~d@ixIoyAo_Gpx@myCskBmzFb[kgEw_Bk{Lnp@ycG{{@m_GmuAiuCqmCyqYwxCyhChDmpBjq@iGf|@wqDeOexIkmJig[abAm{HfNcwAbwA}`BwCerFxvAcsHj{EovKnb@acKw`CguU??cB{h@??pjKkVroCuw@lfKu}GraIkoC`eDiyD`}Dk_AbjGqfD`iDs`Gnp@m_H|xCgpDbs@_G???{H&shapeFormat=cmp A similar example is also available on our Elevation Service Developer's Guide. Feel free to head over there and give this a test drive. Or if you already have your own data and don't wish to use our Directions Service, that's ok too.  They work just as well and our feelings won't be hurt! Listed below are a few more key points for this service:
    • Customizable elevation chart size
    • Distance values returned in miles or kilometers
    • Shape format represented as float pairs or compressed path string with 5 and 6 digits of precision
    As you might have already expected, we'll be adding more features with each update so stay tuned!
  • Four new OSM sites, Draggable Routes, OSM Section on DevNet, and New Team Member

    New OpenStreetMap based sites localized by country

    We've got localization going on!  Four new Open Beta domains rolled out today: - http://open.mapquest.de - defaults to Germany as the map, and German as the language - http://open.mapquest.fr - centers on France, starts in French - http://open.mapquest.it - shows Italy in Italian - http://open.mapquest.es - tell you what, I'll leave you to guess what this one does You can read more about the new sites over on the Consumer Blog. You can of course change your language setting on these sites, regardless of which one you are on (as described by Deb in this post) and pan the map anywhere in the world.  And, it's powered by Nominatim, so you can search for anything, anywhere from any of the sites.

    New features

    Draggable Routes This release also adds draggable routes to all the Open sites, including the beta http://open.mapquest.co.uk site.  If you hover over the route ribbon after getting directions, you can drag the ribbon to go through different roads than we originally calculated. While you are dragging, you get a tooltip that tells you the time and distance of the new route.  Once you let go, your route is updated.  If you click on the little red dot in your route (it represents where you dragged your route ribbon to, and we call it a "via") an infowindow pops up that allows you to convert it to a stop along your route.
    click, hold, and drag the route ribbon
    More Sharing Options The "Send To" section has been beefed up as we figure out how to get it all working with OSM data.  I personally find these features very useful to have, and I hope others do too:
    • Send to Facebook - You can share your maps & directions on Facebook.  If you haven't already used the awesome ability to save collections of places, you should check out My Maps
    • Send to GPS - You can upload your maps or directions as waypoints and tracks directly to your GPS!
    • Send to Email - Enter multiple email addresses and send your maps and directions to people
    [caption id="attachment_461" align="aligncenter" width="461" caption="The Send To button lets you share your map in different ways"][/caption] So how's THIS for a crazy scenario?
    • Run a route you intend to go mapping down.
    • Use the dragging feature to arrange it down the roads you want to go.
    • Save it to your My Maps section.
    • Use the Link function to get a link to the map and add to your mapping party wiki page.
    • Then send to email, to let other members of the mapping party know which area you intend to tackle.
    • Send to GPS to upload the trail to your GPS device that you go mapping with.
    • After the mapping party is done, the data is uploaded, and the map is updated (remember they update every 15 minutes), come back and share the new map out to your friends on Facebook to show what you did!
    In fact, since I intend to run the first Lancaster, PA  Mapping Party on October 14th, I think I will do EXACTLY that. Improved Search I'd also like to point out that the search results also show a vast improvement over our original launch.  A combination of our growing understanding of how to handle Nominatim results in our interface, combined with tweaks and enhancements by Twain have introduced the following noticeable effects:
    • You should no long get ANY " unable to locate" results that you can't click on to see on the map (if you see any, PLEASE send us feedback at open@mapquest.com and list the search phrase you used)
    • House numbers now show up if they are in the OSM data.
    • Improved understanding of names vs. places when searching (for example, "Pubs in London" was showing The London Pub in Somerset as our first result - Now it actually shows a pub in London!)
    For the developers & cartographers following along at home, we've also updated the map style again.  The awesome folks at Cartifact have provided us with a version of the high quality geoTiffs we use as background images on the furthest-out zoom levels of MapQuest. [caption id="attachment_465" align="aligncenter" width="1024" caption="High Quality geoTiffs added to top level zoom tiles, and part of open source style"][/caption]

    I don't feel a screenshot really does them justice, so I'd recommend checking them out live on the site (notice the cunning use of the Link feature to put you at a further-out zoom level than default).  The style has been updated on GitHub and the geoTiffs are available under the MIT license.   The style was also upgraded to native Mapnik 2 also known as Version 0.8.0, so you'll want the latest source.  Major thanks to Artem and Gravitystorm for the heavy lifting in getting this done. Along the way we also found time to fix the scalebar so that it actually works now and shows both miles and KM; and, thanks to feedback from the OSM talk lists, we made it change size based on the latitude center of the map as you pan around (most noticeable, obviously, at further-out zoom levels as you pan north and south). As I said, these sites ARE Beta, so if you notice any weirdness (or have any other feedback) please let us know.  There are now three ways to provide us feedback. - Click on the Feedback link, top right above the map - Email open@mapquest.com - Post on our forums on the Developer Network This is a rather nice segue into telling you about the new pages on the developer network...

    New OpenStreetMap section on the MapQuest Developer Network

    If you go to the MapQuest Developer Network homepage, you'll notice that there is an entirely new section called OpenStreetMap Initiatives.  I've kept the details up-to-date on the OSM wiki regarding what we have available, but we thought it would be good to gather everything in one place on our Developer Network too.  You will find a place for our map tiles that you are free to use, the Mapnik Style file we use, and the RESTful Directions Service that uses OSM data, and you'll also find the new forums where you can post to discuss. Our goal is, obviously, to fill this section up with many more useful tools, so stay tuned in this area.

    New MapQuest Team Member!

    Last, but by no means least, I'm also very excited to announce that Hurricane Coast has joined our Open Initiative team!  She will be focused on the US improvement fund we announced at SOTM 2010. Before joining us, Hurricane has been very active in the OpenStreetMap community.  She has organized and held mapping parties in over 9 states, 6 countries, and 2 continents that I have been able to count so far, been part of the organizing committee for the State Of The Map Conference for the last 3 years, and is part of the OSM Communications Working Group, as well as having previously worked as a Community Ambassador in the United States.  I expect it won't be long before she has banned me from blogging for crimes against literature and grammar, and started providing you with coherent and cogent posts herself! As always, stay tuned, there's more to follow soon.
  • MapQuest Directions Service on OpenStreetMap Data; Sponsors SOTM-US

    A couple of weeks back, MapQuest was proud to sponsor and attend the burgeoning State of the Map US conference, organized by the US chapter of the OpenStreetMap foundation.  Unfortunately I was unable to attend, but others from MapQuest were there, and a couple of them showed off their l33t PowerPoint skillz with presentations. First up was David Cole, who gave a succinct overview of what the MapQuest Open project had done so far and what we were hoping to do next.  He tells me it was very well received, with people being very happy to see the map style open-sourced, and to hear that the map tiles are accessible and update within 15 minutes. Later, our guru of all things directions-based, Dave Nesbitt, dove into our experiences creating routing on top of OSM data, and announced that we now have a Directions Service available in beta. So, to expand on that last sentence a bit... We've created an open sub-domain of www.mapquestapi.com - i.e: http://open.mapquestapi.com. We plan to host more services powered by OpenStreetMap data over time, and the Directions Service (once again) is the first to go up in Beta form. The Directions Service itself is directly accessible at http://open.mapquestapi.com/directions. There are, however, a few differences between the Open Directions Service and the one powered by commercial data at http://www.mapquestapi.com/directions.
    • This service is powered completely by free, open-source OpenStreetMap data, instead of commercial data.
    • You do not need a key. To repeat: NO KEY. NO SIGNUP REQUIRED. NO NEED TO AUTHENTICATE - just go use it.
    • This service does not yet have geocoding tied into it, so you need to specify your locations as latitude/longitude pairs instead of addresses or place names.
    • This service currently has two functions - route and optimized route.  Optimized routing is the ability to re-order a multi-stop route for the most efficient way to get to all the different stops you wanted to make on your journey.  You can do a route for up to 50 places, or an optimized route of up to 25 places.
    • This service has European and USA routing data behind it.  Other areas of the globe will follow over time.
    Apart from that, it is the same as our regular Directions Service - key/value pairs, JSON, or XML in, and JSON or XML out. Please try it out, have fun with it, and give us feedback on our forums.
  • MapQuest Opens Tiles and Style; Enables Rapid Data Updates

    When we launched the open.mapquest.co.uk during the State of the Map conference, we received some immediate feedback that we've already taken steps to address.  I figured we've now made enough updates to warrant blog post - so here goes:

    Will we add footpaths & cycle paths to the MQ style?

    Done!  Our biggest piece of feedback on the map style was the missing footpaths & bicycle paths.  We're now picking those tags up for styling. Tiles are updated with the new style and several other changes have been made too as we continue to refine the style.

    Will we open-source the style files?

    Why, yes! If you are interested in using our map style in your application, we've uploaded the style files to GitHub and released it under the MIT License.   As we've updated & improved the style, we've uploaded the changes to Github. Follow this link to find the repository for our map style files.

    Can you use MapQuest tiles in your application?

    Yes! Please feel free to do so!  And feel free to let us know at open@mapquest.com. we love it when people use our stuff. Our MapQuest tiles are available for use for free under the following conditions:
    • OpenStreetMap must be given credit for the data - see this section of their legal FAQ for details.
    • Please place "tiles courtesy of MapQuest" on your page, or in the copyright area of the map and please link the word "MapQuest" to http://open.mapquest.co.uk or http://www.mapquest.com.
    • If your application will get heavy usage (currently defined as more than 4,000 tiles per second) please let us know by sending us an email at open@mapquest.com. Please include the estimate of your expected usage so that we will be aware and accommodate the extra traffic.
    • If there will be an announcement (ex - a press release or a corporate announcement) please contact MapQuest at open@mapquest.com to let us know of the good news and any expected jumps in map tile usage.
    • Usage of these tiles are at your own risk.
    • Usage of these tiles are governed by paragraph 9, section (a) of the MapQuest Developer Network Terms of Use.

    How do you use the MapQuest-hosted map tiles?

    You can learn more about how to use OpenStreetMap tiles in general, here on the OpenStreetMap wiki.  Once you know how OSM tiles work, then it is very straightforward to use. The tile URLs are very similar to regular OSM tiles, with only the front of the URL being different. OpenStreetMap tile URL http://a.tile.openstreetmap.org/8/126/87.png MapQuest tile URL http://otile1.mqcdn.com/tiles/1.0.0/osm/8/126/87.png Just replace the "http://a.tile.openstreetmap.org" bit with "http://otile1.mqcdn.com/tiles/1.0.0/osm." [caption id="" align="alignleft" width="256" caption="OSM tile: http://a.tile.openstreetmap.org/8/126/87.png"]OSM tile[/caption] [caption id="" align="alignright" width="256" caption="MapQuest tile: http://otile1.mqcdn.com/tiles/1.0.0/osm/8/126/87.png"]MapQuest tile: http://otile1.mqcdn.com/tiles/1.0.0/osm/8/126/87.png[/caption]
    Note: There are 4 subdomains set up for the MapQuest-hosted tiles: otile1 to otile4.  All subdomains point to the same CDN. Just like with OSM's a.tile to c.tile subdomains, the MapQuest subdomains are provided to work around browser limitations on the number of simultaneous HTTP connections to each "host". Browser-based applications can request multiple map tiles from multiple subdomains faster than requesting map tiles from just one subdomain. More information can be found on the wiki at OpenStreetMap.org and here on the wiki page for MapQuest.

    When do we update our data?

    Well, when we were at the conference, it was a static load.  Getting automated updates in place was our top priority when we returned.  I am happy to say that we now have the map tiles updating within approximately 15 minutes of any edits to the data being made, and the search data updating within 2 hours to a day, depending on traffic load at the time.  We're still working on getting routing data updated automatically (our first goal is daily updates) but I understand we are periodically refreshing it manually while we build that process. More news to follow soon.
  • JavaScript v6 launched, MapQuest Platform v6 complete!

    The JavaScript SDK v6 is live! This completes our revamp of the MapQuest Platform from the ground up. MapQuest Platform v6 features new Web Services to easily implement mapping, routing, geocoding, geographic search and traffic using a REST-like API. On top of our new Web Services, we've rebuilt the JavaScript and ActionScript SDKs, streamlining our object model. We have also added new features such as enhanced wireless support, draggable routes and a custom object to quickly add a business locator.
    Draggable Routes

    Here is an overview of the platform, with details and links to more information below.
    MapQuest Platform v6

    Web Services - Overview Documentation

    -Pass name/value, JSON or XML in, get JSON or XML out
    Directions Web Service - Documentation -Easily access our patented routing algorithms -Calculate alternate routes -Display road shields in narrative -Tweak narrative to show border crossings, landmarks and side of street information -Let MapQuest optimize a multi-stop route, re-ordering the stops for a faster overall trip -Do one-to-many or many-to-many route matrix calculations -Add turn maps -Avoid highways, tolls, ferries, border crossings
    Geocoding Web Service - Documentation -Get accurate address resolution using both NAVTEQ and Tele Atlas street data, as well as address points -MapQuest's precise 5 character result code tells you exactly how your address geocoded -Pass a bounding box to bias the results to addresses within that area -Get both a street lat/lng and a parcel centroid for point geocodes -Retrieve side of street information -Easily add thumbnail maps for ambiguities -Batch geocode up to 100 locations in one call -Reverse geocode Static Map Web Service - Documentation -Easily create map images with overlays, icons, declutter and traffic -Utilize different map styles -JPG, PNG or GIF at customizable sizes -Easy-to-use wizard to create map URLs Geographic Search Web Service - Documentation -Search by lat/lng, address or IP address -Search by radius, rectangle, polygon or corridor -Search by drive time/distance or walking time -Mix and match data sources, including hosted data, remote data and NAVTEQ mapping data -Utilize multiple POI tables to add restaurants, bars, airports, train stations and more Traffic Web Service - Documentation -Retrieve a list of incidents in a given area, both construction and traffic incidents -Retrieve flow overlay -Retrieve available markets
    New Overview Control

    SDKs - JavaScript and ActionScript (AS3/Flex)

    JavaScript SDK Documentation AS3 SDK Documentation -Wireless (including iPhone) support for draggable maps through the JS SDK -Draggable routes -No more proxy! -Overview control -Mouse wheel support -New declutter styles -Automatically add routes and search results to the map -Removes many of the separate calls for geocodes, record details and more
  • New Link to Route Planner Service

    We just launched an enhanced version of MapQuest Route Planner that includes a new web service, enabling you to integrate Route Planner into your own external websites/applications.  If you're unfamiliar with Route Planner, it's a feature that takes a route of up to 26 25 stops and reorders them to give you the fastest or shortest route.  Here's a quick video that demos the feature. This integration is ideal for websites and apps for Sales People, Delivery Reps, Realtors, and any others that route users to multiple stops.  As of today (July 19) we've saved our users 374,500 miles and now you can help your users save time and mileage too! The Link to Route Planner Web Service enables you to connect to the Route Planner tool using address fields pre-populated directly from your website/application. This service supports multiple formats that you can use to send the addresses to the Route Planner tool: •    JSON •    XML •    Key/Value pairs You simply create forms in your application/website and POST to the Route Planner application with the address details in any of the above formats. Check out our API documentation for details on using each of these formats to connect to Route Planner. Stay tuned for the next version of Route Planner that will have the new MapQuest look and feel!