<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">

<channel>
<title>Hackszine: Google Maps</title>
<link>http://www.hackszine.com/blog/archive/google_maps/</link>
<description>O&apos;Reilly&apos;s Hacks Series reclaims the term &apos;hacking&apos; for the good guys--innovators who explore and experiment, unearth shortcuts, create useful tools, and come up with fun things to try on their own</description>
<language>en-us</language>
<copyright>Copyright 2008, O'Reilly Media, Inc.</copyright>
<lastBuildDate>Tue, 22 Jul 2008 22:24:06 -0800</lastBuildDate>
<pubDate>Tue, 07 Oct 2008 01:21:26 -0800</pubDate>
<generator>http://www.movabletype.org/?v=4.1</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<itunes:author>O'Reilly Media, Inc.</itunes:author>
<itunes:subtitle>Clever solutions to interesting problems.</itunes:subtitle>
<itunes:summary>Hackszine Podcast</itunes:summary>
<itunes:owner>
<itunes:email>webmaster@makezine.com</itunes:email>
</itunes:owner>
<category>Technology</category>
<itunes:category text="Technology">
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Gadgets" />
</itunes:category>
<itunes:category text="Games &amp; Hobbies" >
</itunes:category>
<itunes:category text="Science">
</itunes:category>
<itunes:image href="http://makezine.com/images/hackszine/rss_icon.jpg" />
<itunes:explicit>no</itunes:explicit>


