1 Creating the test database
2 ==========================
4 The official test dataset is derived from the 160725 planet. Newer
5 planets are likely to work as well but you may see isolated test
6 failures where the data has changed. To recreate the input data
7 for the test database run:
9 wget http://free.nchc.org.tw/osm.planet/pbf/planet-160725.osm.pbf
10 osmconvert planet-160725.osm.pbf -B=testdb.polys -o=testdb.pbf
12 Before importing make sure to add the following to your local settings:
14 @define('CONST_Database_DSN', 'pgsql://@/test_api_nominatim');
15 @define('CONST_Wikipedia_Data_Path', CONST_BasePath.'/test/testdb');