Sarah Hoffmann
01d5ecb86b
use already existing address field in geocodejson
2018-07-06 21:58:41 +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
adae49b184
remove trailing spaces
2018-07-05 19:28:17 +02:00
Sarah Hoffmann
2bd7c75a35
avoid 'SELECT *'
2018-07-05 19:27:21 +02:00
Sarah Hoffmann
b0e0f7ae76
make sure index is used when looking for places in country
2018-07-04 20:56:09 +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
1d7ed6737e
added comments and improved geOutline function
2018-06-27 14:55:24 +02:00
gemo1011
97b6656182
no polygon search over country-level
2018-06-27 14:55:23 +02:00
gemo1011
f108eac527
changed the lookupPolygon function
...
- Search for Polygons begins at rank_address 4
- $iMaxRank changed to 25 if its higher
2018-06-27 14:55:22 +02:00
gemo1011
426e108b34
added case when for highways in subquery
2018-06-27 14:55:18 +02:00
gemo1011
229ad01042
added search diameter for the place node search, depending on rank
2018-06-27 14:55:17 +02:00
gemo1011
a5750a6ef6
fixed getoutlinesfunction
2018-06-27 14:55:15 +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
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
ab5bcd6d2f
rebase
2018-06-27 14:55:05 +02:00
gemo1011
6b8c99a275
rebase
2018-06-27 14:55:03 +02:00
Marc Tobias Metten
5a17bfc9c9
display viewbox on map
2018-06-14 02:19:19 +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
Marc Tobias Metten
7a964efb3a
search/reverse/lookup with geojson,geocodejson output
2018-05-29 17:20:34 +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
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
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
Marc Tobias Metten
a885e7309a
PHP unit tests for DebugHtml
2018-05-03 22:19:19 +02:00
mtmail
3087ac1145
PHP code style: enforce long array initialisation ( #1015 )
2018-04-13 13:18:29 +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