Nathanael-L / osmi-water

Read openstreetmap data and extract waterobjects, indicate logical and tagging errors. Output is sqlite. Designed for OSM Inspector.
1 stars 3 forks source link

osmi-water

Reads openstreetmap data and extracts water objects, indicates logical and tagging errors. Output is sqlite. Designed for OSM Inspector (http://tools.geofabrik.de/osmi). The Software is written in C++, it uses the new osmium framework (https://github.com/osmcode/libosmium). The source code can be used as an example how to use the libosmium.

The programme is develeped during my internship at the geofabrik. If you see some improvements, please let me know.

Building

mkdir build
cd build
cmake ..
make

If CMake complains about missing dependencies, please check if it guessed the paths correctly. If not, run ccmake .. in the build directory and modify the paths.

Map File

'water.map' ist the layer configuration file for the fileserver. If you like to set up a mapserver (http://mapserver.org), take the file. Just the paths for the sqlite file must be mached.

License

The software is available under BSD License (http://www.linfo.org/bsdlicense.html)

Author

Nathanael Lang