<?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>Smart Net Studio &#187; balcaen.bert@iaac.net</title>
	<atom:link href="http://legacy.iaacblog.com/mai2012-2013-smartnet/author/balcaen-bertiaac-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://legacy.iaacblog.com/mai2012-2013-smartnet</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 07:56:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Overview of existing IoT devices and platfroms</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-smartnet/2013/01/overview-of-existing-iot-devices-and-platfroms/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-smartnet/2013/01/overview-of-existing-iot-devices-and-platfroms/#comments</comments>
		<pubDate>Mon, 14 Jan 2013 18:51:09 +0000</pubDate>
		<dc:creator>balcaen.bert@iaac.net</dc:creator>
				<category><![CDATA[Bert Balcaen]]></category>
		<category><![CDATA[Gerda Antanaityte]]></category>
		<category><![CDATA[Martin Lukac]]></category>
		<category><![CDATA[Smart Net]]></category>
		<category><![CDATA[Students]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-smartnet/?p=183</guid>
		<description><![CDATA[We collected our research in a minisite: http://www.iaac.net/iot-research/.]]></description>
				<content:encoded><![CDATA[<p>We collected our research in a minisite: <a href="http://www.iaac.net/iot-research/">http://www.iaac.net/iot-research/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-smartnet/2013/01/overview-of-existing-iot-devices-and-platfroms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick tutorial: displaying events in Barcelona on a map</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-smartnet/2013/01/quick-tutorial-displaying-events-in-barcelona-on-a-map/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-smartnet/2013/01/quick-tutorial-displaying-events-in-barcelona-on-a-map/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 00:14:07 +0000</pubDate>
		<dc:creator>balcaen.bert@iaac.net</dc:creator>
				<category><![CDATA[Bert Balcaen]]></category>
		<category><![CDATA[Smart Net]]></category>
		<category><![CDATA[Students]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-smartnet/?p=173</guid>
		<description><![CDATA[In my search for easy to use mapping tools I decided to test CartoDB. This is a quick tutorial for importing this week&#8217;s event calendar from the City of Barcelona&#8217;s Open Data Portal into CartoDB. Here is the result: The data is in XML (which is not supported by CartoDB) and contains way too much [...]]]></description>
				<content:encoded><![CDATA[<p>In my search for easy to use mapping tools I decided to test <a href="http://cartodb.com/">CartoDB</a>. This is a quick tutorial for importing this week&#8217;s event calendar from the <a href="http://w20.bcn.cat/opendata/">City of Barcelona&#8217;s Open Data Portal</a> into CartoDB. Here is the result:</p>
<p><iframe width='730' height='600' frameborder='0' src='http://bertbalcaen.cartodb.com/tables/agenda/embed_map?title=false&#038;description=true&#038;search=false&#038;shareable=false&#038;sql=&#038;sw_lat=41.30979233971626&#038;sw_lon=1.77978515625&#038;ne_lat=41.49932105451145&#038;ne_lon=2.59002685546875'></iframe></p>
<p>The data is in XML (which is not supported by CartoDB) and contains way too much info, so first I had to convert it to CSV. </p>
<p>Here is a short PHP script that will grab the XML and turn it into CSV with event name, latitude and longitude. Other fields could be added easily if necessary.</p>
<p><code><br />
$fp = fopen('agenda.csv', 'w');<br />
$xml = new SimpleXMLElement(file_get_contents('http://www.bcn.cat/tercerlloc/agendaAvui.xml'));<br />
foreach ($xml->body->resultat->actes->acte as $acte) {<br />
	$name = $acte->nom;<br />
	$co = $acte->lloc_simple->adreca_simple->coordenades->googleMaps;<br />
	fputcsv($fp, array($name, $co['lat'], $co['lon']));<br />
}<br />
</code></p>
<p>You can save this into a file called grab_bcn_events.php and run this from the command line:</p>
<p><code><br />
php grab_bcn_events.php<br />
</code></p>
<p>It will dump the CSV data into a file called agenda.csv in the same directory as the PHP script.</p>
<p>After creating a CartoDB account you can import to file into it. You&#8217;ll need to let CartoDB know which are the location fields by clicking on &#8216;georeference&#8217;. Then you can switch to the map view, and on the right there&#8217;s an icon to edit the contents of the info window. If you enable the title field then that piece of information will appear when clicking on the icon in the map.</p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-smartnet/2013/01/quick-tutorial-displaying-events-in-barcelona-on-a-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data recording platforms, citizen-run sensor network &amp; visualization</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-smartnet/2012/12/data-recording-platforms-citizen-run-sensor-network-visualization/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-smartnet/2012/12/data-recording-platforms-citizen-run-sensor-network-visualization/#comments</comments>
		<pubDate>Wed, 12 Dec 2012 17:45:39 +0000</pubDate>
		<dc:creator>balcaen.bert@iaac.net</dc:creator>
				<category><![CDATA[Bert Balcaen]]></category>
		<category><![CDATA[Smart Net]]></category>
		<category><![CDATA[Students]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-smartnet/?p=124</guid>
		<description><![CDATA[Presentation on: Data recording platforms The value of citizen-run sensor networks Applications Noise pollution Slides are here.]]></description>
				<content:encoded><![CDATA[<p>Presentation on:</p>
<ol>
<li>Data recording platforms</li>
<li>The value of citizen-run sensor networks</li>
<li>Applications</li>
<li>Noise pollution</li>
</ol>
<p><a href="http://theworldneedsmoredreamers.net/files/smart_citizens_initial_research_presentation">Slides are here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-smartnet/2012/12/data-recording-platforms-citizen-run-sensor-network-visualization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
