O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required


Book Description

Once you’ve learnt OpenStreetMap using this book you’ll be your own cartographer, creating whatever maps you wish easily and accurately, for business or leisure. Best of all there are none of the usual restrictions on use.

  • 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

  • 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.

    Table of Contents

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