eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Collect data for the area you want to map with this OpenStreetMap book and eBook
  • Create your own custom maps to print or use online following our proven tutorials
  • Collaborate with other OpenStreetMap contributors to improve the map data
  • Learn how OpenStreetMap works and why it's different to other sources of geographical information with this professional guide

Book Details

Language : English
Paperback : 252 pages [ 235mm x 191mm ]
Release Date : September 2010
ISBN : 1847197507
ISBN 13 : 9781847197504
Author(s) : Jonathan Bennett
Topics and Technologies : All Books, Other, Open Source

Table of Contents

Chapter 1: Making a Free, Editable Map of the World
Chapter 2: Getting started at
Chapter 3: Gathering Data using GPS
Chapter 4: How OpenStreetMap Records Geographical Features
Chapter 5: OpenStreetMap's Editing Applications
Chapter 6: Mapping and Editing Techniques
Chapter 7: Checking OpenStreetMap Data for Problems
Chapter 8: Producing Customised Maps
Chapter 9: Getting Raw OpenStreetMap Data
Chapter 10: Manipulating OpenStreetMap Data using Osmosis
Chapter 11: OpenStreetMap's Future
  • Chapter 2: Getting started at
    • A quick tour of the front page
    • Creating your account
    • How to use the slippy map
    • Interacting with the data
    • Project documentation: the wiki
    • Communicating with other mappers
      • Mailing lists
      • Chatting on IRC
      • Forums
    • Reporting problems with OpenStreetMap software
    • OpenStreetMap on social networks
    • Don't be afraid to ask
    • Summary
  • Chapter 3: Gathering Data using GPS
    • What is GPS?
    • What's a GPS trace?
    • What equipment do I need?
    • Making your first trace
      • Configuring your GPS receiver
      • Checking the quality of your traces
    • Making your traces more accurate
    • Surveying techniques
      • Making your survey comprehensive
      • Photo mapping
      • Audio mapping
    • Getting your traces into the right format
    • Adding your traces to OpenStreetMap
    • Collecting information without a GPS
    • Have you finished?
    • Summary
  • Chapter 5: OpenStreetMap's Editing Applications
    • Potlatch
      • Launching Potlatch
      • Understanding Potlatch's user interface
      • Editing data using Potlatch
      • Using presets in Potlatch
      • Using GPS traces in Potlatch
      • Practicing with Potlatch
      • Learning more about Potlatch
      • Potlatch 2
    • Java OpenStreetMap Editor (JOSM)
      • Understanding JOSM's user interface
      • Loading images into JOSM
      • Editing data in JOSM
      • Using presets in JOSM
      • Adding your account information to JOSM
      • Extending JOSM with plugins
      • Learning more about JOSM
    • Merkaartor
      • Loading images in Merkaartor
      • Editing data in Merkaartor
      • Uploading edits to OpenStreetMap
      • Learning more about Merkaartor
    • Summary
  • Chapter 6: Mapping and Editing Techniques
    • Drawing and tagging features
      • Drawing area features
      • Drawing ways with loops
      • Mapping residential streets and complex streets
      • Barriers and gates
      • Points of interest
      • Mapping overlapping features
      • Other civic amenities
      • Finding undocumented tags
      • Estimating area features
      • Finished
    • Summary
  • Chapter 7: Checking OpenStreetMap Data for Problems
    • Inspecting data with's data overlay and browser
      • Inspecting a single feature
      • Checking a feature's editing history
      • Inspecting changesets
    • Finding unsurveyed areas with the NoName layer
    • OSM Mapper
      • Creating an area to analyze
      • Filtering and sorting data
      • Creating a view
    • OSM Inspector
    • Summary
  • Chapter 8: Producing Customised Maps
    • The exporter
      • Choosing an image format
      • Generating image files
      • Embedding maps in a web page
    • Rendering maps on Windows using Kosmos
      • Installing Kosmos
      • Creating a project
      • Adding OpenStreetMap data
      • Adding GPS tracks
      • Adding existing OpenStreetMap maps
      • Customizing the rendering rules
      • Exporting a bitmap
      • Kosmos Console
      • Rendering map tiles using Kosmos
      • Taking Kosmos further
    • Osmarender
      • Getting ready to run Osmarender
        • XSL processing with XMLStarlet
        • Installing Osmarender
        • Editing SVG with Inkscape
      • Producing a map
      • Customizing the rendering rules
        • Writing simple rules
        • Using CSS classes for style
        • Nested rules
        • Creating default rules using <else>
        • More complex rules
    • Summary
  • Chapter 9: Getting Raw OpenStreetMap Data
    • Planet files
      • The main Planet site
      • Checking a planet file's integrity
      • Diff files
      • Mirror sites
      • Planet extracts
    • OpenStreetMap's REST API
      • Retrieving an individual feature
      • Getting a feature's editing history
      • Retrieving all features in an area
    • The extended API (XAPI)
      • Standard API calls
      • Query by primitive
      • Map query
      • Filtering data by area
      • Filtering by tag
      • Filtering by associated elements
      • Filter by user activity
    • Summary
  • Chapter 10: Manipulating OpenStreetMap Data using Osmosis
    • What is Osmosis?
      • Setting up Osmosis
    • How Osmosis processes data
    • Cutting out a bounding box
      • Getting data from outside the bounding box
    • Cutting out data with a bounding polygon
      • Using polygon files
      • Creating your own polygon files
    • Using tag filters to produce tailored datasets
      • Simplifying filters
    • Splitting and merging data streams
      • Creating multiple pipelines with the tee task
    • Automatically updating local data from diffs
      • Preparing your system
      • Running the initial update
      • Keeping the data up-to-date automatically
    • Reading the OpenStreetMap API from Osmosis
    • Using Osmosis with a database
      • Installing PostGIS and creating the database
        • Using Osmosis on the same machine as PostgreSQL
        • Creating the database
      • Adding data to the database
      • Reading data from the database
      • Applying changes to the database
      • Using an auth file to store database credentials
    • Other Osmosis tasks
    • Summary
  • Chapter 11: OpenStreetMap's Future
    • Changing the OpenStreetMap license
      • Adopting the Open Database License
    • MapCSS—a common stylesheet language for OpenStreetMap
    • Specialized editing applications
    • Summary

