Archives for Ant

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

    Perth to Sydney

    directions from Perth to Sydney

    multi-piont route across India

    multi-point route across India

    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.

    Potlatch 2 Editor

    Potlach 2 Editor

    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!

    Unfixed alleys from TIGER import

    Alleys after they've been fixed

    Alleys after they've been fixed

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

    The Send To button lets you share your map in different ways

    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.

    High Quality geoTiffs added to top level zoom tiles, and part of open source style

    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.

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

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

    OSM tile

    OSM tile: http://a.tile.openstreetmap.org/8/126/87.png

    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

    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.

  5. Today we placed our style files for the open.MapQuest.co.uk site up on GitHub.

    The source is available at http://github.com/MapQuest/MapQuest-Mapnik-Style and is available under the MIT License.

    There are some changes in there that haven’t gone live yet, mainly around adding in the bike and foot paths. We’re also working on highlighting the Kibera Project data better than we had originally. If anyone out there has any advice on which key/value pairs to focus on, please let us know at Open@MapQuest.com.

    Anyway, the style is currently built to work against Mapnik 0.6.1+. It is not directly compatible with Mapnik 2 yet. We were moving so fast that we figured it was best to isolate Cartifact from having a constantly changing renderer during the project, and just run it thru Artem’s converter for production.  It is a to do item on our list to get it properly converted to Mapnik 2, but as I write I realize it probably gets a wider audience right now if we leave it as is.

    The style updates are not yet live on open.MapQuest.co.uk, we haven’t finished them, but since so much of the feedback since launch has been around tweaks to the style, we figured we’d just get it up now and start the ball rolling!

    Hopefully I’ll be back soon with news of some more changes, enhancements, etc.

  6. Jul 9, 2010

    MapQuest Opens Up – in the UK

    As I write, we are in the final few days of work left to us on the new Beta site open.mapquest.co.uk.  It’s an experimental site that uses the free open source OpenStreetMap data, as well as various open source tools, software and utilities to bring it all together.  We then added some of our own special sauce – our best-in-class routing algorithms, and our new user interface (a full experience of which can be found at new.mapquest.com).

    If you are unfamiliar with OpenStreetMap, it is mapping data gathered by volunteers, for free – over a quarter million of us by now! – across the entire world with the express purpose of this data being available to anyone for (almost) any use, and not locked in high-priced commercial vaults.  There is a great benefit to this – If you find something wrong or missing, you can go fix it or add it! if you go to openstreetmap.org, find the place on the map, and click the edit tab at the top, you can fix the roads, add the businesses, and edit the map.  There is also an OSM (OpenStreetMap) Wiki that tells you more about the OpenStreetMap foundation, the data, and how to get involved. It is truly amazing what they have accomplished.

    Randy Meech, our Head of Engineering, summed up why we are doing this project more succinctly than I ever could – so here’s what he said:

    “We believe that open source is ultimately the future for AOL’s local and mapping applications. And we’re very excited about supporting OpenStreetMap, which powers the maps behind Patch, our local news and information platform. We believe community generated maps that are of high quality and accuracy will end up ultimately being the better mapping product for users. Allowing users to improve the areas they know and care about like streets in their neighborhood, in addition to hiking trails, parks and bike paths, we believe will lead to the best mapping experience for all users.”

    To prove we are serious, we announced today at the SotM conference with a $1 million fund to support the growth of open-source mapping in the United States.  This first website is also proof that this is not lip-service.  We are engaged, and actively working on integrating, using, and improving these tools and we wanted to be able to demonstrate that at the conference.

    The goal was to create a MapQuest experience for the United Kingdom using only OpenStreetMap data.  As much as possible we tried to use the open source software used by the OSM community, so anything we did to these tools could be contributed back.  We picked the UK first because we felt we had the best shot of getting use-able routes from the data without having to worry about a language barrier at the same time.

    We started out, as anyone else would, with the latest dump of the OSM Planet data. We grabbed OSM2PGSQL, a python script used for data conversion, and set ourselves up with PostgreSQL with postGIS extensions (a library that adds a lot of geographical functions and datatypes to PostgreSQL).

    After successful import, we needed to render and cache the tiles.  For rendering we use Mapnik and for caching, TileCache.  We turned to our good friends at Cartifact to help us re-create our MapQuest style as Mapnik style files.  At this point, we discovered there were some features that Mapnik didnt have that we could really use.  Fortunately, we were able to hire Artem Pavlenko, the very awesome chappie who created Mapnik, to improve it with the features we needed, and then release it back to the community. They included such things as SVG Symbolizer, label offsets, improved connection management, and multistyle rendering based on polygonal regions. The last one we needed because we have 3 different styles (US, Europe, Rest of World) we needed to apply.

    OSM Style of Oxford

    OSM Style of Oxford.

    MQ style of Oxford

    MQ style of Oxford.

    For directions and routing, we started with the raw OSM data and converted it into our own format that works with our routing engine.  Along the way, we found much duplicate data and other little issues that sometimes caused problems.  For example, we were initially unable to make directions to York in England, because the city center is surrounded by pedestrian walkways.  For a while, we could only get the Channel Tunnel going one-way, and no-one could get into, or leave France.  However, once we overcame the issue, we were remarkably impressed by how well it all worked.

    Directions from Scotland to Istanbul

    From Scotland to Istanbul, stopping in Girona along the way.

    Geocoding & Search turned out to be our biggest challenge when using OSM data, and is probably the area we will focus on the most in the next phase.  Normally we make a distinction between Ambiguities (Did you mean Brentwood, England or Brentwood, Alabama?) and Searches (Pubs in Brentwood) and we provide a different UI flow for search results than we do for ambiguities. The Open Source finders have only a single set of results to any query, with no distinction.  Most of the Ways (what OSM calls lines, or streets) and Nodes (OSM-speak for Points) do not have house numbers or addresses on them, which makes geocoding to a numbered street address very unlikely. Most of the businesses do not have the info that a commercial data set brings – phone numbers, hours of operation, etc.  So be prepared! The search results are not yet what you would expect from a full blown MapQuest site – but we’ll get there…oh yes, we will.  To that end, we also tracked down Twain, the excellent creator of Nominatim, the search engine that OSM uses, and have shanghai’d him to make improvements he’s wanted to do for a while, and contribute back, as well.

    This droning monologue has gone on far too long already! For anyone who has stuck with me through this post, and who happens to be at the SotM conference, feel free to accost me with advice, suggestions and frosty beverages.

    This project has been a very valuable lesson in all the little things that go into MapQuest that as both an employee and a user, I take for granted.  The most amazing thing to me is the incredible effort that has been put into OpenStreetMap and its tools by such a large number of dedicated volunteers – a movement that will continue to grow.

    I look forward to providing more details as we continue to work on this exciting new path for MapQuest after the conference and am very excited to be participating in the OSM community.

    Note: For a more concise post, I suggest you check the blog post of my co-conspirator, Deb Tankersley, over on our consumer blog.

  7. It must be official, we have a Press Release! It has a very catchy title: MapQuest Engages Developer Community with Presence at SXSW; Shows Easy-to-Use, Developer Friendly Tools.

    Over the last eight months we have overhauled the MapQuest Platform from top to bottom. We have re-written every key component, and exposed our core functionality through sane, modern, easy-to-use Web Services. We are now finishing up overhauling our main SDKs for AS3 / Flex and Javascript to use these new services as their foundation.

    As a reward, MapQuest is now sending us to SXSW Interactive to show it all off. We are also hosting a BBQ Party at the Salt Lick. I, for one, intend to celebrate the launch of something that has been a definite labour of love. I truly love what I do, am passionate about MapQuest, and work with some of the most truly awesome people around – which makes me very grateful to have been afforded the oppportunity to bring this new vision of what the MapQuest Developer Services should be, to fruition. It has been a great journey so far, and as I look back over what we have accomplished in such a short time, I am proud of the hard work we have done, and look forward to what we do next.

    Ok, enough of that. If you truly want to see our enthusiasm for what we have built, stop by our booth (#401) at SXSW and we’ll talk your ear off, offer you some beer at the Block Party, and even help you with some implementation at our little Genius Bar we’ve set up. My compadre-in-chaose, Josh Babetski, is also hosting a panel you might find interesting.

    Until then, here’s a quick(ish) summary of links to previous posts about the different parts of the platform as we released them to production:

    MapQuest Directions Web Service And Long URL Web Service Released – October 12th.

    Web 2.0 Geocoding Service Launched – November 12th.

    Static Map Service Launched – December 4th.

    Address Point geocoding, New Map Styles, & Free Edition Geocode Data Upgrade – January 20th.

    Search Service And Static Map Wizard Launched – February 25th.

    MapQuest Traffic Service Goes Live – March 4th.

    MapQuest AS3 / Flex SDK V6.0 Launched – March 9th.

    I am pretty sure that, not even counting the beta rollouts, we have managed an average of more than one new product or release per month, over the last 6 months. I am just absolutely blown away by how much work we’ve done in such a short period of time.

    Alright. Enough from me. Texas, here we come!

  8. I am extremely happy to announce that we have launched the version 6.0 of the MapQuest Actionscript / Flex SDK for mapping, geocoding, directions, geo search, and traffic!

    Before I go any further, here are the important links:

    You can download the AS3 / Flex SDK here.

    You can view the Samples here.

    You can view the documentation here.

    You can access the AS3 / Flex section of the Developer Network here.

    And if you don't have one already, you can get an appKey here.

    During the course of the project we have touched pretty much every line of code to overhaul, upgrade, enhance, optimize and improve the SDK. We also re-wrote several main sections of the SDK from the ground up to use the new MapQuest Web Services. What follows is by no means a complete list of the things we have done to the SDK, but should give a nice overview of the main enhancements.

    FlashBuilder 4 (beta) Support
    The SDK works with both FlexBuilder 3 and FlashBuilder 4. The SDK also works with both Flash Player 9 and Flash Player 10.
    Single .swc, Smaller Compiled App
    We've consolidated all the different files into one single .swc. We also removed dependencies from the core TileMap object wherever possible, typically resulting in a smaller final SWF size .
    Object model Overhaul, Removed Getter/Setters
    Most explicit object.setProperty(value) functions have been removed from the SDK, in favor of a more AS3-friendly object.property = value. Returning these values has also been changed to object.property. Not only does this make the SDk more intuitive, it also removed quite a lot of weight!
    Shapes And Drawing Engine Overhaul
    The core shape objects have been overhauled to be simpler, and use a new internal drawing engine. As a result we have been able to add a couple of other new cool features. One example is that you can now add child overlays to a main overlay, which then act as clipping masks to punch holes in your polygons, rectangles, ellipses, and circles. So now you can do donut polygons! Yay!
    Overlay Cutouts

    You can use any shape overlay to cut holes.

    Directions, Search, and Geocoding completely re-written
    This is a complete overhaul and upgrade to the object model and how you use it - it is now MUCH MUCH simpler and saner - and smaller! Create the appropriate service object, pass in your parameters, provide your map object, and watch the results appear on the map automagically. Provide an event handler to receive the results. Done!. If you are a power-user type, you can dive under the covers to provide all the different options available from the underlying services.
    Draggable Routes!
    If you want your users to be able to drag the route, then just add dir.ribbonIsDraggable = true; on the directions object before asking for the route. At the end of each drag, your directions success event handler is called again so you can handle the updated narrative. That's it. Done!
    New Map Style with a Draggable Route added and in mid-drag

    New Map Style with a Draggable Route added and in mid-drag.

    New Controls
    There's a new carousel control that looks like the MapQuest.com Biz Locator control. this tool lets you easily add ShapeCollections to the map, with a pre-built UI for users to turn these collections off and on, on top of the map. There's also an overview map control you can place in the corner of the main map, as well as other controls to enable mouse scroll wheel zooming, and keyboard map interaction.
    DefaultTileMap Component
    The new DefaultTileMap object and drag and drop component sets up the map UI to work just like MapQuest.com, making it even quicker to set up all the controls and mouse interactions.
    New Declutter Modes
    Decluttering was also overhauled, providing new ways to declutter the map. My personal favourite is the new ForceDeclutter which animates the POIs moving away from each other until they are decluttered. It makes me giggle every time.
    The new map style with Globe View turned on in the AS3 map toolkit

    The new map style with Globe View turned on in the AS3 SDK.

    There are so many things we have done to the SDK, I am sure I've missed a few big items. I could mention the Globe View changes (you can now set the globe size, and freeze either axis, or make it auto-rotate to be vertical again when someone stops spinning it); I could also mention the spiffy new documentation that includes sections on how to make your own infowindows, POIs, and custom controls; But, unfortunately, I am out of time for now, as I must go prepare for SXSW later this week. If you are going to the conference, please do stop by the booth (#401) and say "Hi" to us, check out the new Platform and, if there is room left, come to our BBQ party!

  9. Another week, and another production launch to the MapQuest Web Services. This time around it is the new Traffic Service.

    Since I have already blogged about its features and functions when we pushed it to beta, I’ll just provide a brief summary and encourage you, dear reader, to click through to my original post.

    Get Markets List
    Determine the markets where we have traffic coverage with a simple call. There are no parameters (except your appkey). It simply returns a list of market names, their center-points, an icon to use, and suggested bounding boxes for zooming in. This function is handy for showing the traffic markets on zoomed-out maps, and creating the “zoom to market” links in the market infoWindows.
    Get Incidents in an Area
    Request all incidents within a given bounding box and filter based on which incident types you want returned (“Construction” for example). Each incident provides type and location details, an appropriate icon to use, a short and full description, and timing/duration info.
    Get Traffic Flow Overlay
    Retrieve a transparent raster image of color-coded traffic flow that overlays on top of the road network, providing colour-coded visualization of current traffic speed conditions

    Incidents in a market
    Showing both incidents and flow on a map.

    The service is all part of the new platform services, so it allows you to GET with Key-value pairs, GET or POST with JSON or XML, and receive your response in a different format to your request (eg: send in XML, get it returned as JSON).

    The Developer Network also contains more information about the MapQuest Traffic Service or take advantage of our Traffic Service Forum.

    If you haven’t tried any of our new services and SDKs yet, you can sign up for a free appKey here.

    Stay tuned…more to follow soon.

  10. So we finished up a new Production push to the MapQuest Web Services early this morning. I’ve blogged about most of the items included in the update as they’ve gone to beta, so hopefully I can make this a quick post and go home to get some sleep. Pre-dawn production roll-outs can be very draining – after a while coffee no longer has an effect, the early morning donuts are all gone, the cold grey light of dawn gives way to a harsh glaring sun, and any attempt to look at a computer monitor induces tunnel vision. Anyway, enough of the pain, and on to the pleasure!

    Static Map Wizard
    We’ve added a new interactive application to the Static Map Service that will build your static map image URL for you. You can add multiple locations and a route to a draggable map, turn on traffic, and use pan & zoom controls to set up your initial map view. Clicking on a POI lets you pick a different icon to use, or drag the POI around to reposition it. Then you can choose the size of the image, and the image file format you want, as well as a few other options, such as turning on declutter, or best-fitting the map around the POIs you’ve placed on it. As you change the interactive map, we keep the preview static map image updated, and provide a nice, easy copy ‘n’ paste URL for the image you have set up.
    Static Map Wizard
    Using the Static Map Wizard, you can use an interactive map to define your places and map view, and we’ll generate the static map image URL for you.
    Search Service
    Fortunately I’ve already written three posts on this one, so I can point you to those posts and savour my last donut while you read my previous pearls of wisdom. Well, maybe I should give a recap in honour of the production launch. Let’s see if I can type a summary while holding my breath. You can do radius, rectangle, polygon, and corridor searches, as well as searching by driving or walking time or distance. You can tell us your search parameters using (variously) lat/lng pairs, IP Addresses, street addresses, or OGC Simple Features. You can search against MapQuest-provided data sets, against your own uploaded data sets, against data you pass down the wire as part of the search request, against the actual map vector data, or against any combination of all of the above. You can filter on fields in the data to narrow down your results, ask for full data on individual records, get results back in JSON, XML, or KML, as well as break the results down into multiple pages to avoid receiving all the results at once.
    More details on the service can be found in Search Service Part 1 – How to Search, Search Service Part 2 – What can I search? and Search Service Part 3 – Other cool twiddly bits.
    The Developer Network also contains more information and links to the Search Service Forum.

    If you haven’t tried any of our new services and SDKs yet, you can sign up for an appKey here.

    Stay tuned…more to follow soon.

Follow @MapQuestTech on Twitter

MapQuest DevBlog RSS

Want to stay updated on all the latest advances? Subscribe to our blog feed and be among the first to receive the news!