Open Street Map | Cambodia
Go Beyond Google Maps (and Party)
June 27 At InSTEDD Cambodia By Chris Blow Http://unthinkingly.com
Meta: Why we are here
✤ What the heck is this OSM?
✤ Why on earth would I use OSM?
✤ Who is really using OSM?
✤ How do I use the map already?!
What is OSM?
✤ A database containing map data in vector format. Data is annotated
using free-form tagging that is managed by community consensus.
✤ A variety of software tools for editing map data.
✤ A range of methods for rendering and viewing the data in map form,
including on-line slippy maps, SVG, PDF and various hand-held
✤ A map-data API and static data dump of the whole planet.
What is Open Street Map
OpenStreetMap does for maps what Wikipedia does for Encyclopedias
Who uses it?
✤ The big guys!
✤ Meedan (my nonproﬁt)
✤ Normal people
✤ Normal-ish people :)
How do I make maps?
You can make maps with:
✤ GPS tracklogs
✤ Aerial imagery
✤ Historic out-of-copyright maps
✤ Public domain data-sets
✤ An astrolabe ->
It’s about intellectual property
Creative Commons Attribution-ShareAlike 2.0 license
Why OSM: Free as in Freedom
Most maps that you might think of as
free actually have legal or technical
restrictions on their use, holding back
those that wish to use them in creative,
productive or unexpected ways.
RMS by http://www.ﬂickr.com/photos/dunechaser/160405823/
Google License vs. OSM
Google: “We own your work”
- Non-commercial use only
- non-compete with Google services
- strict attribution
- everpresent Google logo
Google License vs. OSM
OSM: “Hai friends, let’s share.” All OpenStreetMap software is GPL, and content is
published under the Creative Commons (CC-BY-
Why use OSM?
Social reasons to map ...
✤ In Detroit the city is geocoding walking trails.
✤ With Hurricane season there are lots of people geocoding where
✤ Mapping conveniences for pedestrians in particular places
✤ Mapping your own neighborhood
Why use O$M?
✤ An NYC company social lite is doing place
marking with bars using mobile web.
✤ iPhone and Android have a lot of applications
which are innovating on the geo aware
capabilities of the phone.
✤ OSM’s openness doesn’t keep you from making
money on services and innovation!
✤ Not as much data as Google or
✤ Not backed by commercial
interests: not as robust an API
✤ Tools are geek-oriented not
consumer level ... yet
✤ Expand the map yourself
✤ Innovate freely
✤ Ownership and licensing
✤ Customization of
✤ Customize placenames and
✤ Get the entire damn planet!
(160 GB drive required)
Katrina example: OSM is faster
bridge out ....
... still on the map
(then it was repaired)
... but then not on the map
How to create an Open Map
✤ GPS - This is the most common way of gathering
data for OSM, and for fully mapped areas is
essential. If you don't have a GPS they are
sometimes available for loan or you can create maps
from other users' data.
✤ Your own photography or maps - Make sure these
are completely free to copy and use with OSM. Most
data is not as free as you would think.
✤ Data may already be collected, that requires people
to convert into a map. An example of this is the
collaborative mapping project for Korea.
They’re giving it away!
✤ Yahoo! Imagery, Landsat and
NPE maps are available to
OSM for extracting data from.
Accuracy is important though,
so only map places you've
been. These sources add
greatly to OSM, but data can't
be built on these alone.
Sort of ...
Sort of ... (low-res
Tracing it in
✤ Yahoo! have provided OSM with aerial photography of a range of the
larger urban areas around the world.
✤ Tracing the photography is allowed for the purpose of generating
maps, but Yahoo’s data (e.g. street names) must NOT be imported
✤ Landsat is low zoom satellite imagery from the NASA. They are
Not just “Streets!”
✤ Points of interest
✤ Surface type
✤ Number of lanes
✤ The OpenStreetMap Wiki has an
extensive collection of Palestinian
geodata on the internet
✤ One of the most inspiring and
useful examples of
APPING PARTY///MAPPING PARTY///MAPPING PARTY///MAPPING
OSM Mapping Party!
///MAPPING PARTY ///MAPPING PARTY//
fun to enter
✤ Outside we go!
2.Take a pen and paper
3.Take a GPS device
4.Get a signal
5.Walk the neigborhood
///MAPPING PARTY///MAPPING P
A GPS device is deigned to pinpoint a location anywhere on the earth. It uses an
aerial to receive transmissions from orbiting satellites.
The received signal is triangulate and records the position as latitude and longitude
Turn the receiver on in an area not obstructed by tall buildings or under a tree.
A waiting period for an initial ﬁx is usually achieved within several minutes.
Orbiting satellites will triangulate your location, which will appear as a readout on
the screen. You are represented as the center of the screen. It will also include a
measurement of accuracy. Accuracy less than twenty (20) feet is considered normal.
With GPS in hand, move about and the satellites will track your progress, turn by
turn and by direction facing.
GPS device to GPX
LoadMyTracks GPS Babel
✤ Use software like easygps
✤ Import from your device the more useful GPX format (XML)
✤ Now you are ready to import!
Upload to OSM
✤ Upload your track directly to OSM
✤ Make it public
✤ Then it is available for use for tracing
✤ Careful: it wont be always accurate!
Create a map from GPS track
✤ Can be edited in Potlatch window
✤ Or download and JSOM (the power tool)
✤ Experiment ﬁrst in “play” mode! (not live editing)
Potlatch and JOSM
✤ Potlatch is an editor:
✤ Easy to get started with
✤ Not super powerful
✤ JOSM is an editor:
✤ a power tool for serious editing
Potlatch (default editor)
- for quick edits
- under the
“edit” tab in
Add tags, use conventions
✤ Make sure you use
✤ Don’t be too afraid of Key : Value
mistakes, just get
started and learn
✤ Get in touch with the
Now you can smell the freedom
You can do a pseudo-sensical, subjective tags!
(but ... that doesn’t mean you should)
MAPPING PARTY///MAPPING PARTY///MAPPING PARTY///MAPPIN
Use the community standards!
Tag folksonomy == secret sauce
✤ The tagging process is the secret of OSM (IMO!)
✤ Tagging conventions promote innovation but balance with
✤ OSM has a great community that thoughtfully explores tagging
✤ A rich and useful taxonomy (err, folksonomy) has been created
Tips for editing
Tips for editing
Be sure to connect
Find the average
(GPS is often wrong!)
✤ More Tech stuff: REST API (get data at real URLS with HTTP GET
and PUT requests) / Runs on Rails
✤ Rendering process: from geodata (nodes ways relations and tags) to
✤ Tiles: small map images; cacheable; load fast; sized for optimal speed
✤ Tile naming convention: same used by google maps
✤ Mapnik: Open source Renderer using postgres
2^Zoom x 2^Zoom
Zoom 0 has only one tile, zoom 2 has 4x4 tiles, Z3 has 8x8, Zn has 2^n x 2^n
tiles (so zoom 18 has 2^18 x 2^18 or 262144 x 262144 or 68,719,476,736 tiles!
... @ 5kB each thats 320 TB just for the one zoom level)
InSTEDD Innovation Lab, Phnom Penh Cambodia
Tim Chippy Watters
The OSM Community & Wiki
Photos are all CC from Flickr.com (via compﬁght.com)
Original bits of mine are
Creative Commons Attribution 3.0 United States License