Global Positioning System Reference
In-Depth Information
7.3
A Map Compiler for OSM Data
In what follows here, we approach the problem as field workers and map
engineers. A basic structure of an OpenStreetMap compiler is provided in
the resources folder OSM.compiler :
../resources/OSM.compiler
+-- deliveries
+-- products
+-- tools
+-- josm
+-- Kosmos
+-- LinkCompiler
+-- osmosis
+-- OSMparser
You should move this folder to a large hard disk, where you can place your
downloaded (input) and processed map data (output). The batch files were
created for Windows systems and can be replaced with Unix shells. The
main goal is to make each compiler step accessible via a command line. This
way, the steps can be invoked from a higher-level script to wrap the entire
production process in one place|later. The tools folder holds third-party
tools; you should download the latest versions for best results. Of course,
you should use the opportunity to get familiar with openstreetmap.org and
the related webpages and tools.
As you will see, a map compiler has to leverage the usage of disk space
and processing time. Therefore, the text is based on the production of
the projects in the resources/gps folder, and each sample compilation is
described with statistics for benchmarking. It is suggested that you follow
each step with the concrete datasets and then repeat the step by processing
data for your own area and project. By the end of Chapter 8, your compiler
will be set up, and your products (physical storage formats (PSF)) should
be (pre)defined. From there on, the entire process for all defined products
can be fine-tuned and scheduled, logfiles can be parsed for fast failure,
versioning can be added, etc.
Each section/processing step provides a brief overview of the mapping
required, followed by concrete instructions on what is to be done and sup-
porting statistics for design decisions to develop a strategy.
Warning!The map compilation of PSFs is a one-way process. The results
can heavily deviate from the map source format and you should make sure
not to upload them to the OSM server!
7.4
Collecting Geometry in the Field
The mapping scenario MovingObjects represents the modern approach to
making maps. If you simply watch the traces spread over the screen (with-
 
Search WWH ::




Custom Search