<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
>

<channel>
	<title>nearby.org.uk blog &#187; scary</title>
	<atom:link href="http://www.nearby.org.uk/blog/tag/scary/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nearby.org.uk/blog</link>
	<description>GIS, maps, mapping, geo, UK, Geograph, PHP, Perl and more</description>
	<lastBuildDate>Fri, 01 Jul 2011 18:59:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Leaky and verbose URL parameters&#8230;</title>
		<link>http://www.nearby.org.uk/blog/2009/02/18/leaky-verbose-url-parameters/</link>
		<comments>http://www.nearby.org.uk/blog/2009/02/18/leaky-verbose-url-parameters/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 23:03:32 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[scary]]></category>

		<guid isPermaLink="false">http://www.nearby.org.uk/blog/?p=254</guid>
		<description><![CDATA[Disclaimer: this post is a rant &#8211; turn away now! I can&#8217;t keep quiet about this any longer, its getting me more and more annoyed. Google Maps includes a &#8220;Link&#8221; function &#8211; which creates a link to the current map, which is very useful &#8211; particully as the map is estentially &#8216;ajax&#8217; style, but the [...]]]></description>
			<content:encoded><![CDATA[<p>Disclaimer: this post is a rant &#8211; turn away now!</p>
<p>I can&#8217;t keep quiet about this any longer, its getting me more and more annoyed. Google Maps includes a &#8220;Link&#8221; function &#8211; which creates a link to the current map, which is very useful &#8211; particully as the map is estentially &#8216;ajax&#8217; style, but the parameters are definitly starting to suffer rot and lack of &#8216;love&#8217; in maintaining them. </p>
<p>For example to just display a simple KML file, you get this corker:</p>
<blockquote><p>http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=http:%2F%2Fwww.geograph.org.uk%2Ffeed%2Frecent.kml&#038;g=Any+Street,+London,+UK&#038;ie=UTF8&#038;ll=55.053203,-3.208008&#038;spn=17.762194,33.793945&#038;z=5</p></blockquote>
<p>There are so many things wrong with this url, its unreal. The first is the <em>source</em> &#8211; doesnt do<br />
 anything as far as I can see, an empty (but immensely useful) <em>geocode</em>, etc; but somewhat ironically I have HAD to edit the url provided by the function before I was willing to post it here, see that <em>g</em> param &#8211; yes that&#8217;s my (now made up!) home address. </p>
<p>Yes thats right, if you not careful Google Maps might get you to inadvertently share your home address &#8211; seriouslly WTF!  </p>
<p><span id="more-254"></span></p>
<p>Ok, now I made my point will add a bit of background. It turns out the g param is the previouslly run &#8216;local search&#8217;, it would seem as it <strong>could</strong> provide extra context to the search*. But if you havent yet made a search &#8211; ie you sharing you first search &#8211; then its your starting location. And lets face it a fair number of people surely put their home/work etc location as the default location. </p>
<p>* consider this url: </p>
<blockquote><p>http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=pizza&#038;sll=51.500152,-0.126236&#038;sspn=0.625781,1.235962&#038;g=London&#038;ie=UTF8&#038;z=9</p></blockquote>
<p>I searched for London (place) and then pizza (what), as two actions, but because the map was already loaded for london on the search, I didnt bother entering london again (which is a reasonably intutive thing to do) &#8211; and just &#8216;pizza&#8217; in the query would have a harder time recreating the map. (although in this case the coordinates do the same job)</p>
<p><em>Ok you could ask why do I care, but the simple fact is I read URLs &#8211; they give a serious clue to what the page is, but with lots of clutter that is much harder&#8230; </em></p>
<p>(and for what ever reason I share a lot of Google Links, and about 90% of the times I have to edit them manually to get what I want) </p>
<p>btw, the link above could be recreated as </p>
<blockquote><p>http://maps.google.com/?q=http://www.geograph.org.uk/feed/recent.kml&#038;ll=55.053203,-3.208008&#038;spn=17.762194,33.793945&#038;z=5&#038;hl=en</p></blockquote>
<p>with NO loss, and if *I* was sharing the link would reduce it to </p>
<blockquote><p>http://maps.google.com/?q=http://www.geograph.org.uk/feed/recent.kml&#038;ll=55.0,-3.2&#038;z=5</p></blockquote>
<p> which does pretty much what I want (but admit that sort of reduction would be risky done automatically &#8211; so prefer it just stopped at the previous step) </p>
<p>(<a href="http://www.scripting.com/stories/2009/01/17/aUrlCzarForGoogle.html">via</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nearby.org.uk/blog/2009/02/18/leaky-verbose-url-parameters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

