advertise official location for test data on nominatim.org

This commit is contained in:
Sarah Hoffmann
2017-06-05 22:01:42 +02:00
committed by GitHub
parent de0ad657ba
commit 308bfcbf25

View File

@@ -45,8 +45,8 @@ Very low coverage.
To execute the test suite run To execute the test suite run
cd test/php cd test/php
phpunit ../ phpunit ../
It will read phpunit.xml which points to the library, test path, bootstrap It will read phpunit.xml which points to the library, test path, bootstrap
strip and set other parameters. strip and set other parameters.
@@ -99,7 +99,10 @@ be documented.
These tests are meant to test the different API endpoints and their parameters. These tests are meant to test the different API endpoints and their parameters.
They require a preimported test database, which consists of the import of a They require a preimported test database, which consists of the import of a
planet extract. The polygons defining the extract can be found in the test/testdb planet extract. A precompiled PBF with the necessary data can be downloaded from
http://www.nominatim.org/data/test/nominatim-api-testdata.pbf
The polygons defining the extract can be found in the test/testdb
directory. There is also a reduced set of wikipedia data for this extract, directory. There is also a reduced set of wikipedia data for this extract,
which you need to import as well. For Tiger tests the data of South Dakota which you need to import as well. For Tiger tests the data of South Dakota
is required. Get the Tiger files `46*`. is required. Get the Tiger files `46*`.