Sarah Hoffmann
9a204f6284
test: make road really cross the boundary
2020-07-26 15:57:07 +02:00
Sarah Hoffmann
6e4ee160ee
adapt tests to new search ranks
2020-06-17 10:53:11 +02:00
Sarah Hoffmann
8218da27b3
adapt tests to new ranks
2020-05-23 19:40:41 +02:00
Sarah Hoffmann
57510f517a
adapt tests to modified address types
2020-05-17 16:53:33 +02:00
Sarah Hoffmann
207efe700f
highway:construction should appear as 'road' in the address list
...
Fixes #1763 .
2020-04-22 09:08:33 +02:00
Sarah Hoffmann
98be5bf637
adapt tests to geocodejson format adaptions
2020-04-08 11:19:43 +02:00
Sarah Hoffmann
0d189ac5df
Merge pull request #1733 from krahulreddy/whitespaces-considered-as-single-space
...
Support whitespace characters(x09-x0d) as single space
2020-04-03 18:01:47 +02:00
K Rahul Reddy
7aa2df5389
Support whitespace characters(x09-x0d) as single space
2020-04-02 05:04:40 +05:30
Sarah Hoffmann
975ef0b305
re-add district to geocodejson
2020-04-01 21:24:42 +02:00
Sarah Hoffmann
8150c3602b
add tests for geocodejson address fields
2020-04-01 11:14:48 +02:00
Sarah Hoffmann
19948c378a
adapt tests to new borough ranking
2020-03-30 23:04:20 +02:00
marc tobias
7a94872413
remove polygon=1 (polypoints) feature
2020-03-29 21:58:11 +02:00
Sarah Hoffmann
d56c69dd01
adapt API tests to place linkage changes
...
The missing district is due to a data error for wikidata tags.
2020-03-25 11:38:31 +01:00
Sarah Hoffmann
78526a33b4
Remove linkees from search_name
...
Fixes #722
2020-03-04 11:36:39 +01:00
Sarah Hoffmann
6d431aebb7
linked centroids must always be within geometry
...
When using a linked place as centroid for a boundary, check
first that it is really within the area. If it is outside,
just keep the computed centroid because a centroid outside the
area just causes havok.
Fixes #1352 .
2020-03-04 09:59:57 +01:00
Sarah Hoffmann
acd8ca2ebd
add testing for rank adaption while linking
2020-02-28 15:22:48 +01:00
Sarah Hoffmann
06fdfad89e
link against place nodes by place type
...
If a boundary relation has no label member preferably
link against a place node with the same place type.
Also inherit the rank_address from the place node (only
has an effect when linking via lable member or place type).
2020-02-28 15:22:48 +01:00
Sarah Hoffmann
00ca493f33
move linked place type into linked_place extratags
...
Using linked_place means that we don't overwrite any
place tags on the boundary. This is important when we
wanto to use the information for linking.
2020-02-28 15:22:48 +01:00
Sarah Hoffmann
5220a92be4
adapt API tests
2020-02-22 16:46:03 +01:00
Sarah Hoffmann
6073d948e6
fix duplicate keys in tests
...
The tests suddenly failed because the unique key constraint
is more strict and does no longer include the type.
2020-02-12 11:29:33 +01:00
Sarah Hoffmann
4856f56d61
adapt test to change in hamlet classification
2020-01-23 22:26:47 +01:00
Sarah Hoffmann
d732dc3bb2
update place address levels
...
Adds province and allotments and downgrades hamlet.
2020-01-08 23:53:03 +01:00
Sarah Hoffmann
20d541af06
remove osm2pgsql tag tests
...
These tests are now part of the osm2pgsql test suite.
2020-01-04 16:23:29 +01:00
Sarah Hoffmann
f8bd4f5133
add test for finding housenumber 0
2019-12-01 20:36:59 +01:00
Sarah Hoffmann
bfe92ea191
bdd tests: enforce use of full import style
2019-12-01 16:25:39 +01:00
Sarah Hoffmann
9fed91a47f
adapt tests for new wikipedia tables
2019-11-20 09:57:40 +01:00
marc tobias
3af1520461
lookup endpoint returns boundingbox
2019-08-05 23:32:46 +02:00
Sarah Hoffmann
2bbe5017d4
use bbox of geometry when searching for attached streets
...
As we are doing a distance search, this improves results for
large places like airports.
Fixes #1442 .
2019-07-28 13:28:27 +02:00
marc tobias
1560685020
lookup endpoint supports jsonv2 and geocodejson output now
2019-07-21 23:20:48 +02:00
Sarah Hoffmann
4c1793b4e3
recreate interpolations when one of their support nodes changes
...
A simple update is not enough because the interpolation splits
might change as well as the housenumbers.
Fixes #1360 .
2019-07-03 23:15:54 +02:00
Sarah Hoffmann
e164d53fcc
adapt tests to new place address ranks
2019-06-30 23:09:43 +02:00
Sarah Hoffmann
2c21cbb5e6
update osm2pgsql (downgrading unnamed places)
...
Also adds tests for updating unnamed places.
2019-06-10 18:22:11 +02:00
Sarah Hoffmann
3bc4b4bf9f
update osm2pgsql (import special tags)
2019-06-09 13:58:05 +02:00
Sarah Hoffmann
b612b99421
Merge pull request #1321 from mtmail/interpolating-0-housenumbers
...
Support housenumber=0 in interpolations
2019-04-19 18:29:43 +02:00
marc tobias
7d9dbd62c7
Support housenumber=0 in interpolations
2019-04-02 15:13:45 +02:00
marc tobias
c9a6350894
On postcode searches observe given bounded viewbox
2019-04-02 14:49:31 +02:00
Sarah Hoffmann
2a4198f94d
add test for issue #1343
...
Keyword details for countries (which don't have address details).
2019-03-26 21:49:44 +01:00
marc tobias
d4b633bfc5
replace database abstraction DB with PDO
2019-03-09 00:18:15 +01:00
marc tobias
3be797c759
BDD: support for DB_PORT environment variable
2019-02-09 20:54:18 +01:00
Sarah Hoffmann
c822012aad
ignore admin boundary ways for countries and states
...
Countries and states are mapped world-wide as relations by now.
Fixes #543 and #1291 .
2019-01-26 13:37:10 +01:00
Sarah Hoffmann
e24ea7c1bb
add tests for import of interpolations
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
caa8210112
Switch to configurable style for osm2pgsql
...
Includes the full style, which is the same as now (minus
sidwalk exclusion) and a minimal style for boundaries only.
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
cc17aa8d6b
Remove postcodes also from word table when they no longer exist
...
Also adds tests for postcode updates.
Fixes #1273 .
2019-01-04 23:11:47 +01:00
Sarah Hoffmann
52178caa98
fix tests
2018-11-28 23:40:17 +01:00
Sarah Hoffmann
e10d11c6c7
Make rank assignments configurable
...
The initial search and address rank is saved in a table
that is set up from a json configuration file. Ranks may
be assigned on a country level according to class and
type of the object. Special handling that depends on the
geometry or OSM type is still hard-coded in placex insert.
The new default config file mimicks the current assignment
as close as possible. A couple of exceptions have been
removed, most notably the exception for Irish townlands.
2018-11-24 16:21:16 +01:00
Sarah Hoffmann
43c2eb383e
Remove country and state nodes from address computation
...
OSM has by now almost complete coverage of admin
boundaries up to state level. Place nodes will do more
harm than good in this case.
2018-11-17 23:32:08 +01:00
Sarah Hoffmann
c84648c157
update osm2pgsql (restrict operator)
...
Fixes #1176 .
2018-11-17 17:32:30 +01:00
marc tobias
aa41b813b8
2018 TIGER data conversion scripts, add documentation to /docs/data-sources
2018-11-15 23:01:08 +01:00
marc tobias
e4a51e460e
set exception handler by request format, not always HTML
2018-10-03 22:58:20 +02:00
marc tobias
c73737f77f
adjust BDD api test cases to 2018 test database
2018-09-28 18:46:35 +02:00