Jonathan Bennett

Jonathan Bennett is a British journalist, writer, and developer. He has been involved in the OpenStreetMap project since 2006, and is a member of the OpenStreetMap Foundation. He has written for print and online technical publications including PC Magazine, ZDNet, CNET, and has appeared on television and radio as a technology commentator. He has an extensive collection of out-of-date printed maps.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


- 1 submitted: last submission 02 Aug 2013

Errata Type:Grammar Page No:190 get the freedom to do things the way they suits you. should probably read get the freedom to do things the way that suits you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

OpenStreetMap +    Big Data Analytics with R and Hadoop =
50% Off
the second eBook
Price for both: £23.65

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Learn how to gather geographic information using inexpensive consumer GPS equipment
  • Use digital photography and voice recordings to speed up the surveying process
  • Add geographic features to the OpenStreetMap database, using one of three editors
  • Check the map data for errors and other problems using various tools
  • Collaborate with other mappers working in the same area as you
  • Use maps made using OpenStreetMap data on a mobile device
  • Create customized maps of any area showing only the features you want
  • Import OpenStreetMap data into a traditional Geographic Information System (GIS)

In Detail

Imagine being able to create accurate maps that look how you want them to, and use them on the Web or in print, for free. OpenStreetMap allows exactly that, with no restrictions on how or where you use your maps. OpenStreetMap is perfect for businesses that want to include maps on their website or in publications without paying high fees. With this book in hand you have the power to make, alter, and use this geographical data in a collaborative way from anywhere on the Earth.

OpenStreetMap was started because most maps you think of as free actually have legal or technical restrictions on their use, holding back people from using them in creative, productive, or unexpected ways. This book will allow you to take control of your own maps and use them smoothly. This book introduces the reader to the OpenStreetMap project and shows you how to participate in the project, and make use of the data it provides. No prior knowledge of the project is assumed, and technical details are kept to a minimum.

In this book, you'll learn how easy it is to add your neighborhood to OpenStreetMap using inexpensive GPS equipment, or even no GPS at all. You'll find out how to communicate with other mappers working in the same area, and where to find more information about how to map the world around you.

Once you have your area mapped, you'll learn how to turn this information into maps, whether for use in print or online, large or small, and with the details you want shown. The book describes several rendering methods, each suited to different types of map, and takes you through a tutorial on each one.

OpenStreetMap is a free map of the world. With this book and eBook you will learn how to add information to it and produce digital maps you can use for anything, for free.


This book introduces the OSM project, its aims and objectives, and its history, then guides you through the process of gathering, editing, and using OpenStreetMap data using a series of real-world examples.

Who this book is for

This book is the perfect aid for geographic-information professionals interested in using OpenStreetMap in their work and web designers and developers who want to include mapping in their sites, and want a distinctive style. It is for you if you have a need to use maps and geographic data for work or leisure, and want accurate, up-to-date maps showing the information you're interested in, without details you don't need. If you want to use maps for navigation and want more or less detail than traditional printed maps give this book is perfect for you.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software