]>
git.openstreetmap.org Git - nominatim.git/log
Sarah Hoffmann [Tue, 18 Aug 2020 19:40:53 +0000 (21:40 +0200)]
add migration for new indxing schema
Sarah Hoffmann [Tue, 18 Aug 2020 14:58:58 +0000 (16:58 +0200)]
switch indexind to address rank
A place needs all lower address rank object indexed to make up
the address. The search rank no longer ensures that as it can have
a different ordering than the address rank.
This switches indexing rank order to address ranks. Non-address
objects (with address rank 0) are indexed together with POIs.
Sarah Hoffmann [Sun, 16 Aug 2020 20:23:23 +0000 (22:23 +0200)]
use only centroid to get parent admin boundaries
Using the full geometry is far too expensive.
Sarah Hoffmann [Sun, 16 Aug 2020 07:38:20 +0000 (09:38 +0200)]
nominatim: also index boundaries by rank
We need to make sure that the entry in serach_name from a lower rank
is indeed available.
Sarah Hoffmann [Fri, 14 Aug 2020 14:13:06 +0000 (16:13 +0200)]
index admin boundaries before everything else
Avoids irregularities that might happen because the address
rank of a boundary is changed through linking.
Sarah Hoffmann [Fri, 14 Aug 2020 08:33:58 +0000 (10:33 +0200)]
nominatim: move DBConnection class into its own file
Sarah Hoffmann [Fri, 14 Aug 2020 07:44:56 +0000 (09:44 +0200)]
Merge pull request #1920 from lonvia/remove-linked-place-when-updating
Remove linked_place from extratags when updating
Sarah Hoffmann [Thu, 13 Aug 2020 14:59:11 +0000 (16:59 +0200)]
remove linked_place from extratags when updating
Before updating an admin boundary we need to make sure that any
artificially generated 'linked_place' entry is removed from the
extratags column. This ensures that the place designation does
not linger when a linked place disappears and that it is updated
when the linking changes.
Sarah Hoffmann [Thu, 13 Aug 2020 07:13:10 +0000 (09:13 +0200)]
Merge pull request #1919 from lonvia/tests-for-ranking
More tests and fixes for address rank computation
Sarah Hoffmann [Sun, 9 Aug 2020 12:43:23 +0000 (14:43 +0200)]
use address rank for address forming when available
Sarah Hoffmann [Sun, 9 Aug 2020 09:23:46 +0000 (11:23 +0200)]
boundary address ranks must not go above 25
Fixes #1914.
Sarah Hoffmann [Thu, 6 Aug 2020 07:22:38 +0000 (09:22 +0200)]
add simple tests for address rank computation
Sarah Hoffmann [Thu, 6 Aug 2020 07:20:42 +0000 (09:20 +0200)]
also take place tags into account for address rank
An admin boundary might have a place tag but no matching place node.
We still should use the place value as indicator for the address
rank in this case.
Sarah Hoffmann [Tue, 11 Aug 2020 13:12:16 +0000 (15:12 +0200)]
Merge pull request #1917 from lonvia/docs-rank-levels
docs: add tables for the meaning of address and search ranks
Sarah Hoffmann [Tue, 11 Aug 2020 08:01:28 +0000 (10:01 +0200)]
docs: add tables for the meaning of address and search ranks
Also makes tables a bit more readable by adding margins and better
headers.
Sarah Hoffmann [Tue, 11 Aug 2020 09:48:17 +0000 (11:48 +0200)]
Merge pull request #1918 from lonvia/remove-more-osmosis-init
remove more traces of --osmosis-init switch
Sarah Hoffmann [Tue, 11 Aug 2020 08:43:04 +0000 (10:43 +0200)]
remove more traces of osmosis-init
Sarah Hoffmann [Sun, 9 Aug 2020 07:31:48 +0000 (09:31 +0200)]
Merge pull request #1912 from lonvia/remove-unused-import-update-functions
remove unused functions from setup and update
Sarah Hoffmann [Thu, 6 Aug 2020 14:15:17 +0000 (16:15 +0200)]
remove unused functions from setup and update
Removes the defunct --osmosis-init and --no-api switches and the
unsupported (and unnecessary) deduplicate. Also removes
'experimental' from --setup-website as this is a required
function now.
Sarah Hoffmann [Thu, 6 Aug 2020 09:07:38 +0000 (11:07 +0200)]
Merge pull request #1909 from lonvia/minor-fixes
Make SQL debug statements execute again
Sarah Hoffmann [Thu, 6 Aug 2020 07:29:19 +0000 (09:29 +0200)]
Make SQL debug statements execute again
There were some old variable names used that are no longer valid.
Either fix them or remove the statement completely.
Fixes #1907.
Sarah Hoffmann [Tue, 4 Aug 2020 12:31:19 +0000 (14:31 +0200)]
Merge pull request #1865 from mtmail/how-to-import-test-db
test/README.md - more instructions how to import test db
Sarah Hoffmann [Tue, 4 Aug 2020 12:30:08 +0000 (14:30 +0200)]
Merge pull request #1902 from lonvia/avoid-touching-boundaries-in-addresses
Be more strict what areas make up an address
Sarah Hoffmann [Tue, 4 Aug 2020 10:32:16 +0000 (12:32 +0200)]
Merge pull request #1901 from lonvia/speed-up-indexing
Batch-index places at rank 30
Sarah Hoffmann [Tue, 4 Aug 2020 10:08:50 +0000 (12:08 +0200)]
be more strict what areas make up an address
Exclude boundaries that touch a line in only one point and
that touch areas only along the boundary.
Fixes #1900.
Sarah Hoffmann [Mon, 3 Aug 2020 14:57:06 +0000 (16:57 +0200)]
adapt test results to new ranking
Sarah Hoffmann [Wed, 29 Jul 2020 15:20:30 +0000 (17:20 +0200)]
indexer: allow batch processing of places
Request and process multiple place_ids at once so that
Postgres can make better use of caching and there are less
transactions running.
Sarah Hoffmann [Wed, 29 Jul 2020 14:00:20 +0000 (16:00 +0200)]
indexer: move progress tracker into separate class
Sarah Hoffmann [Wed, 29 Jul 2020 13:24:57 +0000 (15:24 +0200)]
indexer: get rid of special handling of few places
Given that we do not distiribute geometry sectors to threads anymore,
there is no point in this kind of special handling.
Sarah Hoffmann [Mon, 3 Aug 2020 08:26:35 +0000 (10:26 +0200)]
Merge pull request #1899 from mtmail/use-new-dsn-format-in-vagrant-md
VAGRANT.md: we use different database DSN syntax these days
marc tobias [Fri, 31 Jul 2020 14:52:29 +0000 (16:52 +0200)]
VAGRANT.md: we use different database DSN syntax these days
marc tobias [Wed, 1 Jul 2020 18:52:42 +0000 (20:52 +0200)]
test/README.md - more instructions how to import test db
Sarah Hoffmann [Fri, 31 Jul 2020 08:11:09 +0000 (10:11 +0200)]
Merge pull request #1898 from lonvia/show-housenumber-with-housename
make house number reappear in display name on named POIs
Sarah Hoffmann [Thu, 30 Jul 2020 21:39:55 +0000 (23:39 +0200)]
make house number reappear in display name on named POIs
After
6cc6cf950c3c08103e6159a079c85b5a4f1c09fa names and house numbers
of POIS got mingled into a single item when creating the display name.
Add the house number as extra information without place_id to avoid
later mangling.
Sarah Hoffmann [Wed, 29 Jul 2020 07:20:34 +0000 (09:20 +0200)]
Merge pull request #1894 from lonvia/fix-hierarchy-by-admin-level
Preserve admin level hierarchy between admin boundaries
Sarah Hoffmann [Wed, 29 Jul 2020 07:20:14 +0000 (09:20 +0200)]
Merge pull request #1895 from lonvia/update-less-quiet
Make indexing during updates less quiet
Sarah Hoffmann [Tue, 28 Jul 2020 20:35:51 +0000 (22:35 +0200)]
make indexing during updates less quiet
Adjust verbosity behaviour to that of indexing during setup.
Sarah Hoffmann [Tue, 28 Jul 2020 20:15:25 +0000 (22:15 +0200)]
preserve admin level hierarchy between admin boundaries
When the address rank of an admin boundary is changed because
of an attached place type, it may happen that the admin_level
hierarchy gets inversed. Avoid that by adjusting the address
rank if an inversion is detected.
Sarah Hoffmann [Sun, 26 Jul 2020 14:08:45 +0000 (16:08 +0200)]
Merge pull request #1891 from lonvia/automatic-db-setup
Implicitly connect to database during setup
Sarah Hoffmann [Sun, 26 Jul 2020 13:57:07 +0000 (15:57 +0200)]
test: make road really cross the boundary
Sarah Hoffmann [Sun, 26 Jul 2020 10:27:52 +0000 (12:27 +0200)]
remove connect() in update script
This is now implicit.
Sarah Hoffmann [Sun, 26 Jul 2020 09:56:00 +0000 (11:56 +0200)]
implicitly connect to database during setup
Make access to the DB object a function, so that the connection
can be opened implicitly when the object is accessed for the first
time. This way we no longer need to check beforehand if a specific
function of the setup needs DB access or not.
Also move the check for the module to the relevant sub step.
Sarah Hoffmann [Sat, 25 Jul 2020 09:34:51 +0000 (11:34 +0200)]
Merge pull request #1890 from lonvia/add-wiki-tags-to-all-styles
Add wiki tags to all styles
Sarah Hoffmann [Sat, 25 Jul 2020 08:00:18 +0000 (10:00 +0200)]
add wiki tags to all styles
wikipedia and wikidata tags are needed to compute the importance
so we need to put them into extra tags for all styles.
Fixes #1885.
Sarah Hoffmann [Sat, 18 Jul 2020 10:14:51 +0000 (12:14 +0200)]
forgit to adapt info message
Sarah Hoffmann [Sat, 18 Jul 2020 10:12:37 +0000 (12:12 +0200)]
Merge pull request #1874 from joy-yyd/rank_modification
House number search fix for #164
Sarah Hoffmann [Sat, 18 Jul 2020 09:44:01 +0000 (11:44 +0200)]
Merge pull request #1884 from lonvia/fixes-for-webserver-settigns
Small fixes for new webserver settings file
Sarah Hoffmann [Sat, 18 Jul 2020 09:02:07 +0000 (11:02 +0200)]
move website settings back to settings/
We don't want the settings to become visible when a server is
accidentally configured wrongly.
Sarah Hoffmann [Sat, 18 Jul 2020 09:00:17 +0000 (11:00 +0200)]
log file is a string when not set to false
(Joy) Yuanyue Ding [Wed, 8 Jul 2020 15:47:38 +0000 (17:47 +0200)]
Modifiy the range of address_rank, fix for issue #164
Sarah Hoffmann [Wed, 8 Jul 2020 08:06:49 +0000 (10:06 +0200)]
Merge pull request #1873 from lonvia/resurrect-debug-option
Reenable debug parameter
Sarah Hoffmann [Wed, 8 Jul 2020 06:38:11 +0000 (08:38 +0200)]
default language is a string when not set to false
Sarah Hoffmann [Wed, 8 Jul 2020 06:32:46 +0000 (08:32 +0200)]
reenable debug parameter
The parameter got lost when switching to website settings.
Given that the use of a fixed parameter is limited,
debugging output can now only be set via the URL parameter.
Sarah Hoffmann [Sun, 5 Jul 2020 19:06:27 +0000 (21:06 +0200)]
Merge pull request #1869 from lonvia/migration-for-setup-website
docs: add migration for new --setup-website step
Sarah Hoffmann [Sun, 5 Jul 2020 19:06:00 +0000 (21:06 +0200)]
Merge pull request #1868 from lonvia/reverse-for-addressable-places-only
reverse: ignore place nodes without an address rank
Sarah Hoffmann [Sun, 5 Jul 2020 13:46:06 +0000 (15:46 +0200)]
docs: add migration for new --setup-website step
Sarah Hoffmann [Sun, 5 Jul 2020 13:38:49 +0000 (15:38 +0200)]
reverse: ignore place nodes without an address rank
We already exclude all polygon places without an address
rank. place nodes should also be ignored. This removes
places like locality from the reverse results.
Fixes #1839.
Sarah Hoffmann [Sun, 5 Jul 2020 09:14:48 +0000 (11:14 +0200)]
docs: rename documentation chapter
Avoids confusion about this being the documentation itself.
Sarah Hoffmann [Sun, 5 Jul 2020 09:13:28 +0000 (11:13 +0200)]
docs: move external data sources into simple page
Sarah Hoffmann [Sun, 5 Jul 2020 08:57:12 +0000 (10:57 +0200)]
Merge branch 'move-datasources-into-separate-repos' of https://github.com/mtmail/Nominatim into mtmail-move-datasources-into-separate-repos
Sarah Hoffmann [Sun, 5 Jul 2020 08:54:42 +0000 (10:54 +0200)]
Merge pull request #1864 from lonvia/langauge-specific-presuffixes
exclude language-specific name:prefix and name:suffix
Sarah Hoffmann [Wed, 1 Jul 2020 16:11:50 +0000 (18:11 +0200)]
Merge pull request #1829 from krahulreddy/websiteSetup
Added setup-website option
Sarah Hoffmann [Wed, 1 Jul 2020 16:11:14 +0000 (18:11 +0200)]
Merge pull request #1857 from mtmail/db-migration-update-functions
Migration.md - admin also need to run recreate db functions
Sarah Hoffmann [Wed, 1 Jul 2020 16:00:53 +0000 (18:00 +0200)]
exclude language-specific name:prefix and name:suffix
There are about 1k suffixes and 20k prefixes with a
language-speicfic variant in use. These should not
show up as names.
marc tobias [Wed, 1 Jul 2020 15:38:44 +0000 (17:38 +0200)]
move data-sources/ directory in new git repos
marc tobias [Tue, 30 Jun 2020 14:49:38 +0000 (16:49 +0200)]
Migration.md - admin also need to run recreate db functions
Sarah Hoffmann [Wed, 1 Jul 2020 13:46:08 +0000 (15:46 +0200)]
sql: fix rank variable type
The rank type needs to match the parameter type of
update_place_diameter().
Fixes #1851.
Sarah Hoffmann [Wed, 1 Jul 2020 09:38:40 +0000 (11:38 +0200)]
Merge pull request #1858 from lonvia/update-osm2pgsql
Update osm2pgsql
Sarah Hoffmann [Tue, 30 Jun 2020 20:39:38 +0000 (22:39 +0200)]
update osm2pgsql (hang on multipolygons)
Sarah Hoffmann [Sun, 28 Jun 2020 20:39:44 +0000 (22:39 +0200)]
Merge pull request #1852 from osm-search/disable-jit-for-updates
Disable Postgresql jit and parallel processing for osm2pgsql updates
Sarah Hoffmann [Sun, 28 Jun 2020 16:24:29 +0000 (18:24 +0200)]
make phpcs happy
Sarah Hoffmann [Sun, 28 Jun 2020 16:21:42 +0000 (18:21 +0200)]
travis: reduce the size of diff download
Sarah Hoffmann [Sun, 28 Jun 2020 16:09:08 +0000 (18:09 +0200)]
travis: run a single round of updates on the Monaco import
Sarah Hoffmann [Sun, 28 Jun 2020 16:06:06 +0000 (18:06 +0200)]
disable JIT and parallel processing for osm2pgsql in updates
This is known to cause issues because of bad indexing
statistics.
K Rahul Reddy [Fri, 19 Jun 2020 16:36:23 +0000 (22:06 +0530)]
Moved settings-frontend to website/
K Rahul Reddy [Fri, 19 Jun 2020 16:22:56 +0000 (21:52 +0530)]
Updated setup.php
K Rahul Reddy [Sun, 14 Jun 2020 13:10:42 +0000 (18:40 +0530)]
Documentation updated
K Rahul Reddy [Sun, 14 Jun 2020 13:00:01 +0000 (18:30 +0530)]
Added setup-website to travis.yml
K Rahul Reddy [Fri, 12 Jun 2020 13:34:48 +0000 (19:04 +0530)]
Added setup-website option
Sarah Hoffmann [Fri, 26 Jun 2020 19:36:32 +0000 (21:36 +0200)]
Merge pull request #1836 from lonvia/rework-large-location-II
Change processing of place nodes in addresses
Sarah Hoffmann [Tue, 23 Jun 2020 21:31:18 +0000 (23:31 +0200)]
docs: minor typo and grammar fixes
Sarah Hoffmann [Tue, 23 Jun 2020 21:25:46 +0000 (23:25 +0200)]
Merge branch 'split-off-test-tool-installation-instructions' of https://github.com/mtmail/Nominatim into mtmail-split-off-test-tool-installation-instructions
Sarah Hoffmann [Tue, 23 Jun 2020 21:20:43 +0000 (23:20 +0200)]
Merge pull request #1841 from mtmail/faq-entry-about-rebuilding-nominatim-so
FAQ addition when to rebuild nominatim.so
Sarah Hoffmann [Tue, 23 Jun 2020 21:10:26 +0000 (23:10 +0200)]
Merge pull request #1834 from mtmail/faq-invalid-page-in-block
FAQ entry for PostgreSQL -invalid page in block-
marc tobias [Sat, 20 Jun 2020 02:01:50 +0000 (04:01 +0200)]
FAQ addition when to rebuild nominatim.so
marc tobias [Sat, 20 Jun 2020 01:48:07 +0000 (03:48 +0200)]
Put install instructions of test tools into separate docs/ markdown file
marc tobias [Mon, 15 Jun 2020 16:36:21 +0000 (18:36 +0200)]
FAQ entry for PostgreSQL -invalid page in block-
Sarah Hoffmann [Fri, 19 Jun 2020 18:12:56 +0000 (20:12 +0200)]
Merge pull request #1838 from lonvia/make-serve
add 'make serve' command
Sarah Hoffmann [Fri, 19 Jun 2020 15:35:24 +0000 (17:35 +0200)]
add 'make serve' command
Starts up PHP's built-in webserver in the website/ directory.
Useful for testing and development.
See #1831.
Sarah Hoffmann [Sat, 30 May 2020 09:50:04 +0000 (11:50 +0200)]
adapt tests to new search ranks
Sarah Hoffmann [Wed, 6 May 2020 20:22:24 +0000 (22:22 +0200)]
change place node expansion for large area table
So far we've used a buffer around a place node to define its
potential address reach. This had two problems: the buffer was
so large that addresses often contain false positives and the
buffer is really distorted when getting closer to the poles.
Change the buffer here to draw a bounndig box at a certain
distance in meter. This means that we always use the same
box everywhere on the planet and can make the extent much
smaller. Using a box has the advantage that it is much faster
to figure out if a point is within the box.
Sarah Hoffmann [Wed, 17 Jun 2020 07:30:29 +0000 (09:30 +0200)]
Merge pull request #1830 from lonvia/docs-for-nominatim-ui
Add usage docs for nominatim-ui
Sarah Hoffmann [Sat, 13 Jun 2020 18:06:01 +0000 (20:06 +0200)]
add usage docs for nominatim-ui
Includes migration guides for Apache and nginx.
Sarah Hoffmann [Thu, 11 Jun 2020 21:12:38 +0000 (23:12 +0200)]
Merge pull request #1827 from mtmail/centos8-postgresql12-without-proj
Vagrant centos8: proj52 not needed, use postgresql 12/postgis 3.0
Sarah Hoffmann [Thu, 11 Jun 2020 20:46:04 +0000 (22:46 +0200)]
remove version warning from ubuntu 20 installation
Sarah Hoffmann [Thu, 11 Jun 2020 20:44:00 +0000 (22:44 +0200)]
cmake: only require php for import and api
marc tobias [Thu, 11 Jun 2020 17:10:38 +0000 (19:10 +0200)]
Vagrant centos8: proj52 not needed, use postgresql 12/postgis 3.0
Sarah Hoffmann [Sat, 6 Jun 2020 18:29:38 +0000 (20:29 +0200)]
prepare 3.5.0 release
Sarah Hoffmann [Sat, 6 Jun 2020 16:02:40 +0000 (18:02 +0200)]
Merge pull request #1822 from lonvia/document-address-labels
document which labels may appear in the address info
Sarah Hoffmann [Sat, 6 Jun 2020 15:32:30 +0000 (17:32 +0200)]
document which labels may appear in the address info
The list is manually generated and only valid for the default
configuration as used on openstreetmap.org.
Fixes #1808.