Sarah Hoffmann
84cfe5db53
fix warning in keyword output of details
2018-08-22 22:35:46 +02:00
Sarah Hoffmann
88374c2522
improve test coverage for reverse and debug output
2018-08-20 23:05:49 +02:00
Sarah Hoffmann
de8888ec58
directly do country search for reverse zoom < 5
...
Fixes #1145 .
2018-08-20 22:09:08 +02:00
Sarah Hoffmann
48d4ea5542
Do not have postcode node appear in addresses directly
...
Many of the postcode nodes are actually derived from
incomplete addresses and are as such not even centroids.
Better let them only take part in the address computation
via the postcode table.
2018-08-05 14:25:20 +02:00
Sarah Hoffmann
9bdbbec0c8
Merge pull request #1110 from lonvia/remove-address-check-for-long-lines
...
Remove special search for address part for long ways
2018-08-04 23:19:32 +02:00
Sarah Hoffmann
646fa53b44
improve place node search when no areas found
...
Only look for place nodes in a certain radius according
to the rank_search of the place node.
2018-08-04 21:51:23 +02:00
Sarah Hoffmann
713ea080d2
Remove special search for address part for long ways
...
Ways now always have the complete set of crossing boundaries
independent of the length.
Fixes #1108 .
2018-07-22 15:05:45 +02:00
Eric Stadtherr
62747c934d
Work on setup/update scripts, unit tests, and documentation to enable Postgres server to be optionally configured on a remote host
2018-07-21 12:09:47 -06:00
Sarah Hoffmann
be58b929f2
add tests for geocodejson and fix syntax errors
2018-07-12 22:00:18 +02:00
Sarah Hoffmann
f50f46c1ce
Merge branch 'geojson-output' of https://github.com/mtmail/Nominatim into mtmail-geojson-output
2018-07-06 20:26:33 +02:00
Sarah Hoffmann
9955155ce0
update tests for off-coast reverse geocoding
2018-07-04 21:03:04 +02:00
Sarah Hoffmann
ac29f8bc91
Merge branch 'better-reverse' of https://github.com/gemo1011/Nominatim into gemo1011-better-reverse
2018-07-02 21:33:27 +02:00
gemo1011
796f069d74
test adjusting
2018-06-27 14:55:09 +02:00
gemo1011
7585d37818
edited test
2018-06-27 14:55:07 +02:00
Sarah Hoffmann
743ec43460
nearest place search should match any of given tokens not all
...
When multiple isin tokens are given, then these are duplicates
and it is enough that any one of them is found in the
name_vector.
Fixes #1056 .
2018-06-14 00:11:19 +02:00
Marc Tobias Metten
7a964efb3a
search/reverse/lookup with geojson,geocodejson output
2018-05-29 17:20:34 +02:00
Sarah Hoffmann
f29c7bf910
introduce classes for token list and token types
2018-05-14 23:04:15 +02:00
mtmail
7075a5828e
add JSON format to /status endpoint ( #1013 )
...
add JSON format to /status endpoint
2018-05-04 23:37:48 +02:00
Sarah Hoffmann
5182da9f45
add tests for address tag parsing for search name
2018-04-15 22:52:42 +02:00
marc tobias
31c7f25541
rename parentof to hierarchy and other lonvia Mar/29 PR feedback
2018-04-12 22:02:24 +02:00
Marc Tobias Metten
0eb71cdce8
only return polygon if &polygon_geojson=1 is set
2018-04-12 22:01:10 +02:00
Marc Tobias Metten
1e28f2478c
details support json output
2018-04-12 22:01:10 +02:00
mtmail
3cdbcbff8f
get apt-get php-db package running on travis-ci ( #973 )
...
travis: /usr/bin/env php whenever calling PHP scripts to deal with phpenv
2018-04-12 00:54:59 +02:00
Sarah Hoffmann
9a3bc9cc1e
Merge pull request #1010 from lonvia/ignore-unicode-format-characters
...
Ignore Unicode format characters for normalization
2018-04-10 23:48:58 +02:00
Sarah Hoffmann
6bd905ff43
update osm2pgsql (name:suffix)
...
Fixes #823 .
2018-04-10 23:46:57 +02:00
Sarah Hoffmann
ae83ceab5e
ignore Unicode format characters for normalization
...
Also adds tests.
Fixes #1007 .
2018-04-10 22:48:17 +02:00
Sarah Hoffmann
28ee59dd64
test: drop template DB when something goes wrong during creation
...
Fixes #951 .
2018-04-08 10:06:33 +02:00
Sarah Hoffmann
36fa21d7ce
fix more behave table formatting errors
2018-02-26 23:41:57 +01:00
Sarah Hoffmann
2b66a7a39a
test: fix format of behave table
2018-02-26 20:49:26 +01:00
Marc Tobias Metten
8a615ad969
phpcs fixes. Mostly spacing and single quotes
2018-02-23 01:16:01 +01:00
Edward Betts
7e00a6e2ff
Correct spelling mistakes.
2018-02-18 13:11:35 +00:00
Sarah Hoffmann
c3483747eb
reimport boundaries from scratch when type is changed
...
Fixes #895 .
2018-02-12 21:19:27 +01:00
Sarah Hoffmann
35c7269bac
when linking waterway ways and relations allow all river-like types
...
Fixes #848
2017-12-16 17:00:55 +01:00
Sarah Hoffmann
adbbb1ce02
restrict number of results for reverse queries
...
When given a coordinate off the coast of a large town, the entire
town may end up in the potential results during the reverse query.
Postgres then needs to sort tens of thousands of results before it
can determine the clostest one. Given that the results at such a
large search radius are bound to be imprecise anyway, restrict
the number of results postgres should consider to 1000.
2017-10-25 22:34:29 +02:00
Sarah Hoffmann
f78d094483
fix variable typo when filtering results
...
Fixes #830 and #832 .
2017-10-25 20:25:23 +02:00
Sarah Hoffmann
7eeb79ce67
placex must not return a lookup housenumber
2017-10-25 20:11:51 +02:00
Sarah Hoffmann
1a4506f6ab
use PlaceLookup in search
2017-10-23 23:30:53 +02:00
Sarah Hoffmann
89c576fbe1
tests: more coverage for all API endpoints
2017-10-04 00:05:34 +02:00
Sarah Hoffmann
218b70fd96
test: remove road-fallback test from db tests
...
This should be tested in the api section.
2017-10-03 14:26:08 +02:00
Sarah Hoffmann
e3323e8888
fix search for postcode via structured query
...
Results from the artifical postcode table were dropped
when reevaluating rank of results.
2017-10-03 12:10:27 +02:00
Sarah Hoffmann
eacaf3489e
more coverage tests for Geocode.php
2017-10-02 23:09:45 +02:00
Sarah Hoffmann
0d4c1e8460
fix viewbox related test
...
Coordinates are no longer specially ordered.
2017-10-02 20:39:33 +02:00
Sarah Hoffmann
81a7ea36db
more API tests (mostly for user errors)
2017-09-19 23:06:31 +02:00
Sarah Hoffmann
af74c037f4
enable coverage also for tests with HTTP errors
2017-09-19 22:42:09 +02:00
Sarah Hoffmann
15a215729e
fix handling of near queries with special search
...
Make sure to use the classtype tables with near search and
allow to search for arbitrary key/values (forbidding it
for viewbox searches).
Add tests for near queries.
2017-09-19 00:07:11 +02:00
Sarah Hoffmann
8eb066c692
reinstate key-value amenity search
...
Reenable search by the secret special term [key=value]
matching against the given main tag. Note that for most
cases that works only for tags that also have a special
search table.
2017-09-18 22:09:06 +02:00
Sarah Hoffmann
a0de20e9bc
more API tests for code coverage
...
Also fixes two minor issues related to structured queries.
2017-09-17 23:30:08 +02:00
Sarah Hoffmann
7ca5219297
fixup tests
2017-08-19 19:37:06 +02:00
Sarah Hoffmann
e55ac77c94
add simple tests for postcode import
2017-08-19 19:37:06 +02:00
Sarah Hoffmann
ec8af1dd40
fix more tests
2017-08-19 19:37:06 +02:00