Sarah Hoffmann
6cc6cf950c
ensure that result object name is always first in display_name
...
The display name might be mixed up if the result object has a lower
rank_address than its address members.
2020-04-26 00:14:55 +02:00
Sarah Hoffmann
0b0349f746
Merge pull request #1752 from mtmail/new-oo-shell-class
...
new PHP Nominatim\Shell class to wrap shell escaping
2020-04-25 16:48:04 +02:00
Sarah Hoffmann
2740974a13
Merge pull request #1758 from krahulreddy/advanced-installations
...
Advanced installations
2020-04-22 09:59:44 +02:00
Sarah Hoffmann
97a9a262bb
Merge pull request #1764 from mtmail/docs-countrycodes-based-on-adminlevel-2
...
API docs: countrycode assignment happens using admin_level=2 tags
2020-04-22 09:57:59 +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
marc tobias
e33315eaa6
API documentation: clarification countrycode assignment happens using admin_level=2 tags
2020-04-21 17:42:12 +02:00
Sarah Hoffmann
5469d02d03
nominatim.py: fix wrong use of assert
...
Fixes #1762 .
2020-04-19 17:59:49 +02:00
K Rahul Reddy
42c80893cb
Fix documentation links ( #1760 )
...
Update installation documentation link in VAGRANT.md, update.php
2020-04-19 00:42:24 +02:00
K Rahul Reddy
5c56ea3198
Adjustments made to documentation
2020-04-17 21:53:50 +05:30
K Rahul Reddy
42f86329a9
Added Advanced Installations documentation
2020-04-17 21:53:41 +05:30
K Rahul Reddy
08e273c0c7
Added scripts for multiple country setup and updates
2020-04-17 21:50:59 +05:30
Sarah Hoffmann
5f8f98fa03
Merge pull request #1756 from lonvia/downgrade-waterways
...
downgrade waterways
2020-04-17 08:46:40 +02:00
Sarah Hoffmann
08c53ae27d
downgrade waterways
...
A lot of streams in OSM are of minor importance, they certainly
should show up lower in the list of results than villages. Those
rivers/streams that are well known have a wikipedia page and get
a higher importance from that.
The disadvantage with downgrading is that the address gets even
more useless but that's something that needs to be solved outside
the rank search.
2020-04-14 17:14:20 +02:00
Sarah Hoffmann
f4f369895c
Merge pull request #1753 from mtmail/fix-travis-ci-badge
...
fix Travis-CI badge in README output
2020-04-13 18:36:02 +02:00
marc tobias
38c21de0ee
Nominatim::DB tests against separate postgresql database
2020-04-13 18:01:37 +02:00
marc tobias
43cf36e0c7
fix Travis-CI badge in README output
2020-04-13 17:55:17 +02:00
Sarah Hoffmann
9a9ff95989
fix logging of lookup calls
...
Log start was called but the actual writing was missing.
2020-04-13 11:55:24 +02:00
marc tobias
fc40939775
new PHP Nominatim\Shell class to wrap shell escaping
2020-04-12 03:50:40 +02:00
Sarah Hoffmann
553d8a828c
Merge pull request #1751 from lonvia/respect-admin-hierarchy
...
Address ranks must not invert admin_level hierarchy
2020-04-11 23:41:19 +02:00
Sarah Hoffmann
80f7392fb1
address ranks must not invert admin_level hierarchy
...
When inheriting an address rank from a linked place we
must be careful not to destroy the hierarchy established
through boundary admin_level. Therefore, before assigning
an address rank from a linked place, find the next higher
boundary in the admin_level hierarchy, look up its address
rank and then only use the address rank from the linked
place if it is higher.
2020-04-11 20:56:30 +02:00
Sarah Hoffmann
61535c9972
Merge branch 'update-jquery-leaflet' of https://github.com/mtmail/Nominatim into mtmail-update-jquery-leaflet
2020-04-11 20:53:14 +02:00
Sarah Hoffmann
b443c92a7a
Merge pull request #1749 from lonvia/ranking-during-updates
...
Reset search and address ranks on update
2020-04-11 20:52:05 +02:00
marc tobias
22da6c541d
website dependencies: jQuery v2.1 => 3.5, leaflet 1.3 => 1.6
2020-04-11 18:18:57 +02:00
Sarah Hoffmann
cd96354bc7
reset address and search ranks on update
...
With ranks being dynamically changed through linking of places,
it is important to reset the ranks on update, so that changes
of the rank due to changes in linking are correctly taken into
account.
2020-04-11 09:20:13 +02:00
Sarah Hoffmann
c6d859a08a
factor out computation of address and search rank
2020-04-10 23:18:31 +02:00
Sarah Hoffmann
ef47515420
make admin levels 3 and 7 distinct ones in addresses
...
There really is no need to conflate these two levels as they
are in use in various countries.
Also adds province as a distinct place.
Fixes #1736 .
2020-04-10 22:58:11 +02:00
Sarah Hoffmann
a471a3d1b0
Merge pull request #1745 from lonvia/shuffle-sql-functions
...
Some more SQL function reorganisation
2020-04-10 17:23:09 +02:00
Sarah Hoffmann
79a68fc2db
Merge branch 'deletable-and-polygons-as-json' of https://github.com/mtmail/Nominatim into mtmail-deletable-and-polygons-as-json
2020-04-10 17:20:51 +02:00
marc tobias
93ddd46231
Add JSON output for /deletable.php and /polygons.php
2020-04-10 15:34:56 +02:00
Sarah Hoffmann
f5f0c197be
move ranks-related functions in separate sql file
...
Also adds a common function for computing the update radius
around place nodes.
2020-04-10 11:34:14 +02:00
Sarah Hoffmann
4a30ec28b9
move helper functions from placex_triggers into utils
...
Also adds documentation for these functions.
2020-04-10 11:05:11 +02:00
Sarah Hoffmann
37ef9bb3d3
Merge pull request #1742 from mtmail/travis-ci-add-os
...
Travis-Ci configuration: remove -sudo-, add -os-
2020-04-10 08:46:50 +02:00
marc tobias
3e1d4a87fa
travis-ci configuration: remove -sudo-, add -os-
2020-04-10 01:20:51 +02:00
Sarah Hoffmann
320d46cc96
Merge pull request #1741 from filimongeorge/patch-1
...
Updated Import and Update .md file
2020-04-09 23:00:34 +02:00
Sarah Hoffmann
a06ceeef4c
Merge pull request #1740 from mtmail/setupclass-index-outputfile-not-used
...
SetupClass.php: remove unused variable
2020-04-09 22:57:51 +02:00
Sarah Hoffmann
def573d7b4
Merge pull request #1739 from lonvia/remove-self-from-geojson
...
Further tweaks to geocodejson output
2020-04-09 22:51:20 +02:00
filimongeorge
7f7d29fdd1
Updated Import and Update .md file
2020-04-09 20:51:38 +03:00
marc tobias
c611d49941
SetupClass.php: remove unused variable
2020-04-08 14:16:06 +02:00
Sarah Hoffmann
11cd648699
remove name from geocodejson when not set
2020-04-08 11:19:43 +02:00
Sarah Hoffmann
98be5bf637
adapt tests to geocodejson format adaptions
2020-04-08 11:19:43 +02:00
Sarah Hoffmann
29df9771bb
further tweaks to geocodejson address output
...
Removes the place itself from the address details and use
the lowest ranking element in the rank range for the output.
2020-04-08 11:11:33 +02:00
Sarah Hoffmann
e68c1132da
ignore isaddress in details output when it is not present
2020-04-08 10:28:28 +02:00
Sarah Hoffmann
1047b1c191
Merge pull request #1737 from mtmail/expose-isaddress-in-details-json
...
details JSON: also print isaddress addressline field
2020-04-07 20:49:31 +02:00
marc tobias
9431e80eb4
details JSON: also print isaddress addressline field
2020-04-07 14:50:41 +02:00
Sarah Hoffmann
178501de61
Merge pull request #1734 from krahulreddy/fixed-parselatlon
...
Added whitespace support for parseLatLon
2020-04-05 23:25:50 +02:00
Sarah Hoffmann
81c7f618fb
avoid deletes on search_name in reverse-only mode
2020-04-04 18:26:27 +02:00
Rahul
eb2d816f2a
Added test cases for whitespaces in LatLon
2020-04-04 00:53:40 +05:30
Rahul
244cb0e98c
Added whitespace characters support in LatLon parsing
2020-04-04 00:53:40 +05:30
Sarah Hoffmann
300ac4b77b
fix phpcs issues
2020-04-03 20:08:08 +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