<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MapQuest Dev Blog &#187; Uncategorized</title>
	<atom:link href="http://devblog.mapquest.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.mapquest.com</link>
	<description>MapQuest Dev Blog</description>
	<lastBuildDate>Tue, 22 Jan 2013 18:39:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Geocoding is exciting</title>
		<link>http://devblog.mapquest.com/2011/06/16/geocoding-is-exciting/</link>
		<comments>http://devblog.mapquest.com/2011/06/16/geocoding-is-exciting/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 19:26:42 +0000</pubDate>
		<dc:creator>Cheryl</dc:creator>
				<category><![CDATA[Directions]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[geocoding]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[reverse geocoding]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/?p=1366</guid>
		<description><![CDATA[Geocoding is a very utilitarian tool and also one of the most popular capabilities in the MapQuest Platform. Did you know geocoding can also be witty, fun and exciting? Here&#8217;s how: Oh So Witty: It assigns a latitude and longitude coordinate to a street address, zip code, intersection, or geographic boundary. Exciting: Because without geocoding, you&#8230;]]></description>
			<content:encoded><![CDATA[<p>Geocoding is a very utilitarian tool and also one of the most popular capabilities in the <a href="http://platform.mapquest.com/">MapQuest Platform</a>. Did you know geocoding can also be witty, fun and exciting? Here&#8217;s how:</p>
<p><em>Oh So Witty</em>: It assigns a latitude and longitude coordinate to a street address, zip code, intersection, or geographic boundary.</p>
<p><em>Exciting:</em> Because without geocoding, you can’t show a map, driving directions or start a proximity search!  If I was desperate for a Sonic burger I wouldn’t’ be able to <a href="http://www.sonicdrivein.com/locator/">find a Sonic</a> without using a geocode.</p>
<p><em>Good ol&#8217; fashion fun: </em>Geocoding also allows businesses to do analytics such as understand where their customers are and where their customers are coming from.</p>
<p>And just when you couldn&#8217;t get enough of geocoding, here&#8217;s what makes <a href="http://developer.mapquest.com/web/products/dev-services/geocoding-ws">MapQuest geocoding</a> unique:</p>
<p>-       The ability to return a <a href="http://www.mapquestapi.com/geocoding/geocodequality.html">5-character result code</a> to verify the accuracy of locations in greater detail than a simple yes/no or percentage match.</p>
<p>-       Support for geocoding up to 100 locations at once in a single batch function call.</p>
<p>-       Address point geocoding – this means we return a geocode that represents the middle of the land parcel and one where the address connects to the road network.</p>
<p>-       Thumbnail ambiguity maps – if the MapQuest service finds multiple options for the geocode you can return a thumbnail image of the ambiguous location to give end-users some context when disambiguating.</p>
<p>-    <a title="Reverse Geocoding" href="http://www.mapquestapi.com/geocoding/#reverse" target="_self">Reverse geocoding</a> &#8211; take a latitude and longitude and find what address it is</p>
<p>-       And <a href="http://developer.mapquest.com/web/products/dev-services/geocoding-ws">more</a>. . . .</p>
<p>All of this can be easily accessed through our <a title="Geocoding API" href="http://developer.mapquest.com/web/products/dev-services/geocoding-ws" target="_self">Geocoding API</a>, which you will also access when using our <a title="JavaScript API" href="http://developer.mapquest.com/web/products/featured/javascript" target="_self">JavaScript API</a> or our <a title="Flash Maps API" href="http://developer.mapquest.com/web/products/featured/as3-flex-flash" target="_self">Flash Maps API</a>.</p>
<p>MapQuest <a title="Community Edition Terms of Use" href="http://developer.mapquest.com/web/info/terms-of-use" target="_self">Community Edition</a> allows up to 5,000 geocodes per day. The licensed solution, as part of the Enterprise Edition, has unlimited access.  We license geocodes to be used in conjunction with maps and directions as well as provide geocoding only licenses.</p>
<p>If you&#8217;re looking for more geocodes but aren&#8217;t interested in an Enterprise license, do not fear.  Our <a title="Nominatim Search API" href="http://developer.mapquest.com/web/products/open/nominatim" target="_self">Nominatim search API</a> built on top of <a title="Open Street Map" href="http://openstreetmap.org" target="_blank">Open Street Map</a> data can also geocode and reverse geocode.  No key is required and MapQuest sets no transactional limits!  Plus, since its on top of crowdsourced Open Street Map data, you can fix any data problems you might find.</p>
<div>If you have questions about geocoding, just give us a call 888-627-7837 at or email info@mapquest.com .</div>
<p>Now get geocoding!</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2011/06/16/geocoding-is-exciting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Performance Boosts and DevNet Updates</title>
		<link>http://devblog.mapquest.com/2010/11/23/performance-boosts-and-devnet-updates/</link>
		<comments>http://devblog.mapquest.com/2010/11/23/performance-boosts-and-devnet-updates/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 15:04:05 +0000</pubDate>
		<dc:creator>Kumiko Yamazaki</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[potlatch2]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/?p=827</guid>
		<description><![CDATA[Performance Boosts We recently spent some time doing a bunch of back-end cleanup by removing old code, dead code, defunct code, and what have you. In other words, critical updates that never receive any love! These updates will mostly only affect the Open Directions Service and Open Elevation Service but has led to performance increases&#8230;]]></description>
			<content:encoded><![CDATA[<h3>Performance Boosts</h3>
<p>We recently spent some time doing a bunch of back-end cleanup by removing old code, dead code, defunct code, and what have you.  In other words, critical updates that never receive any love! These updates will mostly only affect the <a href="http://developer.mapquest.com/web/products/open/directions-service">Open Directions Service</a> and <a href="http://developer.mapquest.com/web/products/open/elevation-service">Open Elevation Service</a> but has led to performance increases for the said services.</p>
<p>Also, while the previous restriction to the Open Elevation Service has not been entirely lifted, we did increase the maximum allowed distance to 250 miles (~400 kilometers).  You can still make multiple calls to the service however, if you wish to request elevation for a longer route.</p>
<div id="attachment_831" class="picture alignright" style="width: 180px"><a href="http://developer.mapquest.com/"><img class="size-full wp-image-831" title="devnet_sidebar" src="http://devblog.mapquest.com/files/2010/11/devnet_sidebar.png" alt="" width="180" height="264" /></a><p class="caption">Newly restructured sidebar</p></div>
<h3>Developer Network Updates</h3>
<p>One of the main challenges users have had with the <a href="http://developer.mapquest.com/">MapQuest Developer Network</a> was with navigation. You may have heard about our recent launches of <a href="http://open.mapquestapi.com/dataedit/">Potlatch 2</a> or the <a href="http://open.mapquestapi.com/tigerviewer/index.html?zoom=9&amp;lat=40.07546&amp;lon=-76.329999&amp;layers=B">TIGER Edited Map Viewer</a>, but have had difficulties finding it.  Aside from linking it here on our <a href="http://devblog.mapquest.com/">Developer Blog</a>, many of our products and services for our Open Initiatives especially, had remained buried several links deep. This is no longer the case.</p>
<p>We&#8217;ve restructured the menu for easier, more intuitive navigation, and added direct links to some of our most popular products on the main page.</p>
<p>There&#8217;s also now a separate <a href="http://developer.mapquest.com/web/products/open/tools">OpenStreetMap Tools &amp; Guides</a> section which acts as a one-stop shop for helping both beginners and advanced users with contributing and improving OSM.  If you haven&#8217;t already done so, be sure to check out the <a href="http://developer.mapquest.com/web/products/open/tools/guide">Beginner&#8217;s Guide to OpenStreetMap</a> and the <a href="http://developer.mapquest.com/web/products/open/tools/potlatch2">Potlatch 2 Primer</a>.  Pass it along to your friends and get them involved (and addicted)!</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/11/23/performance-boosts-and-devnet-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A BBQ Quest with MapQuest at SXSW!</title>
		<link>http://devblog.mapquest.com/2010/03/03/a-bbq-quest-with-mapquest-at-sxsw/</link>
		<comments>http://devblog.mapquest.com/2010/03/03/a-bbq-quest-with-mapquest-at-sxsw/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:00:00 +0000</pubDate>
		<dc:creator>Josh Babetski</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/03/03/a-bbq-quest-with-mapquest-at-sxsw/</guid>
		<description><![CDATA[Mid-March is almost upon us. For thousands, this time of year means one thing: time to go to Austin, TX for SXSW! MapQuest is no exception. In addition to helping attendees get around Austin and find venues for the Interactive, Film, and Music portions of the conference, we&#8217;ll have a booth set-up for the Interactive&#8230;]]></description>
			<content:encoded><![CDATA[<p>Mid-March is almost upon us. For thousands, this time of year means one thing: time to go to Austin, TX for <a href="http://sxsw.com"><abbr title="South by Southwest">SXSW</abbr></a>! MapQuest is no exception. In addition to <a href="http://sxsw.com/node/4362">helping attendees get around Austin and find venues</a> for the Interactive, Film, and Music portions of the conference, we&#8217;ll have a booth set-up for the Interactive Trade Show. Here, you&#8217;ll have the opportunity to talk to MapQuest Developers about making your applications location enabled.</p>
<p>Now this last part is important if you&#8217;re attending SXSW Interactive and love great food:</p>
<p>MapQuest can help you find great BBQ in Austin, but we&#8217;d thought we&#8217;d also <em>take</em> you to get great BBQ as well &#8212; 23.58 miles outside Austin to Driftwood Texas to be exact.</p>
<p>On Sunday, March 14th, we&#8217;ll be running buses to take about 150 of our fellow attendees to <a href="http://www.saltlickbbq.com/"><b>The Salt Lick</b></a> for some of the best (in our opinion) BBQ in all of Texas (and quite possibly the world). We&#8217;ll also be supplying the beer to wash down that NOM-tastic food. While it&#8217;s worth the wait in line, we&#8217;ve got space reserved so we can get right to the eatin&#8217;. Oh, did we mention that we&#8217;re picking up the tab for everyone?</p>
<p style="text-align:center;">
  <img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/03/salt-lick-pit-of-meat.jpg" alt="Salt Lick Pit of Meat"><br />
  Pit of meat at The Salt Lick
</p>
<p>Mouth&#8217;s already watering thinking about it, right?</p>
<p>If you want in, here&#8217;s what you need to know:</p>
<h3>MapQuest BBQ Quest at South by Southwest</h3>
<dl>
<dt>What?</dt>
<dd>The Salt Lick BBQ</dd>
<dd>Free beer on the bus and at The Salt Lick</dd>
<dd>Free bus ride from downtown Austin to The Salt Lick in Driftwood, TX (and back I suppose)</dd>
<dt>When? I&#8217;m hungry!</dt>
<dd>
<b>Sunday, March 14<sup>th</sup></b>. Meet at <b>5:30pm</b>. Buses will have you back for evening events by around 8:30pm</dd>
<dt>Can I go?</dt>
<dd>You need to be over 21 years of age (bring your ID)</dd>
<dd>You need to have a 2010 SXSW Interactive, Gold or Platinum Badge</dd>
<dd>You need to love BBQ</dd>
<dd>You need to know all the words to &#8220;Wheels on the Bus&#8221; (Fine! That&#8217;s optional)</dd>
<dd>
<strong>Important</strong>: You need to be early. The event is first come, first serve and we&#8217;re only feeding the folks on the bus. When the buses are full or it turns 6pm (which ever comes first), we&#8217;re hitting the road. No riding on the roof either (we asked).</dd>
<dt>Where do I line up?</dt>
<dd>We will be waiting for you at the Hilton Austin (Right across the street from the Convention Center) located at <a href="http://www.mapquest.com/listings/Hilton-Austin_Austin_TX_9751935?placement=results_bub_map">500 E. 4th St. Austin, TX</a>
</dd>
<dd>Simply look for the MapQuest Charter Buses.</dd>
</dl>
<p style="text-align:center">
  <iframe marginheight="0" marginwidth="0" scrolling="no" src="http://www.mapquest.com/embed#b/maps/m:hyb:15:30.265033:-97.738979::::::1:1:::::::::/l:Hilton-Austin:500+E+4TH+St:Austin:TX:78701:US:30.26493:-97.738959:address::1:::9751935/e" style="height: 300px; width: 550px; " frameborder="0"></iframe>
</p>
<p><p>We look forward to seeing old friends, making new ones, and eating until we collapse.</p>
<p>See you in Austin!</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/03/03/a-bbq-quest-with-mapquest-at-sxsw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Service and Static Map Wizard Launched</title>
		<link>http://devblog.mapquest.com/2010/02/25/search-service-and-static-map-wizard-launched/</link>
		<comments>http://devblog.mapquest.com/2010/02/25/search-service-and-static-map-wizard-launched/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 07:00:00 +0000</pubDate>
		<dc:creator>Ant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/02/25/search-service-and-static-map-wizard-launched/</guid>
		<description><![CDATA[We've added a new interactive application to the Static Map Service that will build your static map image URL for you.]]></description>
			<content:encoded><![CDATA[<p>So we finished up a new Production push to the <a href="http://www.mapquestapi.com" target="_blank">MapQuest Web Services</a> early this morning. I&#8217;ve blogged about most of the items included in the update as they&#8217;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 &#8211; 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!</p>
<dl>
<dt>Static Map Wizard</dt>
<dd>We&#8217;ve added a new <a href="http://www.mapquestapi.com/staticmap/wizard.html" target="_blank">interactive application</a> 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 &amp; 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&#8217;ve placed on it. As you change the interactive map, we keep the preview static map image updated, and provide a nice, easy copy &#8216;n&#8217; paste URL for the image you have set up.</dd>
<div class="picture left" style="width: 502px;"><img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/02/mapwizard1.png" alt="Static Map Wizard" /><br />
Using the Static Map Wizard, you can use an interactive map to define your places and map view, and we&#8217;ll generate the static map image URL for you.</div>
<div style="clear: both;"></div>
<dt>Search Service</dt>
<dd>Fortunately I&#8217;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&#8217;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.</dd>
<dd>More details on the service can be found in <a href="http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/">Search Service Part 1 &#8211; How to Search</a>, <a href="http://devblog.mapquest.com/2010/01/28/search-service-part-2-what-can-i-search/">Search Service Part 2 &#8211; What can I search?</a> and <a href="http://devblog.mapquest.com/2010/02/02/search-service-part-3-other-cool-twiddly-bits/">Search Service Part 3 &#8211; Other cool twiddly bits.</a> </dd>
<dd>The Developer Network also contains <a target="_blank">more information</a> and links to the <a href="http://developer-qa.mapquest.com/web/products/search-ws/forums">Search Service Forum.</a> </dd>
</dl>
<p>If you haven&#8217;t tried any of our new services and SDKs yet, you can <a href="http://developer.mapquest.com/web/info/account/app-keys" target="_blank">sign up for an appKey here.</a></p>
<p>Stay tuned&#8230;more to follow soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/02/25/search-service-and-static-map-wizard-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Service Part 3 &#8211; Other cool twiddly bits</title>
		<link>http://devblog.mapquest.com/2010/02/02/search-service-part-3-other-cool-twiddly-bits/</link>
		<comments>http://devblog.mapquest.com/2010/02/02/search-service-part-3-other-cool-twiddly-bits/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 07:00:00 +0000</pubDate>
		<dc:creator>Ant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/02/02/search-service-part-3-other-cool-twiddly-bits/</guid>
		<description><![CDATA[In my last two posts I covered the basics of ways you can search, and what data you can search using our new Search Service. For this post I&#8217;m going to cover some of the cool things the service has to offer that didn&#8217;t fit into my previous posts. If you haven&#8217;t already, you might&#8230;]]></description>
			<content:encoded><![CDATA[<p><!--  .codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; }  .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } .left { margin: 0.5em 0.8em 0.5em 0; float:left; }  -->In my last two posts I covered the basics of ways you can search, and what data you can search using our new Search Service. For this post I&#8217;m going to cover some of the cool things the service has to offer that didn&#8217;t fit into my previous posts. If you haven&#8217;t already, you might want to check out <a href="http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/">Search Service Part 1 &#8211; How to Search</a> and <a href="http://devblog.mapquest.com/2010/01/28/search-service-part-2-what-can-i-search/">Search Service Part 2 &#8211; What can I search?</a> before reading this post.</p>
<h3>Other things the Search Service can do</h3>
<dl>
<dt>Search by Travel Time or Distance</dt>
<dd>This is not so much a separate search, instead, something you can do on a radius search using the <code>units=</code> parameter. Instead of choosing miles or kilometres, you can also choose walking or driving minutes, or driving miles or kilometres. If you do this, then the results are filtered to show only those locations you could get to in that amount of time, or by traveling that distance along roads.</dd>
<dt>ExtraCriteria</dt>
<dd>When searching HostedData you can provide a SQL &#8220;WHERE&#8221; fragment to help further filter your results. Lets say, for example, that you&#8217;ve uploaded a table of restaurants that includes a field (&#8220;amex&#8221;) that specifies whether the restaurant accepts American Express. When doing a search, you could use <code>ExtraCriteria:"amex=1"</code> to only return restaurants that take American Express.</dd>
<dt>Specifying Field Names</dt>
<dd>With HostedData, you can ask to only have certain fields returned, which is useful for keeping the size of the response down if you don&#8217;t need all the fields. All you have to do is provide an array of the field names you do want. If you don&#8217;t provide the array, we&#8217;ll return all fields for each record by default.</dd>
<dt>Results Paging</dt>
<dd>You don&#8217;t have to receive all your results at once. If you tell us a <code>pageSize</code> on your request, we&#8217;ll break the results down into pages and store them in memory temporarily. The first response will tell you how many pages your results were broken down into, as well as a <code>pageKey</code>. After that, you can just ask for more results using the <code>pageKey</code> and <code>currentPage</code> parameters.</dd>
<dt>Mixing Data Sources</dt>
<dd>You can search multiple data sources at once and they don&#8217;t even have to be the same kind of data source. If you wanted to, you could search 2 HostedData tables, some pieces of RemoteData, and the MapData all at once. Be careful though, the Max Results setting applies across all results, not per data set. If you search 5 data sets at once with a Max Results of 50, you&#8217;ll get 50 total results collated from all data sets, not 50 from each.</dd>
<dt>Get Record Info</dt>
<dd>If you already know the record ID of the data row you need, you can use that ID with the <code>recordInfo</code> function to only get the records you want without having to do a spatial search. This is very useful if you want to initially provide some basic info on each search result (a more compact response than returning all fields), and then provide full details if the user drills in for more information.</dd>
<dt>SSL Support</dt>
<dd>Like all our services, you can access the search result over HTTPS for increased security. There&#8217;s really not much to say on this one. Any URLs in the return (like the suggested display icons for the NTPois data set) will also be returned as HTTPS when using SSL.</dd>
<dt>KML Support</dt>
<dd>The Search Service supports <code>outFormat=KML</code> as an alternative return format from JSON or XML. When using our <a href="http://platform.beta.mapquest.com/sdk/js" target="_blank">JavaScript</a> or <a href="http://platform.beta.mapquest.com/sdk/as" target="_blank">ActionScript</a> SDKs, you can use a search term as the URL for a KML RemoteCollection, and watch the search results appear right on the map.</dd>
</dl>
<div class="picture left" style="width: 502px"><img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/02/kmlparks.png" alt="Philadelphia parks loaded from KML using the Search Service" /><br />
A map of Philadelphia, using a RemoteCollection to load the parks as KML from the search service, and then display on the map</div>
<p>Well, that&#8217;s about all the words I have on the <a href="http://platform.beta.mapquest.com/search" target="_blank">Search Service</a>. Thanks for bearing with me across three rambling posts. The amount of functionality and power in the service has definitely made it interesting to blog about.</p>
<p>More details are, as always, available on our <a href="http://developer.mapquest.com/beta" target="_blank">Developer Network Beta Release</a> page.</p>
<p>If you haven&#8217;t tried any of our new services and SDKs in Beta yet, you can <a href="http://developer.mapquest.com/web/info/account/app-keys" target="_blank">sign up for an appKey here.</a></p>
<p>Stay tuned&#8230;more to follow soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/02/02/search-service-part-3-other-cool-twiddly-bits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Service Part 2 &#8211; What can I search?</title>
		<link>http://devblog.mapquest.com/2010/01/28/search-service-part-2-what-can-i-search/</link>
		<comments>http://devblog.mapquest.com/2010/01/28/search-service-part-2-what-can-i-search/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 07:00:00 +0000</pubDate>
		<dc:creator>Ant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/01/28/search-service-part-2-what-can-i-search/</guid>
		<description><![CDATA[In my last post I described the various ways you can search using the new Search Service. This post I am focusing on what you can search; in other words, the data that is available in the Service. What you can search against: Hosted Data These are data tables that MapQuest keeps on its own&#8230;]]></description>
			<content:encoded><![CDATA[<p><!--  .codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } 	 .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } 	 .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } 	 .left { margin: 0.5em 0.8em 0.5em 0; float:left; }  -->In my last post I described <a href="http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/" target="_blank">the various ways you can search</a> using the new <a href="http://platform.beta.mapquest.com/search" target="_blank">Search Service</a>.  This post I am focusing on what you can search; in other words, the data that is available in the Service.</p>
<h3>What you can search against:</h3>
<dl>
<dt>Hosted Data</dt>
<dd>These are data tables that MapQuest keeps on its own servers for you to search against. There are two main types of Hosted Data: those we provide (like the NAVTEQ <abbr title="points of interest">POI</abbr> tables) and those you can upload yourself through our Data Manager tool on the <a href="http://developer.mapquest.com" target="_blank">Developer Network</a>.</dd>
<dd>There are a whole bunch of tables we have up for searching against. The documentation contains a <a href="http://platform.beta.mapquest.com/search/hosted-data.html#datasets" target="_blank">full list of the tables</a>. Clicking on each table name will show you the table schema. Some tables are not actually for spatial searching, but contain the category names for the records in the main table.  Not all tables are available for all editions, so it is a good idea to check the documentation to make sure the appKey you are using has access. </dd>
<dd>If you don&#8217;t specify any data sources to search, we&#8217;ll use MQA.NTPois as the default. Everyone has access to this one and it contains over 2 million <abbr title="points of interest">POIs</abbr> across 50+ categories.  The category names are in the MQA.NTPoisCat table. Use the <code>RecordInfo</code> function to retrieve rows from HostedData tables without doing a spatial search.</dd>
<dd>For your own tables, you can upload whatever points you want &#8211; it&#8217;s your table.  Each table you create has 20 default fields, including a record ID, a name, address fields, phone numbers, and of course latitude &amp; longitude (without which we couldn&#8217;t do the searching!)  Don&#8217;t worry if you don&#8217;t have the co-ordinates, we&#8217;ll geocode anything on the way through.  You can then create up to 100 additional fields for the table, calling them whatever you want.</dd>
<dd> I&#8217;ll go into more depth on the Data Manager tool in another post, but to summarize: you can create your own data tables on our server and upload your records into it. We&#8217;ll geocode the records for you if you need, and then store them with a unique <code>HostedData</code> name that you can then search against using the Search Service.  Only you have access to your table, so we check the name against your appKey, to make sure it is you using it.</dd>
<dt>Remote Data</dt>
<dd>If you have some of your own data that you want to search, and you don&#8217;t want to host it in our databases, that&#8217;s fine. You can still search it by passing it in to the search function using the <code>RemoteData</code> parameter.  Remember that you are passing this data as part of a GET or POST, so you want to be aware of size limitations, and impact to latency and speed! Don&#8217;t be surprised if you pass a massive chunk of data over the wire and things take a little longer.</dd>
<dt>Map data</dt>
<dd>You can also search the underlying data we use to make the maps.  When you do this, you can get back points, lines or polygons that you could use, for example, to draw interactive shapes on a map.  Be aware that the map data is also broken down into different data sets, so you should refer to the <a href="http://platform.beta.mapquest.com/search/map-data.html" target="_blank">documentation</a> to make sure you are searching in the country you want to search in.  There&#8217;s also a list on the same page of the different map features you can search for, so you can limit your search to, for example, getting the polygons of all the parks that are within 20 miles of the center of Washington D.C.</dd>
</dl>
<p>And that&#8217;s part 2 done! Next post I&#8217;ll go over some of the cool miscellaneous features of the Search Service. More details are, as always, available on our <a href="http://developer.mapquest.com/beta" target="_blank">Developer Network Beta Release</a> page.</p>
<p>If you haven&#8217;t tried any of our new services and SDKs in Beta yet, you can <a href="http://developer.mapquest.com/web/info/account/app-keys" target="_blank">sign up for an appKey here.</a></p>
<p>Stay tuned&#8230;more to follow soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/01/28/search-service-part-2-what-can-i-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Service Part 1 – How to Search</title>
		<link>http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/</link>
		<comments>http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 00:00:00 +0000</pubDate>
		<dc:creator>Ant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/</guid>
		<description><![CDATA[.codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } .left {&#8230;]]></description>
			<content:encoded><![CDATA[<p> .codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } 	 .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } 	 .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } 	 .left { margin: 0.5em 0.8em 0.5em 0; float:left; } </p>
<p>Before Christmas we pushed the new Search Service out to Beta and then expanded its features in subsequent pushes. At this point, it&#8217;s pretty much fully baked, and more than complete enough to deserve some blogging. It&#8217;s taken me a while to pull this post together, mainly because every time I tried to write about the new search service, I was defeated by the amount of functionality, options, and flexibility it possesses. It&#8217;s not a simple &#8220;gimme Pizza in Denver&#8221; search (although it can be) &#8211; it&#8217;s a lot more hardcore than that. It&#8217;s a Spatial Search Service, which allows you to search against different data sets by defining the geographic area within which you want results found.</p>
<p>While the service is easy to implement, it is highly functional and has many capabilities, so please bear with me as I try to explain just some of the things it can do. To make it simple I&#8217;m going to break this down into three separate posts: Ways you can search (this post); what data you can search against; and miscellaneous cool stuff it can do.</p>
<h3>Ways you can search:</h3>
<p>
<dl>
<dt>Radius Search</dt>
<dd>This is the most basic search. Give us a point and how far around it you want to search, and we&#8217;ll return results ordered by their distance from the center. You can tell us the center-point of your search by providing a latitude/longitude, a street address, or an IP address. In fact, if you don&#8217;t give us a center-point, we&#8217;ll default to your IP address. See how easy that was? From here, you simply tell us the radius and the units. 10 kilometres? No problem! Half-an-hour driving time? Yes, we can do that too!</dd>
<div style="width: 502px" class="picture left"> <img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/radiussearch.png" alt="Radius Search"><br /> Radius search results on a map.</div>
<div style="clear: both"> </div>
<dt>Rectangle Search</dt>
<dd>If you give us two points (again, Lat/Lngs, street addresses, IP addresses, or any combination of the three), we&#8217;ll make a rectangle out of them and search within that box. This is a great way to do a map-based search; Just pass the map bounds every time your user pans or zooms the map, and re-query for updated search results.</dd>
<div style="width: 502px" class="picture left"> <img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/rectsearch.png" alt="Rectangle Search"><br /> Rectangle search results on a map.</div>
<div style="clear: both"> </div>
<dt>Polygon Search</dt>
<dd>Sometimes you need more than just a radius or a bounding box. A lot of companies have custom defined sales territories; or maybe you sell franchise with Areas of Protection, and need to make sure a new franchise territory wouldn&#8217;t include any previously sold franchises. You can define the polygon by handing us a collection of lat/lng pairs in several different formats: a raw comma-separated set of of pairs, an <a href="http://www.mapquestapi.com/directions/encodedecode.html" target="_blank">encoded compressed string</a>, or an <a href="http://en.wikipedia.org/wiki/Simple_Features" target="_blank">OGC standard Simple Feature.</a> </dd>
<div style="width: 502px" class="picture left"> <img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/polysearch.png" alt="Polygon Search"><br /> Polygon search results on a map.</div>
<div style="clear: both"> </div>
<dt>Corridor Search</dt>
<dd>The most obvious use of Corridor Search is to find places along a route (such as gas stations or hotels). You provide the line shape and how wide you want the line to be and we supply the results. For example, if you set a width of &#8220;5&#8243; and a units of &#8220;k&#8221; (kilometres) then we&#8217;ll search for 2.5 km on each side of the line (a total width of 5 km). Corridor Search supports the same line input types as the polygon search does. If you have previously created a route using the <a target="_blank" href="http://www.mapquestapi.com/directions">Directions Service</a> you can also use the sessionID from that route, instead of providing us the line shape.</dd>
<div style="width: 502px" class="picture left"> <img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/corridorsearch.png" alt="Corridor Search"><br /> Corridor search results on a map.</div>
<div style="clear: both"> </div>
<dt>Base or Default Search</dt>
<dd>Finally, there is just a base <code>search?</code> function that sits on top of all the others. Pass us the parameters of your search, and we&#8217;ll figure out what kind of search you are trying to do. Give us a point and a radius, we&#8217;ll do a radius search; Give us two points, we&#8217;ll do a rectangle; Give us a series of points, we&#8217;ll do a corridor. If the first and last points are the same, then we&#8217;ll do a polygon search instead. In fact, if you give us absolutely nothing at all, we&#8217;ll do a 20 mile radius search around your IP address against our default data-set.</dd>
</dl>
<p>
<p>And that&#8217;s just part 1! Hopefully you can see how these new capabilities can help you. More details are, as always, available on our <a href="http://developer.mapquest.com/beta" target="_blank">Developer Network Beta Release</a> page. </p>
<p>If you haven&#8217;t tried any of our new services and SDKs in Beta yet, you can <a href="http://developer.mapquest.com/web/info/account/app-keys" target="_blank">sign up for an appKey here.</a> </p>
<p>Stay tuned&#8230;more to follow soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/01/27/search-service-part-1-how-to-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Traffic Service released to Beta</title>
		<link>http://devblog.mapquest.com/2010/01/21/traffic-service-released-to-beta/</link>
		<comments>http://devblog.mapquest.com/2010/01/21/traffic-service-released-to-beta/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 00:00:00 +0000</pubDate>
		<dc:creator>Ant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/01/21/traffic-service-released-to-beta/</guid>
		<description><![CDATA[.codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } .left {&#8230;]]></description>
			<content:encoded><![CDATA[<p> .codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } 	  .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } 	  .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } 	  .left { margin: 0.5em 0.8em 0.5em 0; float:left; } </p>
<p>Now that we&#8217;ve completed and released the new <a target="_blank" href="http://www.mapquestapi.com/geocoding/">Geocoding service</a>, <a target="_blank" href="http://www.mapquestapi.com/directions/">Directions Service</a>, and <a target="_blank" href="http://www.mapquestapi.com/staticmap/">Static Map Service</a>, we&#8217;re moving on to the next round of web services.  The first one up to the plate is the new Traffic Service.</p>
<p>This is actually the second Beta release, and we have three functions completed now:  One to get a list of markets, one to get a list of the current traffic incidents in a given area, and a third to get a raster image of the traffic flow conditions to overlay on a map.</p>
<p>The first function, <code>/traffic/v1/markets?</code>, is a simple call to get a list of the markets for which we have traffic.  There are no parameters (except your appkey).  It simply returns a list of market names, a Center Latitude/Longitude, an icon to use, and a suggested bounding box for zooming in.  We use this function to show the traffic markets on zoomed-out maps, and create the &#8220;zoom to market&#8221; links in the market infoWindows.</p>
<p><!-- Markets --></p>
<div class="picture left" style="width: 402px"> <img alt="Main Markets" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/trafficmarkets.png"><br /> Showing the Markets feed on a map.</div>
<div style="clear: both"> </div>
<p>The second function,<code>/traffic/v1/incidents?</code>, lets you request all incidents within a given bounding box. You can filter on which incident types you want returned (&#8220;Construction&#8221; for example). Each incident provides type and location details, an appropriate icon to use, a short and full description, and timing/duration info.</p>
<p><!-- Incidents --></p>
<div class="picture left" style="width: 402px"> <img alt="Incidents in a market" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/trafficincidents.png"><br /> Showing the incidents on a map.</div>
<div style="clear: both"> </div>
<p>The third function,<code>/traffic/v1/flow?</code>, returns a transparent raster image of color-coded traffic flow for a given MapState. A MapState is a core object of our mapping SDKs that contains the map center-point, the zoom level, and the height/width of the map.</p>
<p><!-- flow --></p>
<div class="picture left" style="width: 402px"> <img alt="Incidents in a market" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/trafficflow.png"><br /> Showing both incidents and flow on a map.</div>
<div style="clear: both"> </div>
<p>The service is all part of the new platform we&#8217;ve been building out, so it comes with the ability to GET with Key-value pairs, or 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).</p>
<p>Obviously we&#8217;re not done yet. An important thing for us here is to make sure the exposed service is consistent with the other services we&#8217;ve recently released (the geocoding, directions, and static map). So &#8211; please, please <a target="_blank" href="http://developer.mapquest.com/web/products/beta-releases/forums">let us know</a> if you find any inconsistencies in the object / node names in the request / return, compared to the others.</p>
<p>More details are, as always, available on our <a target="_blank" href="http://developer.mapquest.com/beta">Developer Network Beta Release</a> page.  </p>
<p>If you haven&#8217;t tried any of our new services and SDKs in Beta yet, you can <a target="_blank" href="http://developer.mapquest.com/web/info/account/app-keys">sign up for an appKey here.</a>  </p>
<p>Stay tuned&#8230;more to follow soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/01/21/traffic-service-released-to-beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>W00t! More Updates: Address Point Geocoding, Map Styles, &amp; Free Edition Geocoder Data</title>
		<link>http://devblog.mapquest.com/2010/01/20/w00t-more-updates-address-point-geocoding-map-styles-amp-free-edition-geocoder-data/</link>
		<comments>http://devblog.mapquest.com/2010/01/20/w00t-more-updates-address-point-geocoding-map-styles-amp-free-edition-geocoder-data/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 07:00:00 +0000</pubDate>
		<dc:creator>debtankersley</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/01/20/w00t-more-updates-address-point-geocoding-map-styles-and-free/</guid>
		<description><![CDATA[Last week, we released some really great new stuff for the MapQuest Platform: address point geocoding data for the United States for our Enterprise Edition customers, a new default static map style for all SDK users and Navteq United States street level geocoding data for our Free Edition folks! Address Point Geocoding Address Point Geocoding&#8230;]]></description>
			<content:encoded><![CDATA[<p>Last week, we released some really great new stuff for the MapQuest Platform:  address point geocoding data for the United States for our Enterprise Edition customers, a new default static map style for all <abbr title="Software Development Kit">SDK</abbr> users and Navteq United States street level geocoding data for our Free Edition folks!</p>
<h3>Address Point Geocoding</h3>
<p>Address Point Geocoding (<abbr title="Address Point Geocoding">APG</abbr>) data for the MapQuest Platform is a great win for our customers &#8211; enabling more accurate placement of your location on the map and improved routing as well.  Using <abbr title="Address Point Geocoding">APG</abbr> is easy &#8211; it&#8217;s already built into our default geocoding configuration, so you don&#8217;t have to change any configuration files or code &#8211; we&#8217;re returning exact matches with APG using <code>L1AAA</code> as the quality code and &#8220;<code>ntus_strpt</code>&#8221; as the vendor name for Enterprise Edition versions 5.* and older, <code>P1AAA</code> for the new geocoding service SDK&#8217;s and two sets of latitude/longitude pairs that show the parcel center and snap-to-street latitude/longitude.   You can read more about <abbr title="Address Point Geocoding">APG</abbr> in a blog post we did last year:  &#8220;<a href="http://devblog.mapquest.com/2009/12/17/address-point-data-now-in-the-beta-geocoding-service/"><abbr title="Address Point Geocoding">APG</abbr> now in Beta Geocoding Service</a>.&#8221;</p>
<p>Here are a couple samples using the <abbr title="Address Point Geocoding">APG</abbr> data &#8211; red star is interpolated location, blue star is center of parcel and green star is using APG:</p>
<p style="text-align: center"><img class="border1" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/apg_sample_image.png" alt="Address Point Example 1" /></p>
<p style="text-align: center"><img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/apg_sample_image2.png" alt="Address Point Example 2" /></p>
<h3>New Map Styles</h3>
<p>In December 2009, we released the new map styles for our tiled maps that included terrain &#8211; we now have the same great new style for our static (or dynamic) maps.   If your static maps are using an older map style, you can simply change your code to use &#8220;<code>2k9a</code>&#8221; as your new map style.   If you&#8217;re already using the default map style &#8211; you&#8217;ve already been upgraded, nothing to do on your side!   If your business model includes printing static maps &#8211; we suggest using a high <abbr title="dots per inch">DPI</abbr> raster image setting in order to capture the lakes/terrain data with the new map styles.  Want to know more?  Read: &#8220;<a href="http://blog.mapquest.com/2009/10/29/mapquest-introduces-our-new-map-styles-and-more/">MapQuest Introduces our New Map Styles and More!</a>&#8221;</p>
<p>A sample new static (dynamic) map:</p>
<p style="text-align: center"><img src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/new_map_style.png" alt="New Map Style" /></p>
<h3>Free Edition Geocoding Update</h3>
<p>And finally, we&#8217;re very proud to announce that Navteq United States street level geocoding for Free Edition has replaced the older <abbr title="Topologically Integrated Geographic Encoding and Referencing">TIGER</abbr> (Topologically Integrated Geographic Encoding and Referencing) data that is freely available from the United States Census Bureau.  Navteq populates and verifies their data by driving the roads as well as through user generated updates to that data; <abbr title="Topologically Integrated Geographic Encoding and Referencing">TIGER</abbr> data is updated much less frequently.   We&#8217;re happy to provide the same level of quality data that our Enterprise and Developer Edition applications have been using for years via the MapQuest Platform!</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/01/20/w00t-more-updates-address-point-geocoding-map-styles-amp-free-edition-geocoder-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternate Routes added to Directions Service Beta</title>
		<link>http://devblog.mapquest.com/2010/01/11/alternate-routes-added-to-directions-service-beta/</link>
		<comments>http://devblog.mapquest.com/2010/01/11/alternate-routes-added-to-directions-service-beta/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 00:00:00 +0000</pubDate>
		<dc:creator>Ant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://devblog.mapquest.com/2010/01/11/alternate-routes-added-to-directions-service-beta/</guid>
		<description><![CDATA[.codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } .left {&#8230;]]></description>
			<content:encoded><![CDATA[<p> .codeblock { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#F5F4EE none repeat scroll 0 0; border:2px dotted #DDDDDD; color:#06263C; font-family:courier,monospace; width:100%; } .picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px; font: 11px/1.4em Arial, sans-serif; } 	  .picture img { border: 1px solid #CCCCCC; vertical-align:middle; margin-bottom: 3px; } 	  .right { margin: 0.5em 0pt 0.5em 0.8em; float:right; } 	  .left { margin: 0.5em 0.8em 0.5em 0; float:left; } </p>
<p>If you ask three people for directions to somewhere they journey to frequently, you are likely to receive three different sets of directions. Each person will have some short-cut, or uses one road over another because of traffic, or has a particular highway they always want to avoid. Personally, I&#8217;ll drive extra miles down unnecessary roads just to avoid traffic lights. I know its an illusion, but even if the trip ultimately takes longer than sitting at traffic lights along a shorter road, I&#8217;d rather keep moving.</p>
<p>In order to emulate the experience of having multiple friends bicker about which is the best route you should take, our Directions team have created &#8230;.(wait for it)&#8230; Alternate Routes! (Dun Dun DUUUN!) Joking aside, I think this is very very cool functionality. The function call is basically the same as a regular route call, with a couple of extra parameters:, and looks like this:</p>
<p><textarea rows="3">http://platform.beta.mapquest.com/directions/v1/alternateroutes?from=262 Lincoln Ave., Harrisburg, PA&amp;to=Reading, PA&amp;maxRoutes=3&amp;timeOverage=25&amp;key=YOUR_KEY_HERE</textarea>
<p>The <code>maxRoutes</code> parameter is how many <strong>total</strong> possible routes you want back, including the first (or &#8220;main&#8221;) one. The <code>Overage</code> is a percentage extra time thats allowable for an alternate route to take. For example, on an hour-long route, an overage of 25 is 25% would be up to an extra 15 minutes.</p>
<p>So lets say you set a <code>maxRoutes=3</code>. The response will include the &#8220;main&#8221; route, just like normal, plus an additional node containing up to two other routes that provide alternative ways to your destination. Each route will also have a new &#8220;name&#8221; node to help identify them. We try to fill this with the name of a road that is unique to that particular route. Each route is complete with narrative, road shields and thumbnail maneuver maps.</p>
<p>Here is an example of travelling from Harrisburg to Reading in pennsylvania, asking for a total of three routes (2 alternate routes):</p>
<p><!-- 1st route --></p>
<div class="picture left" style="width: 556px"> <img alt="Main Route" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/rte1a.png"><br /> The Main Route, which we named &#8220;Interstate 76 E&#8221;, takes you down to the Pennsylvania Turnpike.  It is calculated to take 1 hour 7 minutes to travel just under 59 miles.</div>
<div style="clear: both"> </div>
<p><!-- 2nd route --></p>
<div class="picture left" style="width: 556px"> <img alt="Alternate Route #1" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/rte2a.png"><br /> The first Alternate Route avoids the Turnpike, and instead takes you up Interstate 81 and along Interstate 78.  It takes a few more minutes overall, but avoids a big toll road. It is calculated to take 1 hour 12 minutes to travel around 63 miles.</div>
<div style="clear: both"> </div>
<p><!-- 3rd route --></p>
<div class="picture left" style="width: 556px"> <img alt="Alternate route #2" src="http://www.blogcdn.com/devblog.mapquest.com/media/2010/01/rte3a.png"><br /> The second Alternate Route takes you in a very direct route along Routes 322 and 222.  It is shorter than the other routes, but takes a little longer than both of them, clicking in at 1 hour 21 minutes, to travel under 55 miles.</div>
<div style="clear: both"> </div>
<p>So thats how it works!. Pretty darn cool, eh? More details, Documentation and sample links are found (as always) on the <a href="http://developer.mapquest.com/beta" target="_blank">Developer Network beta page.</a> The sample I took the screenshots from is <a href="http://platform.beta.mapquest.com/directions/alternateroutessample.html" target="_blank">part of the service documentation</a></p>
<p>Let us know on the <a href="http://developer.mapquest.com/web/products/beta-releases/forums" target="_blank">Beta Forums</a> if you find any issues, or if you create a cool application using Alternate Routes.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.mapquest.com/2010/01/11/alternate-routes-added-to-directions-service-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
