Commit Graph

20 Commits

Author SHA1 Message Date
Sarah Hoffmann
8375392f39 force sensible file prefixes for generated test files
libosmium needs them to detect the file type
2015-08-29 11:29:09 +02:00
Sarah Hoffmann
6479768932 gazetteer: exclude sidewalks 2015-08-17 22:41:40 +02:00
Sarah Hoffmann
058f597186 add basic tests for namedetails and extratags parameters 2015-08-10 23:18:19 +02:00
Marc Tobias Metten
7c8c206818 new method /lookup.php - Reverse search by multiple osm ids 2015-06-16 21:11:21 +02:00
Sarah Hoffmann
b4f9252c63 update API tests 2015-05-22 21:49:31 +02:00
Sarah Hoffmann
b82c8ceab9 ignore places without housenumber in interpolations
fixes trac ticket 5311
2015-04-18 17:47:49 +02:00
Sarah Hoffmann
eb1d8894b9 correctly handle comma-only exclude_place_ids 2015-03-29 18:17:52 +02:00
Sarah Hoffmann
59be7846e9 fix utf8 in tests for jsonp 2015-03-29 18:17:28 +02:00
Sarah Hoffmann
753227ae25 more strict parameter checking for reverse 2015-03-17 21:06:58 +01:00
Sarah Hoffmann
9d9745b378 add more tests for interpolations (mostly updating) 2015-03-05 22:00:27 +01:00
Sarah Hoffmann
b9355ac829 switch to enhanced osm2pgsql C++ version
This includes a major rewrite of the tag processing code. Much more
data is already rejected during osm2pgsql processing and names are
choosen more selectively depending on the class/type.
2015-01-23 08:13:11 +01:00
Sarah Hoffmann
14d17a3ad4 properly close connection in test 2015-01-09 23:16:53 +01:00
Sarah Hoffmann
6d0ab44800 reuse template db for tests by default 2015-01-09 23:16:31 +01:00
Sarah Hoffmann
59de7c5a9b fix address interpolation for self-intersecting ways 2014-11-03 22:42:34 +01:00
Sarah Hoffmann
e1c88352ab use unique function name for test step 2014-10-29 20:37:56 +01:00
Marc Tobias Metten
084a110efb add regression test 2014-10-28 15:40:01 +01:00
Sarah Hoffmann
475108b937 fix typo in osm test file generator 2014-10-20 00:02:29 +02:00
Sarah Hoffmann
2d6f00945a rewrite address interpolation so that planet_osm_node is not needed
This allows address interpolations to work correctly when flatnode storage
is used for node coordinates.

To fix interpolations in an existing database, follow these steps:

  * invalidate all interpolations (in psql):
    `UPDATE placex SET indexed_status=2 WHERE rank_search = 28`
  * disable updates:
    ./utils/setup.php --create-functions --create-partition-functions
  * reindex the whole lot:
    ./utils/update.php --index --index-instances <number of your cpus>
  * enable updates again:
    ./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
2014-10-05 22:16:02 +02:00
Sarah Hoffmann
f94ee6ad57 change default nominatim path for tests to obvious '..' 2014-09-07 20:11:21 +02:00
Sarah Hoffmann
86d90bc460 add functional tests
These are the tests that were formerly located at
https://github.com/lonvia/test-nominatim
2014-09-07 17:02:10 +02:00