osrm-backend/test/osm-testdata
Dennis Luxen 73efcc6b0c Squashed 'third_party/libosmium/' content from commit 910f8f1
git-subtree-dir: third_party/libosmium
git-subtree-split: 910f8f1e992402e0f1acd0132eaffa7539ca83d2
2015-01-13 16:54:25 +01:00
..
include Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
testcases Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
.gitignore Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
CMakeLists.txt Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
multipolygon.qgs Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
README.md Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
run-testdata-multipolygon.bat Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
run-testdata-multipolygon.sh Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
testdata-multipolygon.cpp Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
testdata-overview.cpp Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
testdata-testcases.cpp Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00
testdata-xml.cpp Squashed 'third_party/libosmium/' content from commit 910f8f1 2015-01-13 16:54:25 +01:00

OSM Testdata

This directory contains software that can be used with the osm-testdata repository at https://github.com/osmcode/osm-testdata . To use it, clone the osm-testdata repository in the same directory where you cloned the libosmium repository.

Overview

The testdata-overview program can be used to create a Spatialite file containing all the nodes and ways from the test data files.

Compile it by running make testdata-overview, run it my calling make overview.

Running the Tests

Actual tests are in testcases subdirectory, one per test from the osm-testdata repository.

To compile the tests, call make runtests, to run them call make test.