gemo1011
4d073b0350
new query to search place nodes if no polygon was found
2018-06-05 11:54:12 +02:00
gemo1011
625018b654
adapted the coding style with phpcs
2018-06-05 11:54:12 +02:00
gemo1011
5f2410119d
better performance
2018-06-05 11:54:12 +02:00
gemo1011
424c0d0ebb
faster query through bbox preselection
2018-06-05 11:54:12 +02:00
gemo1011
71c9adfdba
performence update through subquerry
2018-06-05 11:54:12 +02:00
gemo1011
723bb4d0b9
changing to from rank_search to rank_address
2018-06-05 11:54:12 +02:00
gemo1011
cb76635da7
better performance for place node search
2018-06-05 11:54:12 +02:00
gemo1011
237e31b3ce
use the linked_place_id for adress search if a place node is found with a linked_place_id
2018-06-05 11:54:12 +02:00
gemo1011
d0741f21b1
changed reverse geocode algorithm
2018-06-05 11:54:12 +02:00
Sarah Hoffmann
1d0da944a6
document polygon_threashold parameter
...
Fixes #1041 .
2018-05-15 23:30:58 +02:00
Sarah Hoffmann
d0880694eb
Merge pull request #1043 from lonvia/token-as-a-class
...
Token as a class
2018-05-15 20:21:32 +02:00
Sarah Hoffmann
1f689bdaae
document tokens
2018-05-14 23:23:38 +02:00
Sarah Hoffmann
6a0361d0c6
add documentation for TokenList
2018-05-14 23:17:54 +02:00
Sarah Hoffmann
f29c7bf910
introduce classes for token list and token types
2018-05-14 23:04:15 +02:00
Sarah Hoffmann
2cc4c73b64
Merge pull request #1038 from mtmail/phpcs-array-key-alignment
...
add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
2018-05-08 09:04:03 +02:00
Marc Tobias Metten
8841a328c8
add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
2018-05-08 00:37:41 +02:00
Sarah Hoffmann
c555b60b36
narrow down search by house number when postcode is given
...
Fixes #1034 .
2018-05-07 21:34:11 +02:00
Sarah Hoffmann
b30e2ab5dc
Merge pull request #1033 from lonvia/remove-word-frequency-scores
...
Replace word frequency hash
2018-05-07 20:59:20 +02:00
Sarah Hoffmann
115792d1db
replace word frequency hash
...
The word frequency hash was only used to determine if the
name of a SearchDescription is rare. Do this already when
building the SearchDescription (when the word frequency
is still available) and get gid of the extra hash.
2018-05-06 22:35:31 +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
bd04ce62e0
Merge pull request #1032 from mtmail/tests-for-debughtml
...
PHP unit tests for DebugHtml
2018-05-04 21:24:08 +02:00
Sarah Hoffmann
3bb6ecdc3b
Merge pull request #1029 from lonvia/streamline-sql
...
streamline SQL for parenting rank 30 places
2018-05-04 21:17:09 +02:00
Marc Tobias Metten
a885e7309a
PHP unit tests for DebugHtml
2018-05-03 22:19:19 +02:00
Sarah Hoffmann
6706a23fb5
streamline SQL for parenting rank 30 places
...
- avoid select all
- prefer direct select into
- use early loop exit when possible
2018-05-01 15:44:18 +02:00
Sarah Hoffmann
c7faab4d7c
adapt reverse index to changed reverse query
...
Thanks to @gemo1011.
2018-05-01 15:29:39 +02:00
Sarah Hoffmann
080ba00956
Merge pull request #1024 from lonvia/reduce-address-search-terms
...
Reduce address search terms
2018-04-26 22:28:53 +02:00
Sarah Hoffmann
2613ebfa01
Merge pull request #977 from lonvia/fix-byteswap-check
...
clean up byte order detection
2018-04-18 21:35:32 +02:00
Sarah Hoffmann
53c526c01d
remove search_name_country table
...
The table is no longer used, country names are handled
directly via the word table.
2018-04-16 20:47:45 +02:00
Sarah Hoffmann
dc371618ba
remove now unused getNearestNamedRoadFeature() function
2018-04-16 20:34:28 +02:00
Sarah Hoffmann
59288417f0
remove debug code
2018-04-16 20:29:30 +02:00
Sarah Hoffmann
1dd401b570
remove use of is_in terms for address computation
...
The code has been dead for a long time because all is_in
terms have been added to the nameaddress_vector so
that the IF condition would never hit.
2018-04-16 20:27:16 +02:00
Sarah Hoffmann
ee194ab369
remove special search for Tiger postcodes
...
Postcodes should no longer appear in the address search terms.
2018-04-16 20:25:19 +02:00
Sarah Hoffmann
b8113abd93
fix variable name
2018-04-16 20:16:11 +02:00
Sarah Hoffmann
5182da9f45
add tests for address tag parsing for search name
2018-04-15 22:52:42 +02:00
Sarah Hoffmann
14c25717ab
restrict addr:* tags that are used for search term
...
Fixes #1001 .
2018-04-15 22:17:20 +02:00
mtmail
3087ac1145
PHP code style: enforce long array initialisation ( #1015 )
2018-04-13 13:18:29 +02:00
mtmail
cdbde5b88d
get rid of Python psycopg2 install warning ( #1014 )
2018-04-13 12:28:12 +02:00
marc tobias
7a1ee99345
return centroid on geojson format
2018-04-12 22:02:24 +02:00
marc tobias
7a31a3d106
remove rank_search_label field
2018-04-12 22:02:24 +02:00
marc tobias
fe3dba3fd7
use RFC3339 for human readable date
2018-04-12 22:02:24 +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
45aef06d00
localname field is required by nominatim-ui
2018-04-12 22:01:10 +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
45bc511955
variable naming after lonvia PR feedback
2018-04-12 22:01:10 +02:00
marc tobias
dedf56b5f8
spacing changes after lonvia PR feedback
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