gemo1011
a5750a6ef6
fixed getoutlinesfunction
2018-06-27 14:55:15 +02:00
gemo1011
d5e39260b3
updated indices for reverse geocoding
2018-06-27 14:55:14 +02:00
gemo1011
0996fdfb55
improvements for pull request
2018-06-27 14:55:13 +02:00
gemo1011
07eb108a6d
fixed typo
2018-06-27 14:55:12 +02:00
gemo1011
41249377d2
fixed getoutlines function if no coordinates are passed
2018-06-27 14:55:11 +02:00
gemo1011
be091b17d9
better search for interpolated housenumbers
2018-06-27 14:55:10 +02:00
gemo1011
398467b2f4
using ST_ClosestPoint and a subquery
2018-06-27 14:55:10 +02:00
gemo1011
796f069d74
test adjusting
2018-06-27 14:55:09 +02:00
gemo1011
82b6245aaa
better place node search with rank_search
2018-06-27 14:55:08 +02:00
gemo1011
f0e5cf53b8
only starts the search in country_osm_grid if $iMaxRank > 4
2018-06-27 14:55:07 +02:00
gemo1011
7585d37818
edited test
2018-06-27 14:55:07 +02:00
gemo1011
ee54ebfe77
new query if no polygon is found
...
the new query searchs in the country_osm_grid table for a polygon
2018-06-27 14:55:06 +02:00
gemo1011
43ee4a8faf
changed parameters for lookup function in the reverse.php
2018-06-27 14:55:05 +02:00
gemo1011
ab5bcd6d2f
rebase
2018-06-27 14:55:05 +02:00
gemo1011
6b8c99a275
rebase
2018-06-27 14:55:03 +02:00
gemo1011
10897787af
deleted query for place nodes search if no polygon is found and added search for interpolation lines
2018-06-05 11:54:12 +02:00
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