OpenStreetMap

Using and Enhancing the Free Map of the World

This is the web site for the book:
[Cover image]

OpenStreetMap

Using and Enhancing the Free Map of the World

by Frederik Ramm,
Jochen Topf,
Steve Chilton

UIT Cambridge,
1st edition, 2010
ISBN 978-1-90686-011-0
386 pp

Order at bookdepository.co.uk

bookdepository.co.uk has world-wide free shipping. The book can also be ordered through book stores and amazon.com or amazon.co.uk.

[Cover image]

There is also a German version of the book which can be ordered through Lehmanns or amazon.de.

You can learn more about OpenStreetMap on these web sites:

International

Germany

Wiki

What others say about this book:

about the English edition:
Gary Gale: A worthy and valuable addition to your bookshelf.
Muki Haklay: We liked the Ramm et al. book ... and would recommend it to our students.
Oliver O'Brien: If you are at all interested in the OpenStreetMap project ... then I recommend this book. It's as near-perfect as any book can be ...

about 3rd German edition:
Schockwellenreiter: Es ist das einzige Buch in meiner doch recht umfangreichen Bibliothek, von dem ich alle bisher erschienenen Ausgaben besitze. Es lohnt sich.

more reviews...

Polygon Files for Osmosis

The polygon files that Osmosis uses for clipping to an area have the following format:

name
polygon-number
    lon lat
    lon lat
    ...
END
name
polygon-number
    lon lat
    lon lat
    ...
END
...
END

The first line contains the (arbitrary) name of the polygon file, the following line left-aligned a number and then one coordinate pair per line. A polygon is closed by END (left-aligned); more polygones can follow. At the end of the file there is an additional END.

If the polygon number starts with an exclamation mark, the following lines describe a "hole" in the polygon.

Example polygon for Great Britain
A further example is also on the OpenStreetMap-Wiki.

The Digital Chart of the World-Server of Penn State University offers polygon files in this format for all countries.

If you want to edit such a polygon file, you can use the JOSM editor taking a small detour: Convert the polygon file with the helper script poly2osm.pl into an OSM file, edit the file with JOSM, save the file, and use osm2poly.pl to convert it back. (Never upload the converted polygon files to the OSM server!)