Sarah Hoffmann
c3e21ea388
reinstate tests for geometrytype
2016-05-27 23:36:01 +02:00
Sarah Hoffmann
2a0c7fb57a
tests: permit duplicate entries in interpolation table
...
fixes self-intersecting interpolation test
2016-05-15 14:24:12 +02:00
Markus Gail
b03be15442
Merge remote-tracking branch 'origin/master' into osmline
...
Conflicts:
lib/Geocode.php
lib/PlaceLookup.php
sql/functions.sql
sql/tables.sql
utils/setup.php
2016-04-25 11:01:04 +02:00
Markus Gail
7879ad44cd
Remove interpolation lines from placex and save them in an extra table.
2016-04-25 09:44:01 +02:00
Sarah Hoffmann
a32f6c66b8
remove unused location_property_-partion- tables
2016-04-23 10:07:57 +02:00
Sarah Hoffmann
6ee4b30ee9
remove deleted us_state* tables from tests as well
2016-04-01 22:59:54 +02:00
Sarah Hoffmann
0419aada6e
test: catch script output in as debug log output
2016-03-29 23:14:03 +02:00
Sarah Hoffmann
8534ce5ec2
tests: update for osm2gsql changes
...
Also fixes a missing type set for query.php tests.
2016-03-25 12:07:22 +01:00
Sarah Hoffmann
279ea25e7d
Merge pull request #381 from lonvia/cmake-port
...
Replace autotools with cmake and update osm2pgsql
2016-03-13 21:40:38 +01:00
Marc Tobias Metten
71b3aa9cca
Reverse geocode include geometry - added bounding box tests
2016-03-09 19:43:03 +01:00
Marc Tobias Metten
991bd0004a
Reverse geocode include geometry
2016-03-04 20:29:09 +01:00
Sarah Hoffmann
30d56b7064
enable test execution using ctest
2016-02-29 23:45:30 +01:00
Marc Tobias Metten
47a7887d86
tests: skip tidylib, it cannot handle HTML5
2016-01-20 01:14:20 +01:00
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