<?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>Berlin Guidebook &#8211; discontinuity</title>
	<atom:link href="https://discontinuity.ca/?feed=rss2&#038;tag=berlin-guidebook" rel="self" type="application/rss+xml" />
	<link>https://discontinuity.ca</link>
	<description>Adina Bogert-O&#039;Brien</description>
	<lastBuildDate>Fri, 09 Jan 2015 16:49:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>DIY Guidebook &#8211; Parsing OSM data</title>
		<link>https://discontinuity.ca/?p=154</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 09 Jan 2015 16:28:31 +0000</pubDate>
				<category><![CDATA[mapping]]></category>
		<category><![CDATA[Berlin Guidebook]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[QGIS]]></category>
		<guid isPermaLink="false">https://discontinuity.ca/?p=154</guid>

					<description><![CDATA[<p><img width="326" height="183" src="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-326x183.png" class="attachment-visual-thumbnail size-visual-thumbnail wp-post-image" alt="" loading="lazy" srcset="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-326x183.png 326w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-300x169.png 300w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-1024x576.png 1024w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-400x225.png 400w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-700x394.png 700w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36.png 1366w" sizes="(max-width: 326px) 100vw, 326px" /></p>I used the Geofabrik package of OpenStreetMap data for Berlin as a basis for several layers in my map. Once I unpackaged the file to a simple .osm, it&#8217;s over 700 MB. I did try to open this in QGIS, but&#8230; that didn&#8217;t work so well. Fortunately, you can filter the file before bringing it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img width="326" height="183" src="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-326x183.png" class="attachment-visual-thumbnail size-visual-thumbnail wp-post-image" alt="" loading="lazy" srcset="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-326x183.png 326w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-300x169.png 300w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-1024x576.png 1024w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-400x225.png 400w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-700x394.png 700w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36.png 1366w" sizes="(max-width: 326px) 100vw, 326px" /></p><p>I used the <a href="http://download.geofabrik.de/">Geofabrik</a> package of OpenStreetMap data for Berlin as a basis for several layers in my map. Once I unpackaged the file to a simple .osm, it&#8217;s over 700 MB. I did try to open this in QGIS, but&#8230; that didn&#8217;t work so well.<span id="more-154"></span></p>
<p>Fortunately, you can filter the file before bringing it into your mapping software using <a href="http://wiki.openstreetmap.org/wiki/Osmfilter">osmfilter</a>. The <a href="http://wiki.openstreetmap.org/wiki/Main_Page">OSM wiki</a> and/or the query feature on <a href="openstreetmaps.org">openstreetmaps.org</a> will help you figure out how to filter for what you&#8217;re interested in.</p>
<p>For example: I wanted to grab all the museums that OpenStreetMap knows about. I looked on the OSM wiki for museums. <a href="http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmuseum">This page</a> shows that museums will be labelled with the tag &#8220;tourism=museum&#8221;. Then I ran this command:</p>
<p><code>./osmfilter berlin-latest.osm --keep="tourism=museum" -o=museums.osm</code></p>
<p>This runs the osmfilter script (located in the folder in which I&#8217;m executing the command) on the berlin-latest.osm. It exports a file museums.osm that includes only those objects with the tag &#8220;tourism=museum&#8221;.</p>
<p>I separated the transit information I wanted to import into stations and lines. It&#8217;s also divided by operator and type (S-Bahn, U-Bahn, tram, etc). To get the U-Bahn stations, for example, I ran</p>
<p><code>./osmfilter berlin-latest.osm --keep"railway=station AND station=subway" -o=ubahnstations.osm</code></p>
<p>For the tram lines, I ran commands like this:</p>
<p><code>./osmfilter berlin-latest.osm --keep"route=tram AND operator=BVG" -o=trams/TramWays.osm</code></p>
<p><code>./osmfilter trams/TramWays.osm --keep"ref=M1" -o=trams/M1.osm</code></p>
<p>I could definitely also have left the tram routes all as one file and done filtering in QGIS to change the colour, but this way seemed easier.</p>
<p>Here&#8217;s how it looks after I import some layers this way:</p>
<p><a href="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36.png"><img loading="lazy" class="alignnone wp-image-156 size-medium" src="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-300x169.png" alt="QGIS with imported layers" width="300" height="169" srcset="https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-300x169.png 300w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-1024x576.png 1024w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-400x225.png 400w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-326x183.png 326w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36-700x394.png 700w, https://discontinuity.ca/wp-content/uploads/2015/01/Screen-Shot-2015-01-09-at-17.20.36.png 1366w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DIY Guidebook &#8211; Brainstorming and Project Introduction</title>
		<link>https://discontinuity.ca/?p=138</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 09 Jan 2015 14:02:42 +0000</pubDate>
				<category><![CDATA[mapping]]></category>
		<category><![CDATA[Berlin Guidebook]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[QGIS]]></category>
		<category><![CDATA[work in progress]]></category>
		<guid isPermaLink="false">https://discontinuity.ca/?p=138</guid>

					<description><![CDATA[Rob and I get many guests in our place in Berlin. We have a pile of guidebooks, museum pamphlets, and other stuff for people to look through while they&#8217;re here, but I like to give them a personalized guidebook with stuff I really like in it. I&#8217;ve had the Moleskine City Notebooks before, but they [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Rob and I get many guests in our place in Berlin. We have a pile of guidebooks, museum pamphlets, and other stuff for people to look through while they&#8217;re here, but I like to give them a personalized guidebook with stuff I really like in it. <span id="more-138"></span></p>
<p>I&#8217;ve had the <a href="http://www.moleskine.com/en/collections/model/product/city-notebook-berlin">Moleskine City Notebooks</a> before, but they have the persistent habit of walking off. This is a paaaain, especially after I&#8217;ve entered all kinds of information into the book by hand. Also, I always make mistakes when writing in the books &#8211; apartment on the wrong side of the street, wrong labels on the pages, tram lines going the wrong place &#8211; and there&#8217;s no eraser for my felt tipped pens.</p>
<p>Modern technology means I shouldn&#8217;t have to do this! I will make a little booklet out of A4 folded once to give to guests. This way they can write in it and take it home and I can generate custom maps if I want.</p>
<p>Project plan:</p>
<ul>
<li>make maps including index overlay in <a href="http://www.qgis.org/en/site/">QGIS</a></li>
<li>generate text pages in LaTeX</li>
<li>use LaTeX or some other plugin to generate a pdf for printing and binding (proper page ordering)</li>
</ul>
<p>What I&#8217;d eventually like to do is:</p>
<ul>
<li>write a script so I can have a booklet be generated automatically (query QGIS, export to image, concatenate to pdf)</li>
<li>have map layers be selectable in the script (some people don&#8217;t like coffee, some people are really into transit history, etc)</li>
</ul>
<p>Some problems I&#8217;ve already encountered:</p>
<ul>
<li>QGIS isn&#8217;t the most stable program. I have some paths and nodes imported from <a href="http://www.openstreetmap.org">OSM</a>, but I don&#8217;t think it&#8217;s an unreasonable amount? Anyway, being patient and saving often seems to be enough to keep me from losing too much data.</li>
<li>The <a href="http://hub.qgis.org/projects/openlayers/wiki">OpenLayers</a> plugin acts a little strange when exporting maps. The resolution of the exported maps is usually pretty crap, and sometimes the maps are offset from where they should be. I&#8217;d like to solve this one by using a georeferenced image / images at useful resolutions.</li>
<li>I don&#8217;t seem to understand how the scale bars in the exported images work. They seem to be wrong most of the time, which suggests I&#8217;m doing something wrong.</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
