<?xml version='1.0' encoding='utf-8'?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://www.w3.org/2005/Atom" xmlns:ns1="http://purl.org/rss/1.0/modules/syndication/" xmlns:ns2="com-wordpress:feed-additions:1" xmlns:ns4="http://purl.org/rss/1.0/modules/content/" version="2.0">

<channel>
	<title>geotagging Archives - geojournalism.org</title>
	<ns0:link href="https://geojournalism.org/tag/geotagging/feed/" rel="self" type="application/rss+xml" />
	<link />
	<description>Best tools for multimedia reporting</description>
	<lastBuildDate>Fri, 31 Oct 2014 18:57:58 +0000</lastBuildDate>
	<language>en-US</language>
	<ns1:updatePeriod>
	hourly	</ns1:updatePeriod>
	<ns1:updateFrequency>
	1	</ns1:updateFrequency>
	

<image>
	<url>https://s0.wp.com/i/webclip.png</url>
	<title>geotagging Archives - geojournalism.org</title>
	<link />
	<width>32</width>
	<height>32</height>
</image> 
<ns2:site>239681374</ns2:site>	<item>
		<title>How to Map Photos Using OpenStreetMap and TileMill</title>
		<link>https://geojournalism.org/2013/08/how-to-map-photos-using-openstreetmap-and-tilemill/</link>
		
		<dc:creator>Mikel Maron</dc:creator>
		<pubDate>Wed, 14 Aug 2013 21:29:27 +0000</pubDate>
				<category>Maps</category>
		<category>cartography</category>
		<category>geotagging</category>
		<category>map design</category>
		<category>Open Street Map</category>
		<guid isPermaLink="false">https://geojournalism.oeco.org.br/?p=268</guid>

					<description>&lt;p&gt;This guide takes four steps, demonstrating an overview of the whole flow and connection between four tools to build a photo map. This guide will hit the main points and highlight how the tools connect up with open data Introduction Recently, we organized a fun skill share with Map Kibera, and then again with Transparent [&amp;#8230;]&lt;/p&gt;
&lt;p&gt;The post &lt;a href="https://geojournalism.org/2013/08/how-to-map-photos-using-openstreetmap-and-tilemill/"&gt;How to Map Photos Using OpenStreetMap and TileMill&lt;/a&gt; appeared first on &lt;a href="https://geojournalism.org"&gt;geojournalism.org&lt;/a&gt;.&lt;/p&gt;
</description>
										<ns4:encoded>&lt;p&gt;This guide takes four steps, demonstrating an overview of the whole flow and connection between four tools to build a photo map. This guide will hit the main points and highlight how the tools connect up with open data&lt;span id="more-268"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 class="summary-item" id="introduction"&gt;&lt;a href="#introduction"&gt;Introduction&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Recently, we organized a fun skill share with &lt;a href="https://mapkibera.org/" rel="nofollow"&gt;Map Kibera&lt;/a&gt;, and then again with &lt;a href="https://www.transparentchennai.com/" rel="nofollow"&gt;Transparent Chennai&lt;/a&gt;. The idea is to use OpenStreetMap and TileMill to create an interactive photo map. Here’s the &lt;a href="https://a.tiles.mapbox.com/v3/groundtruth.map-vx5bbbu4/page.html" rel="nofollow"&gt;simple result&lt;/a&gt; from working with Map Kibera.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Want to learn to create something like this?&lt;/strong&gt; This guide takes four steps, demonstrating an overview of the whole flow and connection between four tools to build a photo map. This guide will hit the main points, highlight how the tools connect up with open data, and I’ll just link to other resources for the details on how to use each.&lt;/p&gt;
&lt;h2 class="summary-item" id="upload-photos-to-flickr"&gt;&lt;a href="#upload-photos-to-flickr"&gt;Upload Photos to Flickr&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;What you need: A photo of a place to map.&lt;/li&gt;
&lt;li&gt;What you get: Link to the photo page and photo preview.&lt;/li&gt;
&lt;li&gt;Learn more: &lt;a href="https://www.flickr.com/help/photos/" rel="nofollow"&gt;Flickr Help&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you don’t have a &lt;a href="https://flickr.com/" rel="nofollow"&gt;Flickr&lt;/a&gt; account, create one, it’s an easy way to share images. Upload a photo of a place. For our example, we uploaded &lt;a href="https://www.flickr.com/photos/mikel_maron/9420814521/" rel="nofollow"&gt;this photo of the iHub in Nairobi&lt;/a&gt;, taken during the Uchaguzi election project. We created a &lt;a href="https://www.flickr.com/groups/2274104@N21/" rel="nofollow"&gt;Map Kibera group&lt;/a&gt; to hold all our collective photos. &lt;em&gt;&lt;br/&gt;
&lt;/em&gt;&lt;/p&gt;
&lt;div class="wp-caption aligncenter" id="attachment_664" style="width: 727px"&gt;&lt;a href="https://geojournalism.org/wp-content/uploads/2013/08/9508348007_2c645cceeb_b.jpg"&gt;&lt;img alt="Credit: Mikel Maron, Ground Truth Initiative" aria-describedby="caption-attachment-664" class="wp-image-664" decoding="async" fetchpriority="high" height="354" sizes="(max-width: 717px) 100vw, 717px" src="https://geojournalism.org/wp-content/uploads/2013/08/9508348007_2c645cceeb_b.jpg" srcset="https://geojournalism.org/wp-content/uploads/2013/08/9508348007_2c645cceeb_b.jpg 1024w, https://geojournalism.org/wp-content/uploads/2013/08/9508348007_2c645cceeb_b-300x148.jpg 300w" width="717"/&gt;&lt;/a&gt;&lt;p class="wp-caption-text" id="caption-attachment-664"&gt;Credit: Mikel Maron, Ground Truth Initiative&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size: 13px; line-height: 19px;"&gt;From your photo page, click the &lt;/span&gt;&lt;strong style="font-size: 13px; line-height: 19px;"&gt;Share&lt;/strong&gt;&lt;span style="font-size: 13px; line-height: 19px;"&gt; button, and then the &lt;/span&gt;&lt;strong style="font-size: 13px; line-height: 19px;"&gt;Grab the HTML/BBCode&lt;/strong&gt;&lt;span style="font-size: 13px; line-height: 19px;"&gt; panel. Select a “Small” image size, and copy/paste the HTML code into a text editor/word processor. We need only the image link, which is within the &lt;/span&gt;&lt;strong style="font-size: 13px; line-height: 19px;"&gt;&lt;img alt="" decoding="async" src="..."/&gt;&lt;/strong&gt;&lt;span style="font-size: 13px; line-height: 19px;"&gt; tag.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The result you should have is a link to the photo page, and the photo preview. Something like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;https://www.flickr.com/photos/mikel_maron/9420814521/
https://farm4.staticflickr.com/3673/9420814521_f71924dd4e.jpg&lt;/code&gt;&lt;/pre&gt;
&lt;h2 class="summary-item" id="edit-openstreetmap"&gt;&lt;a href="#edit-openstreetmap"&gt;Edit OpenStreetMap&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;What you need: Location of your photo.&lt;/li&gt;
&lt;li&gt;What you get: OpenStreetMap feature linked to the image.&lt;/li&gt;
&lt;li&gt;Learn more: &lt;a href="https://learnosm.org/en/" rel="nofollow"&gt;LearnOSM&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now, over to &lt;a href="https://osm.org/" rel="nofollow"&gt;OpenStreetMap&lt;/a&gt;. Sign up if needed, and review the basics in &lt;a href="https://learnosm.org/en/" rel="nofollow"&gt;LearnOSM&lt;/a&gt;. Also, try the iD Walkthrough: navigate to an area, click &lt;strong&gt;Edit&lt;/strong&gt; (specifically, click the down arrow, and select “Edit with iD”), and follow along the editing tutorial.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Now&lt;/strong&gt; open the &lt;strong&gt;View&lt;/strong&gt; tab again. Enter the name of the location of your photo, and search. In our case, it’s “iHub”. Look through the search results, and find the correct feature, &lt;em&gt;there might be more than one feature with that name&lt;/em&gt;, and then click &lt;strong&gt;View Details&lt;/strong&gt; to open the &lt;a href="https://www.openstreetmap.org/browse/node/673988331" rel="nofollow"&gt;browse page for that node&lt;/a&gt;. This page shows the location and tags for the feature, and in the lower right, click the &lt;strong&gt;Edit Node&lt;/strong&gt; link.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Often you’ll need to add a new feature in OSM, rather than add to an existing feature. Check out the other guides to learn more.&lt;/em&gt;&lt;/p&gt;
&lt;div class="wp-caption aligncenter" id="attachment_651" style="width: 727px"&gt;&lt;a href="https://geojournalism.org/wp-content/uploads/2013/08/9511330104_a4bdec07e4_b.jpg"&gt;&lt;img alt="Credit: Mike Maron" aria-describedby="caption-attachment-651" class="wp-image-651" decoding="async" height="365" sizes="(max-width: 717px) 100vw, 717px" src="https://geojournalism.org/wp-content/uploads/2013/08/9511330104_a4bdec07e4_b.jpg" srcset="https://geojournalism.org/wp-content/uploads/2013/08/9511330104_a4bdec07e4_b.jpg 1024w, https://geojournalism.org/wp-content/uploads/2013/08/9511330104_a4bdec07e4_b-300x152.jpg 300w" width="717"/&gt;&lt;/a&gt;&lt;p class="wp-caption-text" id="caption-attachment-651"&gt;Credit: Mike Maron&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;In the left panel, click All tags, then the +, to add the tags to link the image on flickr. Add “image”, then the link to the Flickr photo page. It will look like:&lt;/p&gt;
&lt;pre&gt; image=https://www.flickr.com/photos/mikel_maron/9420814521/&lt;/pre&gt;
&lt;p&gt;Click &lt;strong&gt;Save&lt;/strong&gt;, add a commit message, and click &lt;strong&gt;Save&lt;/strong&gt; again.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Caveats&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Important: When you are taking photos, make sure to record which photo goes with which object! It can get confusing if there’s a lot.&lt;/p&gt;
&lt;h2 class="summary-item" id="extraction-with-overpass-turbo"&gt;&lt;a href="#extraction-with-overpass-turbo"&gt;Extraction with Overpass Turbo&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt; What you need: A Deep Breath (take one now!)&lt;/li&gt;
&lt;li&gt;What you get: A GeoJSON file containing images and locations.&lt;/li&gt;
&lt;li&gt;Learn more: Overpass Turbo wiki page&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The OpenStreetMap website presents one view of the data you contribute. The powerful thing about OSM is that you can take the data and use it however you like. Extracting the data from OSM itself, for use in another tool, is what this step is about.&lt;/p&gt;
&lt;div class="wp-caption aligncenter" id="attachment_652" style="width: 727px"&gt;&lt;a href="https://geojournalism.org/wp-content/uploads/2013/08/9508838929_56cae156ed_b.jpg"&gt;&lt;img alt="Credit: MIke Maron" aria-describedby="caption-attachment-652" class="wp-image-652" decoding="async" height="365" sizes="(max-width: 717px) 100vw, 717px" src="https://geojournalism.org/wp-content/uploads/2013/08/9508838929_56cae156ed_b.jpg" srcset="https://geojournalism.org/wp-content/uploads/2013/08/9508838929_56cae156ed_b.jpg 1024w, https://geojournalism.org/wp-content/uploads/2013/08/9508838929_56cae156ed_b-300x152.jpg 300w" width="717"/&gt;&lt;/a&gt;&lt;p class="wp-caption-text" id="caption-attachment-652"&gt;Credit: MIke Maron&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Open &lt;a href="https://overpass-turbo.eu/?key=image&amp;amp;template=key-type&amp;amp;type=node" target="_blank"&gt;Overpass Turbo&lt;/a&gt; with the template to search for nodes with key “image”. &lt;em&gt;You can find links for other tags by exploring &lt;a href="https://taginfo.openstreetmap.org/" target="_blank"&gt;TagInfo&lt;/a&gt;, another great tool I’ll cover in a later skill share.&lt;/em&gt; The interface has two panels, on the left the “Query” and the right the “Map”. Search and navigate the map to the area where your features are located. For us, the is “Nairobi”.&lt;/p&gt;
&lt;p&gt;The query to do the extraction can get complicated; you’ll see the template settings on the left, looking something like.&lt;/p&gt;
&lt;pre&gt;{{key=image}}
{{type=node}}&lt;/pre&gt;
&lt;p&gt;Now click &lt;strong&gt;Run&lt;/strong&gt;. Overpass will work for a few seconds, and then display the results on the map. You can click the points to get more info on each feature. Now click the &lt;strong&gt;Export&lt;/strong&gt; menu, then the &lt;strong&gt;Data&lt;/strong&gt; panel, and finally &lt;strong&gt;GeoJSON&lt;/strong&gt;. This should trigger a download of the results, and a display of the results in the dialog (some browsers won’t automatically download, so copy/paste the GeoJSON from the dialog into a file, and save locally). Note the location of the GeoJSON file, we need it for the next step.&lt;/p&gt;
&lt;h2 class="summary-item" id="groom-geojson"&gt;&lt;a href="#groom-geojson"&gt;Groom GeoJSON&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;What you need: The GeoJSON created with Overpass Turbo.&lt;/li&gt;
&lt;li&gt;What you get: GeoJSON with image preview links&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To make our map, we need not only links to the Flickr page for the uploaded images, but also a link to the preview image itself. The &lt;a href="https://mikelmaron.github.io/geojson-flickr-groomer/" target="_blank"&gt;GeoJSON Flickr Groomer&lt;/a&gt; is a simple tool to create those links.&lt;/p&gt;
&lt;div class="wp-caption aligncenter" id="attachment_653" style="width: 727px"&gt;&lt;a href="https://geojournalism.org/wp-content/uploads/2013/08/9628249541_81308bae87_b.jpg"&gt;&lt;img alt="Credit: Mikel Maron" aria-describedby="caption-attachment-653" class="wp-image-653" decoding="async" height="538" loading="lazy" sizes="auto, (max-width: 717px) 100vw, 717px" src="https://geojournalism.org/wp-content/uploads/2013/08/9628249541_81308bae87_b.jpg" srcset="https://geojournalism.org/wp-content/uploads/2013/08/9628249541_81308bae87_b.jpg 1024w, https://geojournalism.org/wp-content/uploads/2013/08/9628249541_81308bae87_b-300x225.jpg 300w" width="717"/&gt;&lt;/a&gt;&lt;p class="wp-caption-text" id="caption-attachment-653"&gt;Credit: Mikel Maron&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Open the GeoJSON file downloaded from Overpass Turbo in your text editor. Copy all the content, and paste into the first text box. &lt;strong&gt;Click here to Run&lt;/strong&gt;, then &lt;strong&gt;Download groomed-geojson.json&lt;/strong&gt;. Note the location of the GeoJSON file, we need it for the final step.&lt;/p&gt;
&lt;h2 class="summary-item" id="make-a-map-with-tilemill"&gt;&lt;a href="#make-a-map-with-tilemill"&gt;Make a Map With TileMill&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;What you need: The GeoJSON modified by GeoJSON Flickr Groomer.&lt;/li&gt;
&lt;li&gt;What you get: An interactive map (finally!)&lt;/li&gt;
&lt;li&gt;Learn more: &lt;a href="https://www.mapbox.com/tilemill/docs/crashcourse/introduction/" target="_blank"&gt;TileMill Crash Course&lt;/a&gt; and &lt;a href="https://www.mapbox.com/help/#help-mapbox" target="_blank"&gt;MapBox Help&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;TileMill is a tool for designing maps. There’s a lot to it, so do check out the Crash Course, and other guides on the TileMill site. &lt;a href="https://www.mapbox.com/tilemill/docs/install" target="_blank"&gt;Install TileMill&lt;/a&gt;, start it up, and create a new project; uncheck &lt;strong&gt;Default&lt;/strong&gt; data. Now, in the lower left, click the &lt;strong&gt;Layers&lt;/strong&gt; buton, then &lt;strong&gt;Add Layer&lt;/strong&gt;. For the &lt;strong&gt;Datasource&lt;/strong&gt; field, browse and find the GeoJSON file downloaded from GeoJSON Flickr Groomer. Click &lt;strong&gt;Save &amp;amp; Style&lt;/strong&gt;, and you should see a map of your points on the left side of the screen. To zoom to the area of just your data, reopen the Layers dialog, and click the magnifying lens next to the layer.&lt;/p&gt;
&lt;div class="wp-caption aligncenter" id="attachment_654" style="width: 727px"&gt;&lt;a href="https://geojournalism.org/wp-content/uploads/2013/08/9511708544_e5c3d10335_b.jpg"&gt;&lt;img alt="Credit: Mikel Maron" aria-describedby="caption-attachment-654" class="wp-image-654" decoding="async" height="394" loading="lazy" sizes="auto, (max-width: 717px) 100vw, 717px" src="https://geojournalism.org/wp-content/uploads/2013/08/9511708544_e5c3d10335_b.jpg" srcset="https://geojournalism.org/wp-content/uploads/2013/08/9511708544_e5c3d10335_b.jpg 1024w, https://geojournalism.org/wp-content/uploads/2013/08/9511708544_e5c3d10335_b-300x164.jpg 300w" width="717"/&gt;&lt;/a&gt;&lt;p class="wp-caption-text" id="caption-attachment-654"&gt;Credit: Mikel Maron&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;On the right, is CartoCSS, used to style your map. We want to make some small changes, making the background of the map transparent (by default it’s sea blue). Here’s what our CartoCSS looks like:&lt;/p&gt;
&lt;pre&gt;Map {
background-color: transparent;
}

#images {
marker-width:6;
marker-fill:#f45;
marker-line-color:#813;
marker-allow-overlap:true;
}&lt;/pre&gt;
&lt;p&gt;Now, add &lt;strong&gt;Interactivity&lt;/strong&gt;, the dialog is reached by clicking the small hand in the lower left tool set. Click &lt;strong&gt;Full&lt;/strong&gt;. Here you can specify what appears when you click on a point. All of the tags for these features from OSM are available, you’ll see them in a list at the bottom of the dialog in “Mustache” tags. We set the content to this below, to show the name of the feature, and a linked photo.&lt;/p&gt;
&lt;pre&gt;{{{name}}}
&lt;a href="%7B%7B%7Bimage%7D%7D%7D"&gt;&lt;img alt="" decoding="async" src="href%7D%7D%7D"/&gt;&lt;/a&gt;&lt;/pre&gt;
&lt;p&gt;The map is ready to share! Sign up for a &lt;a href="https://tiles.mapbox.com/signup" target="_blank"&gt;free account on MapBox&lt;/a&gt;. Then back in TileMill, click the &lt;strong&gt;Export-&amp;gt;Upload&lt;/strong&gt; option in the upper right, configure the settings for the upload (try to minimize the upload size), and &lt;strong&gt;Upload&lt;/strong&gt;. You can watch the progress of the export and upload, and then get a link to the map.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://a.tiles.mapbox.com/v3/groundtruth.map-vx5bbbu4/page.html" target="_blank"&gt;Here’s ours&lt;/a&gt;!&lt;/p&gt;
&lt;h2 class="summary-item" id="results-and-your-challenge"&gt;&lt;a href="#results-and-your-challenge"&gt;Results and your challenge&lt;/a&gt;&lt;/h2&gt;
&lt;div class="wp-caption aligncenter" id="attachment_655" style="width: 727px"&gt;&lt;a href="https://geojournalism.org/wp-content/uploads/2013/08/9511711840_3d97a64423_b.jpg"&gt;&lt;img alt="Credit: Mikel Maron" aria-describedby="caption-attachment-655" class="wp-image-655" decoding="async" height="365" loading="lazy" sizes="auto, (max-width: 717px) 100vw, 717px" src="https://geojournalism.org/wp-content/uploads/2013/08/9511711840_3d97a64423_b.jpg" srcset="https://geojournalism.org/wp-content/uploads/2013/08/9511711840_3d97a64423_b.jpg 1024w, https://geojournalism.org/wp-content/uploads/2013/08/9511711840_3d97a64423_b-300x152.jpg 300w" width="717"/&gt;&lt;/a&gt;&lt;p class="wp-caption-text" id="caption-attachment-655"&gt;Credit: Mikel Maron&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;So this is it! To get the streets background, you’ll need to dive a little more into MapBox hosting configuration. &lt;strong&gt;Try it out on your own, with say, 10 images.&lt;/strong&gt; If you have any questions about this guide, suggestions to improve it, or just want to share your results, get in touch. Thanks!&lt;/p&gt;

		&lt;div class="author-shortcodes"&gt;
			&lt;div class="author-inner"&gt;
				&lt;div class="author-image"&gt;
			&lt;img alt="" src="https://geojournalism.org/wp-content/uploads/2013/09/mikel.jpg"/&gt;
			&lt;div class="author-overlay"&gt;&lt;/div&gt;
		&lt;/div&gt; &lt;!-- .author-image --&gt; 
		&lt;div class="author-info"&gt;
			&lt;strong&gt;Mikel Maron&lt;/strong&gt; (&lt;a href="https://twitter.com/mikel"&gt;@mikel&lt;/a&gt;) is a programmer and geographer working for impactful community and humanitarian uses of open source and open data. He is co-founder of &lt;a href="https://groundtruth.in/"&gt;Ground Truth Initiative&lt;/a&gt;, and of the &lt;a href="https://mapkibera.org/"&gt;Map Kibera&lt;/a&gt; project. He’s also Founder and President of the &lt;a href="https://hot.openstreetmap.org/"&gt;Humanitarian OpenStreetMap Team&lt;/a&gt;, having helped to facilitate the OSM response to the Haiti earthquake. He’s travelled widely, organizing projects in India, Palestine, Egypt, Swaziland, and elsewhere. Previously to this, he co-founded Mapufacture and worked on collaborative platforms, geoweb standards, and various applications, with a wide spectrum of organizations from UN and government agencies to anarchist hacker collectives.
		&lt;/div&gt; &lt;!-- .author-info --&gt;
			&lt;/div&gt; &lt;!-- .author-inner --&gt;
		&lt;/div&gt;  .author-shortcodes 
&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"/&gt;
&lt;p&gt;The post &lt;a href="https://geojournalism.org/2013/08/how-to-map-photos-using-openstreetmap-and-tilemill/"&gt;How to Map Photos Using OpenStreetMap and TileMill&lt;/a&gt; appeared first on &lt;a href="https://geojournalism.org"&gt;geojournalism.org&lt;/a&gt;.&lt;/p&gt;
</ns4:encoded>
					
		
		
		<ns2:post-id>268</ns2:post-id>	</item>
	</channel>
</rss>