<item>
<title>PocketMod and Mapufacture: the anti-iPhone</title>
<itunes:summary> Here&apos;s a clever way to fold an 8.5x11 sheet of paper into a small book. The way it&apos;s folded, all of the book&apos;s 8 outward-facing pages are from the same side of the sheet of paper. This allows you...</itunes:summary>
<description>
<![CDATA[<p><object width="500" height="390"><param name="movie" value="http://www.youtube.com/v/IAb31rIeGZo&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/IAb31rIeGZo&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="500" height="390"></embed></object></p>

<p>Here's a clever way to fold an 8.5x11 sheet of paper into a small book. The way it's folded, all of the book's 8 outward-facing pages are from the same side of the sheet of paper. This allows you to easily construct a handy little daily planner by printing a single sheet of paper. When you're done folding, the first and third leaf will have a little pouch that you can shove a business card or two inside. </p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="pocketmod_20080722.jpg" src="http://www.hackszine.com/pocketmod_20080722.jpg" width="500" height="304" class="mt-image-none" style="" /></span></p>

<p>The PocketMod website has a flash application that lets you quickly build a layout for your planner. You can drag calendars, todo-lists, grids, conversion tables, and even RSS feed articles to the page and print it directly from your browser.</p>

<p>I love it. It's the iPhone for the mobile Luddite.</p>

<p>You're probably thinking: this pocketmod thing is awesome and all, but what about maps? Well, PocketMod does maps too. Or rather, a cool Web2.0 mapping service does PocketMods.</p>

<p>At mapufacture.com, you can create and manage custom maps and import data layers from news sources, geo blogging services, and Google My Maps. In addition to all the normal embedding and sharing tools that you'd expect, they also have a PocketMod export, allowing you to convert your map into a handy format that you can put in your back pocket.</p>

<p>You can't make phone calls on your PocketMod and it doesn't hold any songs you can't sing or whistle yourself. On the other hand, it's crazy slim, 3rd party application writing is a cinch, the data plan is affordable, and you won't believe the battery life.</p>

<p><a href="http://www.pocketmod.com/">PocketMod</a><br />
<a href="http://mapufacture.com/">Mapufacture - create custom multilayer maps (with pocketmod output support)</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/07/pocketmod_and_mapufacture_the.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/07/pocketmod_and_mapufacture_the.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/07/pocketmod_and_mapufacture_the.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/07/pocketmod_and_mapufacture_the.html?CMP=OTC-7G2N43923558</guid>
<category>Productivity</category>
<pubDate>Tue, 22 Jul 2008 22:24:06 -0800</pubDate>

</item>

<item>
<title>Mapstraction - map abstraction API for Javascript</title>
<itunes:summary> Mapstraction is an abstracted Javascript mapping API that can make use of Google Maps, Microsoft Virtual Earth, Yahoo Maps and Mapquest. Instead of deciding on a particular mapping provider, you can build your web application with Mapstraction and easily...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="mapstraction_20080710.jpg" src="http://www.hackszine.com/mapstraction_20080710.jpg" width="500" height="501" class="mt-image-none" style="" /></span></p>

<p>Mapstraction is an abstracted Javascript mapping API that can make use of Google Maps, Microsoft Virtual Earth, Yahoo Maps and Mapquest.  Instead of deciding on a particular mapping provider, you can build your web application with Mapstraction and easily switch to a different service by changing a single line of code. From the Mapstraction site:</p>

<blockquote> Mapstraction additionally fills some holes each provider's current offerings (taking advantage of existing open source solutions where possible) to normalise the feature set across platforms. In the future, Mapstraction will also talk to OpenStreetMap for people who want to build maps without restrictions on derived works.

<p>Features<br />
<ul><li>Support for 9 major mapping providers</li><li>Point, Line, Polygon support</li><li>Image overlay</li><li>GeoRSS and KML feed import</li><li>Geocoding of addresses</li><li>Driving directions</li></ul><br />
</blockquote></p>

<p>There's an introductory walkthrough on Webmonkey that shows you how to do the basics like instantiating a map with various providers and adding markers with the abstracted API. The Mapstraction web site also has demos for geocoding, drawing polygons, and swapping map tiles. The API appears to cover all the bases. I can't think of any reason to directly use a specific map provider instead of this.</p>

<p><a href="http://www.mapstraction.com/">Mapstraction</a><br />
<a href="http://www.webmonkey.com/tutorial/Multi-map_with_Mapstraction/">WebMonkey Mapstraction Tutorial</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/07/mapstraction_map_abstraction_a.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/07/mapstraction_map_abstraction_a.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/07/mapstraction_map_abstraction_a.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/07/mapstraction_map_abstraction_a.html?CMP=OTC-7G2N43923558</guid>
<category>Mapping</category>
<pubDate>Thu, 10 Jul 2008 23:42:39 -0800</pubDate>

</item>

<item>
<title>PlaceSpotting - Google Maps geo quiz</title>
<itunes:summary> Martin Fussen tipped us off to PlaceSpotting, a user-contributed geo quiz map mashup. The idea is to create puzzles for your friends to solve by picking an obscure landmark and supplying them with a few hints. Your friends can...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="placespotting_20080707.jpg" src="http://www.hackszine.com/placespotting_20080707.jpg" width="500" height="319" class="mt-image-none" style="" /></span></p>

<p>Martin Fussen tipped us off to PlaceSpotting, a user-contributed geo quiz map mashup. The idea is to create puzzles for your friends to solve by picking an obscure landmark and supplying them with a few hints. Your friends can then zoom around on the map to find the location. If they position the map at the right zoom level and over the location the puzzle is solved. I have to say this is a pretty fun way to learn a bit about the world, especially if you're in to puzzles and treasure hunts. </p>

<p>You can search and browse a large library of entries that other people have created. There are a significant number of entries in German, and many of the landmarks are within Europe, but there's nothing stopping you from dropping a few landmarks near the place you call home.</p>

<p><a href="http://www.placespotting.com/">PlaceSpotting</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/07/placespotting_google_maps_geo.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/07/placespotting_google_maps_geo.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/07/placespotting_google_maps_geo.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/07/placespotting_google_maps_geo.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Mon, 07 Jul 2008 20:17:39 -0800</pubDate>

</item>

<item>
<title>GasPriceWatch - find cheaper pumps</title>
<itunes:summary> I really don&apos;t drive that much, so when I fill up every month or two, the experience is normally accompanied by equal parts shock and foul language. The strange thing is that the price of gas is always significantly...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="gasprice_20090614.jpg" src="http://www.hackszine.com/gasprice_20090614.jpg" width="500" height="402" class="mt-image-none" style="" /></span></p>

<p>I really don't drive that much, so when I fill up every month or two, the experience is normally accompanied by equal parts shock and foul language. The strange thing is that the price of gas is always significantly more expensive in the city, and every once in a while, you can happen across a random station that is selling fuel for more than 10 cents a gallon less than everyone else.</p>

<p>It's counter productive to drive all over looking for the cheapest pump, so instead you can use the GasPriceWatch Google Maps mashup to surf pump prices from home. Site visitors report in with updated pump prices, and hopefully there will be a good find along your normal commute route. </p>

<p>Google Maps Mania has a few links to some other maps-related gas tools that you may also be interested in. As for me, I'm sticking to pedaling.</p>

<p><a href="http://www.gaspricewatch.com/new/default_V3.asp">GasPriceWatch</a><br />
<a href="http://googlemapsmania.blogspot.com/">Finding Cheap Gas on Google Maps</a></p>

<p>See also: <a href="http://www.hackszine.com/blog/archive/2007/03/hypermiling_hack_your_milage.html">Hypermiling: Hack Your Mileage</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/06/gaspricewatch_find_cheaper_pum.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/06/gaspricewatch_find_cheaper_pum.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/06/gaspricewatch_find_cheaper_pum.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/06/gaspricewatch_find_cheaper_pum.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Sat, 14 Jun 2008 21:01:47 -0800</pubDate>

</item>

<item>
<title>Google Earth has a Javascript API</title>
<itunes:summary> Google released a plug-in, currently for Windows browsers only, that allows you to embed the Earth application inside the browser. Existing Google Maps mashups can use some of the functionality right away just by adding the G_SATELLITE_3D_MAP map type....</itunes:summary>
<description>
<![CDATA[<p><object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/6mrG_bsqC6k&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/6mrG_bsqC6k&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="500" height="405"></embed></object></p>

<p>Google released a plug-in, currently for Windows browsers only, that allows you to embed the Earth application inside the browser. Existing Google Maps mashups can use some of the functionality right away just by adding the G_SATELLITE_3D_MAP map type. Even more exciting is that you can interact more deeply with the map&mdash;including camera angles, KML layers, and 3D models&mdash;right from Javascript. I'm so eager to go find a PC to play around with this that I'll let the video speak for itself.</p>

<p>Also worth noting is that Google just released an official Maps API for Flash AS3. Call me a fanboy, but I think my head is spinning.</p>

<p><a href="http://code.google.com/apis/earth/">Google Earth API</a><br />
<a href="http://code.google.com/apis/earth/documentation/examples.html">Some Example Applications</a><br />
<a href="http://code.google.com/apis/maps/documentation/flash/">Maps API for Flash</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/06/google_earth_has_a_javascript.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/06/google_earth_has_a_javascript.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/06/google_earth_has_a_javascript.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/06/google_earth_has_a_javascript.html?CMP=OTC-7G2N43923558</guid>
<category>Ajax</category>
<pubDate>Tue, 03 Jun 2008 21:12:58 -0800</pubDate>

</item>

<item>
<title>Update the hacker map</title>
<itunes:summary> When I created the &quot;Hackers in Your Neighborhood&quot; map last December, I wasn&apos;t sure what the response would be. I was really happy to see it end up being really positive, with lots of hackers and organizations adding their...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="hackermap_20080503.jpg" src="http://www.hackszine.com/hackermap_20080503.jpg" width="500" height="323" class="mt-image-none" style="" /></span></p>

<p>When I created the "<a href="http://maps.google.com/maps/ms?ie=UTF&msa=0&msid=108480887738389422212.000440310dcdec9d1c93a">Hackers in Your Neighborhood</a>" map last December, I wasn't sure what the response would be. I was really happy to see it end up being really positive, with lots of hackers and organizations adding their marker to the map. </p>

<p>I was just peeking in on its progress today and it looks like it's still alive with minimal vandalization and with lots of individuals and user groups making it to the list.</p>

<p>Some of the momentum has died down a bit, though, so now seems like a good time to do a little spring cleaning. Update your own record, if necessary, and make sure you list or update any hacker-friendly clubs or organizations that you know about. My hope is that this will make it easier for people to network and discover groups near them that they can participate in.  </p>

<p>The same instructions still apply: Click the link to connect to the map, log in to your Google account, and you'll find an "Edit" button on the left. Clicking this will put the map in edit mode, where you can drag a new marker onto the map for yourself. Then just toss your name into the title and put your interests and project websites in the description field. If you're already on them map, select the marker you want to edit (try not to screw up others) and then update the text field.</p>

<p>For your personal icons, don't put it right on your address unless you really don't mind giving that info out. Centered on your city, town or neighborhood works fine too.</p>

<p>Some big goals for this round:<br />
<ul><li>A club listed in every metropolitan area of the U.S. (red icon)</li><li>More resources for places to buy related parts or electronics ($ icon)</li><li>Coffee shops with free WiFi where fellow hackers are typically found (coffee icon)</li><li>Better representation in South America, <br />
Africa, Eastern Europe, Asia, and Australia</li></ul></p>

<p>Big shout outs go to the <a href="http://www.phillylinux.org">Philly Linux User's Group</a>, which is the most recent addition to the map, the <a href="http://www.tcrobots.org/">Twin Cities Robotics Club</a>, who are doing a fine job representing my home base, and Raj, our sole hacker in all of India. </p>

<p>It goes without saying, but when you're done updating the map, try and track down an organization or a few interested folks in your area. You have your assignment. Now get out there and go put some brains together.</p>

<p><a href="http://maps.google.com/maps/ms?ie=UTF&msa=0&msid=108480887738389422212.000440310dcdec9d1c93a">The Hackers in Your Neighborhood: Collaborative Hacker Map</a><br />
</p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/05/update_the_hacker_map.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/05/update_the_hacker_map.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/05/update_the_hacker_map.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/05/update_the_hacker_map.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Sat, 03 May 2008 20:45:04 -0800</pubDate>

</item>

<item>
<title>iPhone LoJack - location tracking for your iPhone</title>
<itunes:summary>Erica Sadun put together a great tool for iPhone users who&apos;d like to keep tabs on their iPhone&apos;s location. Instead of GPS tracking, a small binary called &apos;findme&apos; is used to geolocate the device based on nearby cell towers. Combined...</itunes:summary>
<description>
<![CDATA[<p>Erica Sadun put together a great tool for iPhone users who'd like to keep tabs on their iPhone's location. Instead of GPS tracking, a small binary called 'findme' is used to geolocate the device based on nearby cell towers.</p>

<p>Combined with a simple curl shell script, a private Twitter account, and a scheduled launch daemon, your iPhone can then report its location at regular intervals, which you (or anyone you authorize) can follow using Twitter and Google Maps. You could use this to find your phone if it's lost or stolen, or you might just use it to give your friends and family a way to track your current location.</p>

<p><a href="http://www.tuaw.com/2008/02/21/tuaw-responds-iphone-lojack/">iPhone LoJack</a></p>

<p><strong>Related posts:</strong><br />
<a href="http://www.hackszine.com/blog/archive/2008/03/command_line_twitter.html">Command Line Twitter</a><br />
<a href="http://www.hackszine.com/blog/archive/2008/04/open_gps_tracker.html">Open GPS Tracker</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/04/iphone_lojack_location_trackin.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/04/iphone_lojack_location_trackin.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/04/iphone_lojack_location_trackin.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/04/iphone_lojack_location_trackin.html?CMP=OTC-7G2N43923558</guid>
<category>iPhone</category>
<pubDate>Sat, 26 Apr 2008 20:21:13 -0800</pubDate>

</item>

<item>
<title>Open GPS Tracker</title>
<itunes:summary> Now this looks like fun: The Open GPS Tracker is a small device which plugs into a $20 prepaid mobile phone to make a GPS tracker. The Tracker responds to text message commands, detects motion, and sends you its...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="gpstracker_20080424.jpg" src="http://www.hackszine.com/gpstracker_20080424.jpg" width="500" height="534" class="mt-image-none" style="" /></span></p>

<p>Now this looks like fun:</p>

<blockquote>The Open GPS Tracker is a small device which plugs into a $20 prepaid mobile phone to make a GPS tracker. The Tracker responds to text message commands, detects motion, and sends you its exact position, ready for Google Maps or your mapping software. The Tracker firmware is open source and user-customizable.</blockquote>

<p>From the looks of things, the total cost to build a remote-operated GPS tracking unit is on the order of $100. The design uses a prepaid cell phone to receive commands and report its position via SMS.</p>

<p>I'm sure there are a number of boring nefarious application for this that will freak out a lot of folks, but just think about the more interesting possibilities.  You could add this to a weather balloon or autonomous flying vehicle easily track it down if there were any flight problems. A bunch of people in any city could put these in their cars on a short time delay and automatically report traffic flow conditions. You could even roll your own "lo-jack" system that would let you find your car if it was stolen, only with this your car's location is only being reported to you instead of a monitoring station, actually increasing your privacy.</p>

<p><a href="http://www.opengpstracker.org/index.html">Open GPS Tracker</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/04/open_gps_tracker.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/04/open_gps_tracker.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/04/open_gps_tracker.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/04/open_gps_tracker.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Thu, 24 Apr 2008 20:38:57 -0800</pubDate>

</item>

<item>
<title>Javascript marker clustering for Google Maps</title>
<itunes:summary> Everyone who works with large data sets in Google Maps has come across the problem of displaying a bunch of markers in a small area. Not just an eyesore, displaying anything more than a hundred marker icons at a...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="gmapcluster_20080407.jpg" src="http://www.hackszine.com/gmapcluster_20080407.jpg" width="500" height="309" class="mt-image-none" style="" /></span></p>

<p>Everyone who works with large data sets in Google Maps has come across the problem of displaying a bunch of markers in a small area. Not just an eyesore, displaying anything more than a hundred marker icons at a time can bog the browser down on a lot of platforms, Safari on PPC Macs delivering the most pain.</p>

<p>The solution is to cluster nearby markers into an aggregate marker when there are too many markers being displayed, or when markers are so close at a particular zoom level that they completely overlap. For extremely large datasets this is most efficiently done on the back-end, with successive AJAX calls refreshing the marker set from a PHP script that filters out the visible markers from the set.</p>

<p>You can also handle the clustering on the client side, using javascript to scan the entire set of locations and dynamically determine what's visible and what should be clustered. The downside is that you have to download the entire set and store it in the browser's memory, but unless you start getting well into tens of thousands of markers this isn't a big deal. The benefit to the client side method is that it's less complex, it lets you work around large result sets from back-end APIs that you can't control, and with ACME Labs' Clusterer javascript library it's extremely easy to code.</p>

<p>To use Clusterer, first download and include the Clusterer2.js file from the link below in your maps page. Then you need to instantiate a Clusterer object, passing your map object to its constructor:</p>

<blockquote><code>var clusterManager = new Clusterer(map);</code></blockquote>

<p>From there, you use it in place of the traditional MarkerManager or any addOverlay calls by calling the Clusterer's addMarker method.  It takes two parameters, the marker to add, and a text string that will be listed in the cluster's contents when it is clicked:</p>

<blockquote><code> clusterManager.AddMarker(marker, "Marker Description");</code></blockquote>

<p>The cluster manager will take care of all the dirty work, only displaying items when they are within your view, and dynamically clustering them appropriately when there are too many on the screen at once. When one of the clusters is clicked, it will display a list of the locations inside of it. Most of what you'd want to tweak, like the threshold at which to start clustering and the icon used for representing a cluster, are all adjustable through the API via some self-explanatory methods such as SetMaxVisibleMarkers(n) and SetIcon(icon).  Follow the link below for more information, or read the source for a few of the less-documented options.</p>

<p><a href="http://www.acme.com/javascript/#Clusterer">Clusterer documentation</a><br />
<a href="http://www.acme.com/javascript/Clusterer2.js">Clusterer source</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/04/javascript_marker_clustering_f.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/04/javascript_marker_clustering_f.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/04/javascript_marker_clustering_f.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/04/javascript_marker_clustering_f.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Mon, 07 Apr 2008 21:56:59 -0800</pubDate>

</item>

<item>
<title>SketchUp has a Ruby API</title>
<itunes:summary> I guess it&apos;s been available for a few months, but I just noticed that there&apos;s a Ruby API for Google SketchUp. Looks like a cool tool for extending the building interface, integrating SketchUp entities with external software, and building...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="gsruby_20080310.jpg" src="http://www.hackszine.com/gsruby_20080310.jpg" width="500" height="302" class="mt-image-none" style="" /></span></p>

<p>I guess it's been available for a few months, but I just noticed that there's a Ruby API for Google SketchUp. Looks like a cool tool for extending the building interface, integrating SketchUp entities with external software, and building procedural stuff, like making terrain or stairs.</p>

<p>Here's a video of SketchUp developer Mark Limber talking about some of the possible ways to extend the software with the Ruby API.</p>

<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/QGvwLQQxuZs&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/QGvwLQQxuZs&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="500" height="400"></embed></object></p>

<p>Google SketchUp Ruby API - <a href="http://code.google.com/apis/sketchup/">Link</a><br />
SketchUp API Blog - <a href="http://sketchupapi.blogspot.com/">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/03/sketchup_has_a_ruby_api.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/03/sketchup_has_a_ruby_api.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/03/sketchup_has_a_ruby_api.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/03/sketchup_has_a_ruby_api.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Mon, 10 Mar 2008 19:05:57 -0800</pubDate>

</item>

<item>
<title>Point polygon intersection in SQL</title>
<itunes:summary> update: As readers noted, it&apos;s not the 0 degrees longitude that&apos;s the problem, it&apos;s at 180 degrees where you could encounter issues. I&apos;ve also escaped the gt and lt symbols. Sorry about that. I spent the weekend participating in...</itunes:summary>
<description>
<![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="pointpoly_20080302.jpg" src="http://www.hackszine.com/pointpoly_20080302.jpg" width="500" height="301" class="mt-image-none" style="" /></span></p>

<p><b>update:</b> As readers noted, it's not the 0 degrees longitude that's the problem, it's at 180 degrees where you could encounter issues.  I've also escaped the gt and lt symbols. Sorry about that.</p>

<p>I spent the weekend participating in the <a href="http://www.f1webchallenge.com/">F1 Website Challenge</a>, a coding marathon in which competing teams each produce a mythical man-month's worth of web site for a worthy non-profit organization&mdash;all in the space of 24 hours.</p>

<p>One of the challenges my team faced during development was finding an efficient way for detecting a particular service region for a given address.  Our client, Metro Meals on Wheels, has a number of different regions in which they deliver meals, with each region being served by a particular Meals on Wheels organization.  These regions are defined by non-overlapping complex polygons.  It's not as simple as a normal vendor search, where you return the nearest location to the requested address. Instead you need to search a database of polygons to find the particular one which intersects the address location.</p>

<p>One of my teammates, Mark Seemann, ended up providing a fairly elegant solution to the problem, and was able to implement it in a simple SQL query.  To find out if a point intersects a polygon, it's as simple as drawing a vector from the point and seeing how many line segments of the polygon it crosses.  If the number is even, it's outside the polygon. If it's odd, you have an intersection.</p>

<p>So let's say you have a polygon database which has a row for each line segment of a polygon. You can quickly pull all segments that intersect a vector pointing directly east of your geocoded location like this:</p>

<blockquote><pre>SELECT poly_id, segment_id
    FROM segments
    WHERE ( lnga &gt; thelng OR lngb &gt; thelng )
          AND ( (lata &gt; thelat AND latb &lt; thelat )
              OR (latb &gt; thelat AND lata &lt; thelat ) )
</pre></blockquote>

<p>That will return you a list of all line segments that you would cross if you walked directly east from the location at [thelat,thelng] (yes, this assumes you don't cross 180 degrees longitude). To determine the polygon (or polygons) that intersect our address, it's as simple as grouping by poly and returning all rows that have an odd number of matches:</p>

<blockquote><pre>
SELECT poly_id, COUNT(segment_id) AS segment_count
    FROM segments
    WHERE ( lnga &gt; thelng OR lngb &gt; thelng )
          AND ( (lata &gt; thelat AND latb &lt; thelat )
              OR (latb &gt; thelat AND lata &lt; thelat ) )
          AND segment_count%2 = 1
    GROUP BY poly_id
</pre></blockquote>

<p>Of course, the world isn't flat, though I've treated it this way for simplicity.  If you wanted this to work for all cases, you'd need to limit your search to a particular distance and translate the coordinates so that the search didn't cross 180 degrees longitude.</p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/03/point_polygon_intersection_in.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/03/point_polygon_intersection_in.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/03/point_polygon_intersection_in.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/03/point_polygon_intersection_in.html?CMP=OTC-7G2N43923558</guid>
<category>Mapping</category>
<pubDate>Sun, 02 Mar 2008 19:15:45 -0800</pubDate>

</item>

<item>
<title>Actionscript mapping APIs</title>
<itunes:summary> Yahoo recently released an official AS3 API for Yahoo! Maps, which provides another option for Flash-based GIS applications. This adds to Mapquest&apos;s official AS3 API and a couple of partially-complete, open source AS2 APIs for Google Maps. All of...</itunes:summary>
<description>
<![CDATA[<p><img alt="flashmap_20080218.jpg" src="http://www.hackszine.com/flashmap_20080218.jpg" width="500" height="337" /></p>

<p>Yahoo recently released an official AS3 API for Yahoo! Maps, which provides another option for Flash-based GIS applications. This adds to Mapquest's official AS3 API and  a couple of partially-complete, open source AS2 APIs for Google Maps.</p>

<p>All of these services provide the traditional AJAX APIs, of course, and that's perfect for a lot of uses. By using Flash as the rendering engine, though, there are new options available for the developer. Things like incremental scaling between tile sets, map rotation, and more advanced multi-level vector and raster overlays immediately come to mind.</p>

<p>Yahoo! Maps for ActionScript 3.0 - <a href="http://developer.yahoo.com/flash/maps/">Link</a><br />
Google Maps Flash Interface - <a href="http://code.google.com/p/google-maps-flash-interface/">Link</a><br />
MapQuest AS3 API - <a href="http://company.mapquest.com/mqbs/4a.html">Link</a><br />
UMap: Google Maps Flash Overlay (flash above above AJAX map) - <a href="http://www.afcomponents.com/components/umap_as3/">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/02/actionscript_mapping_apis.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/02/actionscript_mapping_apis.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/02/actionscript_mapping_apis.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/02/actionscript_mapping_apis.html?CMP=OTC-7G2N43923558</guid>
<category>Mapping</category>
<pubDate>Mon, 18 Feb 2008 19:07:30 -0800</pubDate>

</item>

<item>
<title>The hackers in your neighborhood</title>
<itunes:summary> Google recently added a collaboration feature to the &quot;My Maps&quot; area of Google Maps. Similar to the collaborative document editing in Google Docs, when you&apos;ve made a map you can click the &quot;Collaborate&quot; link and share your map with...</itunes:summary>
<description>
<![CDATA[<p><img alt="gmaps_collabmapping2_200712.jpg" src="http://www.hackszine.com/gmaps_collabmapping2_200712.jpg" width="500" height="311" /></p>

<p>Google recently added a collaboration feature to the "My Maps" area of Google Maps.  Similar to the collaborative document editing in Google Docs, when you've made a map you can click the "Collaborate" link and share your map with specific people or the entire world.  What's cool is that when you do the latter, you've effectively created a map wiki that anyone can edit, expand upon, and help maintain.</p>

<p>After messing around with the new collaboration feature for a bit, it occurred to me that we should make a map where we hackers can add our own markers and share interests and projects with each other.  It might be a good way to network with people around you, and it's also just cool to see what projects people are working on around the world.</p>

<p><img alt="gmaps_collabmapping3_200712.jpg" src="http://www.hackszine.com/gmaps_collabmapping3_200712.jpg" width="500" height="321" /></p>

<p>So I went ahead and created <a href="http://maps.google.com/maps/ms?ie=UTF&msa=0&msid=108480887738389422212.000440310dcdec9d1c93a">the hackers in your neighborhood</a>, an open-access collaborative map that we can use to map the hacker world.  Some of my favorite hackers at Make and Craft have added themselves to the map already, but I'd love to see how far we can push this... maybe it'll become too many data points for gmaps to handle.</p>

<p>Just connect to the map, log in to your Google account, and you'll find an "Edit" button on the left.  Clicking this will put the map in edit mode, where you can drag a new marker onto the map for yourself.  Toss your name into the title and put your interests and project websites in the description field.  </p>

<p>If you have a programming or robotics club, toss that in there too and give it a red marker or something.</p>

<p><img alt="gmaps_collabmapping_2007120.jpg" src="http://www.hackszine.com/gmaps_collabmapping_2007120.jpg" width="500" height="324" /></p>

<p>I should mention something else about the collaborative feature.  As you can see above, it looks like PT from Makezine has tagged my digital hood with some mapfiti.  </p>

<p>The one downside of the collaboration feature is that someone might end up vandalizing your work.  In reality, though, most of these open-collaborative projects end up working really well just on good faith and community policing.  It's why large open source projects work.  It's why Wikipedia works.  Frankly, I think Phil's Make: tag looks pretty sweet over Minneapolis anyway.</p>

<p>The Hackers in Your Neighborhood - <a href="http://maps.google.com/maps/ms?ie=UTF&msa=0&msid=108480887738389422212.000440310dcdec9d1c93a">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/12/the_hackers_in_your_neighborho.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/12/the_hackers_in_your_neighborho.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/12/the_hackers_in_your_neighborho.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/12/the_hackers_in_your_neighborho.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Sat, 01 Dec 2007 17:39:26 -0800</pubDate>

</item>

<item>
<title>WikiPediaVision</title>
<itunes:summary> Here&apos;s another fun real-time Google Maps mashup, inspired by flickrvision and twittervision. WikiPediaVision displays recent anonymous edits to WikiPedia, showing you the article being edited, and where on the globe the edit came from. It&apos;s a nice way to...</itunes:summary>
<description>
<![CDATA[<p><img alt="wikivision_20071029.jpg" src="http://hackszine.com/wikivision_20071029.jpg" width="500" height="321" /></p>

<p>Here's another fun real-time Google Maps mashup, inspired by flickrvision and twittervision.  WikiPediaVision displays recent anonymous edits to WikiPedia, showing you the article being edited, and where on the globe the edit came from.  It's a nice way to passively graze interesting topics that someone else just got done thinking about.  Why are these simple little maps hacks so addictive?</p>

<p>WikiPediaVision - <a href="http://www.lkozma.net/wpv/index.html">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/10/wikipediavision.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/10/wikipediavision.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/10/wikipediavision.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/10/wikipediavision.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Mon, 29 Oct 2007 21:38:48 -0800</pubDate>

</item>

<item>
<title>iPhone OpenStreetMap</title>
<itunes:summary> If you have a jailbreak&apos;d iPhone, you can update the Maps.app database with tiles from OpenStreetMap. Mikel Maron figured out how to update the Maps sqlite DB and was able to import the street tiles for London. My first...</itunes:summary>
<description>
<![CDATA[<p><img alt="iphoneosm_20071022.jpg" src="http://hackszine.com/iphoneosm_20071022.jpg" width="500" height="495" /></p>

<p>If you have a jailbreak'd iPhone, you can update the Maps.app database with tiles from OpenStreetMap.  Mikel Maron figured out how to update the Maps sqlite DB and was able to import the street tiles for London.</p>

<blockquote>My first idea was to modify the configuration or constant that the Maps App used for constructing Google Maps tile requests. Andrew helped with decompiling and pointers to other files, but we had no luck as yet. But looking at the app or at the GMM module in a hex editor, there appeared to be SQL inserts of tile pointers .. perhaps Maps was using a database to cache requested tiles. Searching through the filesystem found MapTiles.sqlitedb. That db has just two tables..</blockquote>

<p>This is slick.  You still use the built-in Maps interface, but you can add whatever you like to its database.  Technically you could alter the database with any map tiles you like.  One idea would be to make an alternate database file and fill it with topo-maps.  Just swap the file out and you can use the Maps application when you're backpacking.</p>

<p>OpenStreetMap on the iPhone - <a href="http://brainoff.com/weblog/2007/10/19/1271">Link</a><br />
OpenStreetMap - <a href="http://www.openstreetmap.org/">Link</a><br />
SQLite Tutorial - <a href="http://souptonuts.sourceforge.net/readme_sqlite_tutorial.html">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/10/iphone_openstreetmap.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/10/iphone_openstreetmap.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/10/iphone_openstreetmap.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/10/iphone_openstreetmap.html?CMP=OTC-7G2N43923558</guid>
<category>iPhone</category>
<pubDate>Mon, 22 Oct 2007 18:47:40 -0800</pubDate>

</item>

<item>
<title>Geotag your videos</title>
<itunes:summary> The latest version of Google Earth added a layer for geotagged YouTube videos. So far, it seems like a lot of people are using this feature for documenting landmarks, attractions and live recordings of things like music, sporting events,...</itunes:summary>
<description>
<![CDATA[<p><img alt="geovideo_20071015.jpg" src="http://hackszine.com/geovideo_20071015.jpg" width="500" height="368" /></p>

<p>The latest version of Google Earth added a layer for geotagged YouTube videos.  So far, it seems like a lot of people are using this feature for documenting landmarks, attractions and live recordings of things like music, sporting events, backpacking trips, urban skateboarding, etc.</p>

<p>If you have a geospatially relevant video that you want to put on the map, it's pretty easy.  Just upload your video to YouTube, open the "Date and Map Options" tab in the video information panel, and drag the marker to the correct location.  You can zoom in to get a more precise location, or just enter the lat/lon manually with the following format: "geo:lat=yy.yyyy geo:lon=xx.xxxx".</p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/10/geotag_your_videos.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/10/geotag_your_videos.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/10/geotag_your_videos.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/10/geotag_your_videos.html?CMP=OTC-7G2N43923558</guid>
<category>Mapping</category>
<pubDate>Mon, 15 Oct 2007 19:22:18 -0800</pubDate>

</item>

<item>
<title>Bloggable Google Maps</title>
<itunes:summary> Google Maps added a quick embed feature which lets you quickly add any map to your web site. Prior to this, you needed to have a Google Maps API key, which is fine if you are developing a larger...</itunes:summary>
<description>
<![CDATA[<p><iframe width="500" height="400" frameborder="no" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=103763259662194171141.000001119b4afdeef007c&t=k&om=1&s=AARTsJr1u3Z2kGLNkvqkH6DnbRZw6k0UQQ&ll=30.751278,37.617188&spn=106.534726,175.78125&z=2&output=embed"></iframe></p>

<p>Google Maps added a quick embed feature which lets you quickly add any map to your web site.  Prior to this, you needed to have a Google Maps API key, which is fine if you are developing a larger application, but a pain if you just want to make a blog post with embedded directions.</p>

<p>To use the feature, you just click the "Link to this page" link at the top right of any map in the Google Maps interface.  There's a quick snippet of 425x350 iframe embed code that you can then copy, or  you can choose to customize the layout.  The latter lets you select the target size and additionally allows you to tweak the map view to zoom or center on the area of interest.</p>

<p>Embeddable Google Maps - <a href="http://google-latlong.blogspot.com/2007/08/youtube-style-embeddable-maps_21.html">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/08/bloggable_google_maps.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/08/bloggable_google_maps.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/08/bloggable_google_maps.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/08/bloggable_google_maps.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Sat, 25 Aug 2007 20:52:16 -0800</pubDate>

</item>

<item>
<title>Satellite Alignment Calculator</title>
<itunes:summary> Hackszine reader Alan writes: Anyone who ever installed a satellite dish knows how frustrating it is to point the dish at the satellite somewhere in the sky. I&apos;ve created a unique tool which calculates the dish angle based on...</itunes:summary>
<description>
<![CDATA[<p><img alt="satfinder_20070823.jpg" src="http://hackszine.com/satfinder_20070823.jpg" width="500" height="320" /></p>

<p>Hackszine reader Alan writes:</p>

<blockquote>Anyone who ever installed a satellite dish knows how frustrating it is to point the dish at the satellite somewhere in the sky. I've created a unique tool which calculates the dish angle based on user location and then draws a line on the Google Maps satellite image. You can actually see your house, mark the dish position and then see where to aim the satellite dish.

<p>I've tested it on many installations and the accuracy is amazing, it gets it spot on. </p>

<p>The site is a UK site but the tool works world wide for any satellite and any location. This is a genuinely useful tool for  a lot of people.</blockquote></p>

<p>This is pretty neat.  In addition to just drawing a line on the map, you can see how far the satellite is from your location and what the proper elevation angle should be on the dish.  This could be useful for determining the nearest or least obstructed satellite for your home.</p>

<p>Google Maps Satellite Alignment Calculator - <a href="http://www.uksatellitehelp.co.uk/2007/08/12/satellite-alignment-calculator-v2/">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/08/satellite_alignment_calculator.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/08/satellite_alignment_calculator.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/08/satellite_alignment_calculator.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/08/satellite_alignment_calculator.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Thu, 23 Aug 2007 20:45:42 -0800</pubDate>

</item>

<item>
<title>HOWTO: use latitude and longitude with Google Maps</title>
<itunes:summary> Whether you want to quickly add a waypoint to your GPS, or view a map of a known location, it can often be convenient to use real latitude and longitude values with Google Maps instead of dealing with street...</itunes:summary>
<description>
<![CDATA[<p><img alt="gmaplatlon_20070802.jpg" src="http://hackszine.com/gmaplatlon_20070802.jpg" width="500" height="502" /></p>

<p>Whether you want to quickly add a waypoint to your GPS, or view a map of a known location, it can often be convenient to use real latitude and longitude values with Google Maps instead of dealing with street addresses.</p>

<p>Rerieving a map for a lat/lon value is simple enough with Google Maps.  You can simply enter the decimal latitude and longitude into the search form instead of a street address.</p>

<p>However, if you're viewing a map and you want to retrieve the lat/lon location, there unfortunately isn't a convenient "get latitude and longitude" button.  Google Maps deals with latitude and longitude locations internally, though, so with this little snippet of javascript, you can easily get the job done:</p>

<blockquote><code>javascript:void(prompt('',gApplication.getMap().getCenter())</code></blockquote>

<p>This will return the coordinates of the map's center point.  You might want to double-click a position on the map before running the above code.  Doing so will reposition that point to the center of the map automatically. </p>

<p>Get Latitude and Longitude values from Google Maps - [<a href="http://lifehacker.com/software/google-maps/how-to-find-latitude-and-longitude-267361.php">via</a>] <a href="http://www.tech-recipes.com/rx/2403/google_maps_get_latitude_longitude_values">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/08/howto_use_latitude_and_longitu.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/08/howto_use_latitude_and_longitu.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/08/howto_use_latitude_and_longitu.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/08/howto_use_latitude_and_longitu.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Thu, 02 Aug 2007 19:50:17 -0800</pubDate>

</item>

<item>
<title>Multi-hop Routes in Google Maps</title>
<itunes:summary> The ability to create multiple-hop routes was recently added to Google Maps. Not only does this let you plan a trip to New York by way of San Francisco and Tampa Florida, but you can also use the feature...</itunes:summary>
<description>
<![CDATA[<p><img alt="multidestgmap_20070628_2.jpg" src="http://hackszine.com/multidestgmap_20070628_2.jpg" width="500" height="295" /></p>

<p>The ability to create multiple-hop routes was recently added to Google Maps.  Not only does this let you plan a trip to New York by way of San Francisco and Tampa Florida, but you can also use the feature to adjust a more conventional route.  You might do this to manually avoid road construction or traffic jams that you know about.</p>

<p>To use the feature, you simply drag a point on the blue line to another position.  The map will automatically compute a new route that crosses through the new position.</p>

<p>You can make use of this functionality from the standard map APIs as well.  Before, start and destination addresses were specified by the saddr and daddr parameters:</p>

<blockquote><code>http://maps.google.com/maps?saddr=start+address&daddr=destination+address</code></blockquote>

<p>With multiple hops, you just encode all the hops into the destination address, seperated by "to:".  For example, "destination1 to:destination2 to:final destination":</p>

<blockquote><code>http://maps.google.com/maps?<br>saddr=minneapolis%2C+mn& daddr=san+francisco%2C+ca+<br>to%3Atampa%2C+fl+<br>to%3Anew+york%2C+new+york</code></blockquote>

<p><a href="http://maps.google.com/maps?saddr=minneapolis%2C+mn&daddr=san+francisco%2C+ca+to%3Atampa%2C+fl+to%3Anew+york%2C+new+york">Link.</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/06/multihop_routes_in_google_maps.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/06/multihop_routes_in_google_maps.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/06/multihop_routes_in_google_maps.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/06/multihop_routes_in_google_maps.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Thu, 28 Jun 2007 21:26:54 -0800</pubDate>

</item>

<item>
<title>Removing yourself from Street View</title>
<itunes:summary> Threat Level recently ran a story about Kevin Bankston, the EFF attorney who decided to test the take-down procedure for privacy-infringing photos within Google&apos;s Street View. Initially, Google required a wealth of information before removing the photo, but they...</itunes:summary>
<description>
<![CDATA[<p><img alt="streetviewremoval_20070617.jpg" src="http://hackszine.com/streetviewremoval_20070617.jpg" width="500" height="263" /></p>

<p>Threat Level recently ran a story about Kevin Bankston, the EFF attorney who decided to test the take-down procedure for privacy-infringing photos within Google's Street View.  Initially, Google required a wealth of information before removing the photo, but they changed their policy, requiring only your name and the location the image was taken.  Kevin submitted the information, and the photo was promptly taken down.</p>

<p>If you've found an image of yourself cruising around town when you were supposed to be at home with a fever, here's what you do:</p>

<ul><li>View the privacy-infringing image in Street View</li><li>Click the "Street View Help" link</li><li>Click the "report inappropriate image" link and fill out the details</li></ul>

<p>Presumably, once you've done this, Google will contact you via email and you'll have to reply with your name and a confirmation that you're the person in the image.</p>

<p>Here's the rub, though: if someone else already caught you playing hooky, there's no point in removing the image anymore.  Effectively, you'll need to find any compromising images before anyone else does.</p>

<p>There's also a second problem.  You may need to report more than one image.  Kevin may have had his reported image <a href="http://maps.google.com/maps?f=q&hl=en&sll=25.863085,-80.218906&sspn=0.031898,0.058365&ie=UTF8&om=1&layer=c&cbll=37.760298,-122.417993&cbp=1,194.761071001783,0.620031752615642,3&ll=37.764608,-122.417285&spn=0.012247,0.020084&z=16">removed from the database</a>, but I found him again <a href="http://maps.google.com/maps?f=q&hl=en&ie=UTF8&om=0&layer=c&cbll=37.760324,-122.417605&cbp=1,250.375455641805,0.51860754424069,3&ll=37.76449,-122.41632&spn=0.012281,0.01781&z=16">just up the street</a>.</p>

<p>Want Off Street View?  Details and discussion at Threat Level - <a href="http://blog.wired.com/27bstroke6/2007/06/want_off_street.html">Link</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/06/removing_yourself_from_street.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/06/removing_yourself_from_street.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/06/removing_yourself_from_street.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/06/removing_yourself_from_street.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Sun, 17 Jun 2007 21:05:21 -0800</pubDate>

</item>

<item>
<title>Google Maps Street View</title>
<itunes:summary> Google launched the Street View feature in Google Maps today at the Where 2.0 conference. For select cities, you can now view street-level panoramic photography as you browse around a map location. It&apos;s like being able to take a...</itunes:summary>
<description>
<![CDATA[<p><img alt="streetview_20070529.jpg" src="http://hackszine.com/streetview_20070529.jpg" width="500" height="380" /><br />
Google launched the Street View feature in Google Maps today at the Where 2.0 conference.  For select cities, you can now view street-level panoramic photography as you browse around a map location.  It's like being able to take a virtual driving tour of a city, right from your desk.</p>

<p>There is a little minifig that you can drag around the map.  When you release it, a small flash application is overlayed above the map which displays the panoramic photo for that location.  Greg Sadetsky used the freeware ActionScript decompiler, Flare, to investigate the viewer's source.  If you curious about how the viewer works, that might be a good place to start - [<a href="http://radar.oreilly.com/archives/2007/05/where_20_google_2.html">via</a>] <a href="http://gregsadetsky.com/?p=81">Link.</a></p>

<p>Fabian K. notes that Google has been using GeoIP lookups quite frequently to restrict beta features to specific locales and the street view feature is no exception.  If you are outside the US, you can enable street view by adding a &amp;gl=us to the end of the maps.google.com url.  You'll still only be able to view the handful of cities that have pano-image data, but you can at least get a glipse for what's coming - <a href="http://favdiggs.blogspot.com/2007/05/howto-google-maps-street-view-outside.html">Link.</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/05/google_maps_street_view.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/05/google_maps_street_view.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/05/google_maps_street_view.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/05/google_maps_street_view.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Tue, 29 May 2007 20:23:01 -0800</pubDate>

</item>

<item>
<title>Cross country motorcycle map mashup</title>
<itunes:summary> Ryan from 5Pears.org stopped by the Hacks booth at the Maker Faire yesterday. He&apos;s been traveling for the last 50 days across the country on his bike, using his phone and a GPS to automatically update a map which...</itunes:summary>
<description>
<![CDATA[<p><img alt="motorcyclegmaps_20070520.jpg" src="http://hackszine.com/motorcyclegmaps_20070520.jpg" width="499" height="499" /><br />
Ryan from 5Pears.org stopped by the Hacks booth at the Maker Faire yesterday.  He's been traveling for the last 50 days across the country on his bike, using his phone and a GPS to automatically update a map which details the route he's taken, where he is, and where he's stopped for things like gas and food.</p>

<p>When you're on the road that long and mapping your adventure in real-time, there's a bit of a security need that needs to be considered.  Ryan wanted to let his friends and family know where he is, but he didn't exactly want to give out information about where he is currently camping.  His solution was to have the PHP script that runs his site monitor his location for movement.  If he's been staying within the the same general location, the data won't be plotted to the map until he's moved somewhere else.</p>

<p>5 Pears travel blog - <a href="http://5pears.org/">Link.</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/05/cross_country_motorcycle_map_m.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/05/cross_country_motorcycle_map_m.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/05/cross_country_motorcycle_map_m.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/05/cross_country_motorcycle_map_m.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Sun, 20 May 2007 10:08:15 -0800</pubDate>

</item>

<item>
<title>Send a Mother&apos;s Day GeoGreeting</title>
<itunes:summary> Fans of Jesse Vig&apos;s GeoGreeting (profiled here for Valentine&apos;s Day) might want to check back in to send a Mother&apos;s Day greeting on Sunday. Jesse wrote in to let us know that somebody found a building with a really...</itunes:summary>
<description>
<![CDATA[<p><img alt="mothers_day_geogreeting.jpg" src="http://hackszine.com/mothers_day_geogreeting.jpg" width="500" height="347" /></p>

<p>Fans of Jesse Vig's <a href="http://www.geogreeting.com/main.html">GeoGreeting</a> (<a href="http://www.hackszine.com/blog/archive/2007/02/send_a_valentines_day_geogreet.html">profiled here for Valentine's Day</a>) might want to check back in to send a Mother's Day greeting on Sunday. Jesse wrote in to let us know that<blockquote> somebody found a building with a really cool flower design, so I added a temporary flower emoticon in honor of Mother's Day.</blockquote>A sweet touch for geeky moms (or loving mothers of geeky offspring) anywhere. </p>

<p><br>Here's that building in its geographical context, San Antonio, Texas:</p>

<p><img alt="http___www.geogreeting.com%20-%20San%20Antonio%2C%20TX.jpg" src="http://hackszine.com/http___www.geogreeting.com%20-%20San%20Antonio%2C%20TX.jpg" width="500" height="347" /></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/05/send_a_mothers_day_geogreeting.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/05/send_a_mothers_day_geogreeting.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/05/send_a_mothers_day_geogreeting.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/05/send_a_mothers_day_geogreeting.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Tue, 08 May 2007 08:01:12 -0800</pubDate>

</item>

<item>
<title>Use Google Earth as GPS</title>
<itunes:summary> In the latest installment of Kevin Kelly&apos;s Cool Tools, Alexander Rose shows how to use Google Earth to provide cost-effective GPS mapping in real time:I have been doing a lot of exploring and surveying in the desert recently, and...</itunes:summary>
<description>
<![CDATA[<p><img alt="Google GPS" src="http://hackszine.com/google-gps.jpg" width="399" height="250" /></p>

<p>In the latest installment of Kevin Kelly's <a href="http://www.kk.org/cooltools">Cool Tools</a>, Alexander Rose shows how to use Google Earth to provide cost-effective GPS mapping in real time:<blockquote>I have been doing a lot of exploring and surveying in the desert recently, and have been trying to find the right GPS mapping solution. The solution I found incorporated stuff I already had (laptop and GPS) with the help of some excellent, nearly free software. The best part is that it works even better than the $900 in-car GPS solutions as it uses always up-to-date satellite data, and is easily sharable.</p>

<p><br>Basically you run Google Earth and use some great donation-ware to link it in real time to a GPS. This means that your mapping software and maps worldwide are not only free, but you also get hi-res satellite views and in some cases 3D buildings (in downtown areas).</blockquote>The trick of this hack is getting Google Earth to work offline, when you're disconnected from the Internet, by updating the cache for your destination before you leave. Alexander's favorite part if his setup allows him to save a route and share it with others. <a href="http://www.kk.org/cooltools/archives/001623.php">Check out his post</a> for complete software, hardware, and connection details.</p>

<p><br><strong>Related:</strong></p>

<ul><li><a href="http://store.makezine.com/ProductDetails.asp?ProductCode=0596007035">Mapping Hacks</a>
<li><a href="http://store.makezine.com/ProductDetails.asp?ProductCode=0596101619">Google Maps Hacks</a></ul>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/03/use_google_earth_as_gps.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/03/use_google_earth_as_gps.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/03/use_google_earth_as_gps.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/03/use_google_earth_as_gps.html?CMP=OTC-7G2N43923558</guid>
<category>Mapping</category>
<pubDate>Tue, 13 Mar 2007 06:02:57 -0800</pubDate>

</item>

<item>
<title>Get Google Earth Resolution in Google Maps</title>
<itunes:summary> At Google Blogoscoped, Philipp Lenssen has a great Google Maps hack to overclock the resolution of Google Maps, bumping any location up to the resolution available in Google Earth, simply by tweaking the URL:Select a location and switch to...</itunes:summary>
<description>
<![CDATA[<p><img alt="Google Maps Zoom of FOO Camp" src="http://hackszine.com/maps_zoom_full.jpg" width="499" height="247" /></p>

<p>At Google Blogoscoped, <a href="http://blog.outer-court.com/archive/2007-03-07-n12.html">Philipp Lenssen has a great Google Maps hack</a> to overclock the resolution of Google Maps, bumping any location up to the resolution available in Google Earth, simply by tweaking the URL:<ul><li>Select a location and switch to satellite view<br />
<li>Zoom in as far as you can, and click "link to this page" at the top right<br />
<li>Now replace the "z" parameter in the URL with a higher value, e.g. 20, 22, or 23, and wait. Some locations will now show more detailed imagery</ul>During last year's <a href="http://wiki.oreillynet.com/foocamp06/">FOO Camp</a>, Google flew over O'Reilly's Sebastopol campus to get some high-rez shots of the event. They <a href="http://briansawyer.wordpress.com/2007/01/03/google-captures-foo-camp/">added these shots to Google Maps this past January</a>, but the resolution was much higher in Google Earth. With this hack, you can get the same resolution in Google Maps that's been available in Google Earth for a while.</p>

<p><br>So, if you surf over to <a href="http://maps.google.com/maps?f=q&hl=en&q=1005+Gravenstein+Hwy+N,+Sebastopol,+CA+95472&sll=38.411294,-122.840041&sspn=0.001185,0.003672&layer=&ie=UTF8&om=1&z=22&ll=38.411245,-122.84039&spn=0.000148,0.000459&t=k&iwloc=addr">1005 Gravenstein Highway North, Sebastopol, CA 95472</a> (with the z parameter set to 22), here's what you'll see, right down to the "Welcome to FOO Camp" sign:</p>

<p><img alt="Google Maps Zoom of FOO Camp" src="http://hackszine.com/maps_zoom_tight.jpg" width="499" height="337" /></p>

<p>That's me in the khaki pants. I'm having a great conversation with <a href="http://craftzine.com/blog">Natalie Zee Drieu</a> and <a href="http://doriafan.com/">Doria Fan</a>.</p>

<p><em>(via <a href="http://lifehacker.com/software/google-maps/hack-google-maps-urls-to-zoom-way-in-242461.php">Lifehacker</a>)</em></p>

<p><strong>Related:</strong><br />
<ul><li><a href="http://store.makezine.com/ProductDetails.asp?ProductCode=0596101619">Google Maps Hacks</a></ul></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/03/get_google_earth_resolution_in.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/03/get_google_earth_resolution_in.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/03/get_google_earth_resolution_in.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/03/get_google_earth_resolution_in.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Thu, 08 Mar 2007 04:12:08 -0800</pubDate>

</item>

<item>
<title>Google Maps Traffic Status</title>
<itunes:summary> Google Maps has added traffic information for more than 30 U.S. cities.If available in your area, real-time traffic conditions will be displayed over the highway as color coded lines. Each color represents how fast the traffic is moving:Green: more...</itunes:summary>
<description>
<![CDATA[<p><img alt="gmaptraffic_20070301.jpg" src="http://hackszine.com/gmaptraffic_20070301.jpg" width="500" height="276" /><br />
Google Maps has added traffic information for more than 30 U.S. cities.<blockquote>If available in your area, real-time traffic conditions will be displayed over the highway as color coded lines. Each color represents how fast the traffic is moving:<ul><li>Green: more than 50 miles per hour</li><li>Yellow: 25 - 50 miles per hour</li><li>Red: less than 25 miles per hour</li><li>Gray: no data currently available</li></ul></blockquote>Now if we can just find a way to scrape that information and automate a traffic status feed for a specified route.  Any ideas?  Please share 'em in the comments. [<a href="http://lifehacker.com/software/google-maps/google-maps-traffic-information-240397.php">via</a>] - <a href="http://googleblog.blogspot.com/2007/02/stuck-in-traffic.html">Link</a></p>

<p><br><strong>Related:</strong><br />
<ul><li><a href="http://store.makezine.com/ProductDetails.asp?ProductCode=0596101619">Google Maps Hacks</a></li></ul></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/03/google_maps_traffic_status.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/03/google_maps_traffic_status.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/03/google_maps_traffic_status.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/03/google_maps_traffic_status.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Thu, 01 Mar 2007 01:24:53 -0800</pubDate>

</item>

<item>
<title>Send a Valentine&apos;s Day GeoGreeting</title>
<itunes:summary> For anyone looking for a last-minute Valentine to send instantly, Google Maps Mania advises heading over to GeoGreeting.com: a virtual greeting site that lets you send a message to others on the web using buildings that are in the...</itunes:summary>
<description>
<![CDATA[<p><img alt="GeoGreeting Valentine" src="http://www.hackszine.com/blog/archive/geogreeting.jpg" width="499" height="342" /></p>

<p>For anyone looking for a last-minute Valentine to send instantly, <a href="http://googlemapsmania.blogspot.com/2007/02/valentines-day-google-maps-mashups.html">Google Maps Mania</a> advises heading over to <a href="http://GeoGreeting.com">GeoGreeting.com</a>:<blockquote> a virtual greeting site that lets you send a message to others on the web using buildings that are in the shape of letters and punctuation. In <a href="http://www.youtube.com/watch?v=aIHOHxYSgoY">this recent tv news piece</a> where GeoGreeting's creator Jesse Vig was profiled he put out a call to help find a heart shaped building in time for the anticipated traffic rush to his site for Valentine's Day.</blockquote><p>Vig eventually found his heart shape in Turkljaca, Croatia Island:</p></p>

<p><img alt="GeoGreeting Heart" src="http://www.hackszine.com/blog/archive/heart.jpeg" width="408" height="357" /></p>

<p>The heart shape is as quick and easy to insert as any letter, so get to GeoGreeting.com to send your personalized message before everyone else does.</p>

<p><strong>Related:</strong></p>

<ul><li><a href="http://store.makezine.com/ProductDetails.asp?ProductCode=0596101619">Google Maps Hacks</a></ul>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/02/send_a_valentines_day_geogreet.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/02/send_a_valentines_day_geogreet.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/02/send_a_valentines_day_geogreet.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/02/send_a_valentines_day_geogreet.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Wed, 14 Feb 2007 05:03:50 -0800</pubDate>

</item>

<item>
<title>Simple Zip Code Geocoding</title>
<itunes:summary> The ability to geocode, or translate into latitude and longitude, postal codes is a fairly useful hack to have in your programming toolbox. Quick and dirty zip geocoding allows you to do some neat things fairly efficiently and with...</itunes:summary>
<description>
<![CDATA[<p><img alt="mpls_20070203.jpg" src="http://www.hackszine.com/blog/archive/mpls_20070203.jpg" width="500" height="212" /></p>

<p>The ability to geocode, or translate into latitude and longitude, postal codes is a fairly useful hack to have in your programming toolbox.  Quick and dirty zip geocoding allows you to do some neat things fairly efficiently and with a minimal amount of code.  Though it's U.S. centric, it allows you to add location-based functionality to your apps without requiring any real personal information to be transfered or stored.</p>

<p>If your application only needs to convert a zip code (or any address) into a lat/lon coordinate, say for simple mapping purposes, the easiest solution is  to use the <a href="http://www.google.com/apis/maps/documentation/#Geocoding_Examples">Google Maps Geocoding API</a>.  In addition to the client-side javascript functionality, you can directly query the geocoding system from php using an http request like this:</p>

<p><code>http://maps.google.com/maps/geo?q=12345&output=xml&key=yourkeyhere</code></p>

<p>Just change 12345 to the zip (or any address) that you are looking up, and "yourkeyhere" should be your Google Map API key, which you can obtain <a href="http://www.google.com/apis/maps/signup.html">here</a>.  Developer.com has a good <a href="http://www.developer.com/db/article.php/3621981">PHP example</a> for making use of the returned XML in your server-side code.</p>

<p>Often times, it's useful to be able to do zip lookups based on a geographic region.  Maybe you want a list of all zip codes within a certain radius or bounding box.  Applications for this could include clustering map items that are near eachother, or searching a database for items that are nearest to a given location.  For this, it's really nice to have a MySQL table that contains zip codes along with their lat/lon coordinates.  Fortunately, several people have compiled this sort of information from public domain data, and you can even download a full <a href="http://nerdvittles.com/index.php?p=160">MySQL table dump here</a>, for free.</p>

<p>At this point, it's a pretty simple matter to query the database for location-based information.  For instance, let's say you have a web site with a guestbook that allows guests to leave their name and zip.  You could easily whip up an application that tells your guests how many other guests are in their area by using a basic bounding box with a query like this:</p>

<p><code>SELECT guest.name from guest, zipcode<br />
WHERE guest.zip = zipcode.zip<br />
AND zipcode.lat < [maxlat] AND zipcode.lat > [minlat]<br />
AND zipcode.lng < [maxlng] AND zipcode.lng > [minlng]</code></p>

<p>These are just a few ideas, but hopefully this should be enough to get you started.  If you have some good ideas for other geocoding applications (or any mapping/gis hacks in general), please give us a shout in the comments.</p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/02/simple_zip_code_geocoding.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/02/simple_zip_code_geocoding.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/02/simple_zip_code_geocoding.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/02/simple_zip_code_geocoding.html?CMP=OTC-7G2N43923558</guid>
<category>Mapping</category>
<pubDate>Sat, 03 Feb 2007 21:42:45 -0800</pubDate>

</item>

<item>
<title>Map Your Books</title>
<itunes:summary> The folks at Google have answered a great rhetorical question with an even better internal mashup of Google Books Search and Google Maps:So why not visualize places mentioned in books on a map? Now you can. Our team has...</itunes:summary>
<description>
<![CDATA[<p><img alt="Google Maps Books" src="http://www.hackszine.com/blog/archive/Where_Google.jpg" width="499" height="376" /></p>

<p>The folks at Google have answered a great rhetorical question with an even better <a href="http://booksearch.blogspot.com/2007/01/books-mapped.html">internal mashup of Google Books Search and Google Maps</a>:<blockquote>So why not visualize places mentioned in books on a map? Now you can. Our team has begun to animate the static information found in books by organizing a sample of locations from them on an interactive Google Map, with snippets of text from the book, and links to the actual pages where the locations are mentioned. When our automatic techniques determine that there are a good number of quality locations from a book to show you, you'll find a map on the "About this book" page.</blockquote>Though the service works for any books available in <a href="http://books.google.com/">Google Book Search</a>, it's much more interesting for novels or narrative nonfiction than with technical books like <a href="http://books.google.com/books?vid=ISBN0596527063&id=crRa_WNXZHoC&dq=google+hacks+third">this one</a>. Perhaps it will finally help me find my way around <a href="http://books.google.com/books?id=2goK4HJO2VkC">War and Peace</a>, though what I really need for that book is a character map.</p>

<p><br><strong>Related:</strong><br />
<ul><li><a href="http://www.oreilly.com/catalog/googlehks3">Google Hacks, 3E</a><br />
<li><a href="http://www.oreilly.com/catalog/googlemapshks">Google Maps Hacks</a></ul></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/01/map_your_books.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/01/map_your_books.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/01/map_your_books.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/01/map_your_books.html?CMP=OTC-7G2N43923558</guid>
<category>Google Maps</category>
<pubDate>Mon, 29 Jan 2007 07:50:11 -0800</pubDate>

</item>


</channel>
</rss>