Commit Graph

87 Commits

Author SHA1 Message Date
Sarah Hoffmann
3ff8bb55a7 update osm2pgsql (quoting fix) 2016-12-17 18:33:15 +01:00
Sarah Hoffmann
eaee6b700d adapt tiger reverse test to changed api 2016-11-02 00:11:17 +01:00
marc tobias
d93209ee48 Tiger: set osmtype=way and correct osm_id 2016-11-01 23:34:29 +01:00
marc tobias
eb79e655e6 cleanup of SQL for readability. No logic change 2016-11-01 23:33:47 +01:00
Sarah Hoffmann
aa7c8b6b5b fix viewbox parameters in tests 2016-10-13 00:26:04 +02:00
Sarah Hoffmann
42d473968f check for correct array for country codes
fixes trac ticket 5427
2016-10-04 20:32:22 +02:00
Sarah Hoffmann
8b896f37f3 fill interpolation array for reverse lookups via search endpoint
Fixes #540
2016-10-01 13:03:31 +02:00
Sarah Hoffmann
feb458f8dd update tests for newer planet 2016-08-19 23:57:23 +02:00
Marc Tobias Metten
9ff24b9107 travis-ci: enable river tests again, numpy package was missing 2016-08-03 00:54:49 +02:00
Marc Tobias Metten
1fb847a5ad travis: exclude poldi, waterway tests 2016-07-31 02:17:28 +02:00
Sarah Hoffmann
a827367a2f adapt Tiger reverse test to new output format 2016-07-24 23:58:21 +02:00
Sarah Hoffmann
348a3082c9 fix syntax errors and update tests
Some of the tests with bad parameters now return a HTTP 400.
2016-06-12 22:51:13 +02:00
Sarah Hoffmann
524bd47315 fill place and osmline independently for interpolations on update
interpolation lines may be missing in osmline when the interpolation
is broken, so we cannot conclude that a way is not in place, just
because there are no entries in location_property_osmline.
2016-05-28 18:18:18 +02:00
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
Sarah Hoffmann
2fecc0c465 tests for interpolation to building type change 2016-05-15 12:37:49 +02:00
Sarah Hoffmann
f0f6fcf256 fix scene making scripts and add building-parallel-road scene
Scripts updated to newest libosmium and shebang fixed.
2016-05-15 12:36:16 +02:00
Markus Gail
db719d489f index on geometry of interpolation lines, and more improvements. 2016-04-27 17:42:59 +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
5d928d5187 adapt tests to new tiger algorithm 2016-03-28 17:08:27 +02:00
Sarah Hoffmann
23fa6018a4 make sure linked places get recomputed when unlinked
When linked the place may not be in the search index,
so it must be reindexed when being unlinked. The status
change will only have an effect during the subsequent
update, so change tests to that effect.
2016-03-28 09:51:29 +02:00
Sarah Hoffmann
443bfec035 Merge branch 'tigerlines' of https://github.com/markigail/Nominatim 2016-03-27 20:00:15 +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
Markus Gail
a8afb9bd3c Removed unnecessary test for tiger. 2016-03-21 14:14:01 +01:00
Markus Gail
46cef36184 Implement geocoding and reverse geocoding with tiger interpolation lines instead of points. 2016-03-21 14:14:01 +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
71ab123fbb update osm2pgsql (libosmium; source, sidewalk, wikidata tags) 2015-08-29 11:26:12 +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
Sarah Hoffmann
dbabfcd0cf tests for update of search_name table 2015-07-12 17:13:01 +02:00
Marc Tobias Metten
8c656fb667 remove tag in test suite used during debugging 2015-06-16 21:13:12 +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
2f8a29ba39 merge addr:postcode from houses into search index of attached road
Makes house number searchable by postcode when the postcode is
only available in addr:postcode.
2015-05-08 19:34:33 +02:00
Sarah Hoffmann
6727c36298 places marked as linked should use the address of the link origin
fixes #269
2015-05-03 17:31:14 +02:00
Sarah Hoffmann
a97808afec add test for TIGER reverse with lower zoom 2015-04-30 22:17:00 +02:00
Sarah Hoffmann
cf36e8d2fb Merge branch 'reverse-lookup-including-tiger-lookup' of https://github.com/mtmail/Nominatim 2015-04-30 21:48:25 +02:00
Sarah Hoffmann
cc40706188 add tests for new polygon_threshold feature 2015-04-30 21:39:41 +02:00
Marc Tobias Metten
2e1590ed89 apply Sarah's pull request feedback 2015-04-29 01:34:32 +02:00
Sarah Hoffmann
27753fb8db remove check for class/type shortcuts which were never implemented
fixes #266
2015-04-28 21:37:51 +02:00
Marc Tobias Metten
9746629fd3 during reverse geocode lookup we also check the (optional) Tiger data for house numbers 2015-04-28 21:07:34 +02:00