Sarah Hoffmann
3fba5e7867
enable code coverage computation for API BDD tests
...
Fixes #505 .
2017-07-17 22:59:13 +02:00
Sarah Hoffmann
9785aff76c
restrict linked places to place nodes
...
Avoids getting the wrong entry when the linked place has
double tagging.
Fixes #573 .
2017-06-07 21:32:02 +02:00
Sarah Hoffmann
5a5691b5b7
force update of linker when linkee is updates
...
Potential name changes need to be added to the linker's
name hstore.
Fixes #170 .
2017-06-06 23:46:44 +02:00
Sarah Hoffmann
9848381a04
remove wip tags from all tests
2017-06-06 22:01:52 +02:00
Sarah Hoffmann
623d58b67e
Remove boundries when downgrading from polygon to line
...
Fixes #135 .
2017-06-06 21:59:36 +02:00
Sarah Hoffmann
6985abc3fd
Merge pull request #745 from lonvia/restrict-poi-queries-results
...
limit number of considered places in POI queries
2017-06-06 20:55:15 +02:00
Sarah Hoffmann
c13094acfd
limit number of considered places in POI queries
...
When searching for POIs in place_classtype_ tables limit the number
of objects considered to 300. The distinct and order by clauses
forced until now to retrive all matching objects and order them
first which can cause long running queries when retriving them
for large areas like the US.
Fixes #735 .
2017-06-05 22:40:42 +02:00
Sarah Hoffmann
308bfcbf25
advertise official location for test data on nominatim.org
2017-06-05 22:01:42 +02:00
Sarah Hoffmann
de0ad657ba
fix formatting in test README
2017-06-05 21:53:45 +02:00
Christian von Roques
b6be33cded
explicitly name columns at INSERT
2017-04-18 13:36:02 +02:00
Sarah Hoffmann
050b0a2ced
remove street and addr_place columns in placex
...
The information is onyl needed for parenting,
so no need to store it permanently.
2017-04-08 19:58:10 +02:00
Sarah Hoffmann
41afcaddd5
adapt more BDD tests to hstore
2017-04-08 19:58:09 +02:00
Sarah Hoffmann
8c7fa0213f
fix DB bd tests for address hstore
2017-04-08 19:57:36 +02:00
Sarah Hoffmann
49b5e4dbad
adapt osm2pgsql tests for new address column
2017-04-08 18:58:26 +02:00
Sarah Hoffmann
43eedfd253
abort osmline update correctly when way nodes are missing
...
Fixes #695 .
2017-03-30 22:14:47 +02:00
Sarah Hoffmann
09f1661638
move moreURL computation into Geocode and include all params
...
Fixes #678 .
2017-03-23 00:16:58 +01:00
Sarah Hoffmann
b3186d07f5
for roads add all intersecting boundaries to address list
...
When roads cross boundaries, both administrative entities should
be added to the address list, so that both entities can be used
for searching. Also allows in a second step to better sort out
addresses of POIs on such roads.
Fixes #121 .
2017-03-18 12:17:48 +01:00
Sarah Hoffmann
57b35654e7
fix style
2017-03-17 22:36:22 +01:00
Sarah Hoffmann
20a4cab57e
add tests for nearpoint sql functions
2017-03-16 22:12:20 +01:00
Sarah Hoffmann
1649191ffd
adapt unit tests for new NearPoint type
2017-03-15 23:58:51 +01:00
Sarah Hoffmann
1aaeee19a1
test: rerun indexing after updates until really all is done
...
There are caess where indexing needs to be done a second round
because related objects need to be updated.
2017-03-11 17:09:14 +01:00
Edward Betts
7e3af2debc
correct spelling mistakes
2017-03-08 15:06:50 +00:00
Sarah Hoffmann
450a12c6be
include housenumbers and postcodes when rechecking for exact matches
2017-02-28 21:40:05 +01:00
Sarah Hoffmann
e0c066d850
make sure the flatnode file is disabled while testing
2017-02-27 22:01:06 +01:00
Sarah Hoffmann
e1cbca2572
add behave settings
...
removes @Fail tests
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
e1095205e4
fix geometry creation from scene
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
e5c79a1d1f
add more interpolation update scenarios (currently failing)
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
6551399bcc
test: enable grid support for DB tests
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
c48fb88e6b
move interpolaton computation into indexing step
...
The interpolaton computation needs information from the osm2pgsql
slim tables which may not be available when the data is inserted.
Insertion now only adds a line with basic address information to
location_property_osmline. The line is then split during the
indexing, leading to more lines (which are complete in that case)
being inserted.
Fixes #598 .
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
e04838cc71
add node grids for tests and test for interpolation update
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
c897b96c41
don't delete names on unknown country boundaries
...
If a country boundary has a country_code that is unknown to
Nominatim, it would delete all names because the coalascing
with country_name would not yield any result.
2017-02-18 13:51:21 +01:00
Marc Tobias Metten
cfd03d7be3
Replace lettuce with behave in tests. Use python3 Split import and (python,php) tests into two travis executions
2017-01-21 02:38:04 +01:00
Sarah Hoffmann
08d1ec09cc
fix viewbox tests
...
Hamburg may not be complete in the test set
2017-01-09 21:15:41 +01:00
Sarah Hoffmann
d18bd14045
add test for moreURL issue and debugging of test query contents
2017-01-01 17:58:21 +01:00
Sarah Hoffmann
c0e4a74c71
add mention of required Tiger files for test database
2016-12-30 23:15:41 +01:00
Sarah Hoffmann
b2be8c3ab7
move php tests in common test dir and unify READMEs
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
5252051291
add source files for test database
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
ccaea09a65
move scenes directory to new test directory
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
b2c1d086b5
add api tests for language, details and lookup
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
3a787df934
add remaining reverse tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
635ce30db5
add simple reverse API tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
201f618cc7
finish search API tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
81922fc057
more API search tests
...
also move directory name back to api
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
b9a58b8f24
add simple direct API search tests
...
API tests now no longer require a running Apache installation,
instead the website php scripts are called directly using the
appropriate enivronment.
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
b75aadfb6b
more backslash tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
80a74181e4
add osm2pgsql update tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
6f4f19004c
add remianing osm2pgsql import tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
e2f23e391b
add osm2pgsql broken data tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
f2debbef19
add simple osm2pgsql tests
2016-12-30 22:58:58 +01:00
Sarah Hoffmann
21a3fc4b0f
add remaining db update tests
2016-12-30 22:58:58 +01:00