nominatim.git
10 days agoMerge remote-tracking branch 'upstream/master' master
Sarah Hoffmann [Sun, 16 Jun 2019 19:06:31 +0000 (21:06 +0200)]
Merge remote-tracking branch 'upstream/master'

2 weeks agoincrease weight for country tokens
Sarah Hoffmann [Mon, 10 Jun 2019 21:35:37 +0000 (23:35 +0200)]
increase weight for country tokens

See if it solves issues with country codes vs. US state codes.

2 weeks agoremove historic:neighbourhood from address ranks
Sarah Hoffmann [Mon, 10 Jun 2019 18:12:27 +0000 (20:12 +0200)]
remove historic:neighbourhood from address ranks

Should not be reverse searchable.

Fixes #1379.

2 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 10 Jun 2019 17:05:18 +0000 (19:05 +0200)]
Merge remote-tracking branch 'upstream/master'

2 weeks agouse real centroid when looking for near roads
Sarah Hoffmann [Mon, 10 Jun 2019 16:23:12 +0000 (18:23 +0200)]
use real centroid when looking for near roads

The point-on-surface may be at the corner in large objects, so
that roads are too far away.

Fixes #1389.

2 weeks agoupdate osm2pgsql (downgrading unnamed places)
Sarah Hoffmann [Mon, 10 Jun 2019 16:22:11 +0000 (18:22 +0200)]
update osm2pgsql (downgrading unnamed places)

Also adds tests for updating unnamed places.

2 weeks agoupdate osm2pgsql (import special tags)
Sarah Hoffmann [Sun, 9 Jun 2019 11:58:05 +0000 (13:58 +0200)]
update osm2pgsql (import special tags)

2 weeks agoMerge pull request #1381 from mtmail/faq-entry-about-managed-database-services
Sarah Hoffmann [Sun, 9 Jun 2019 09:04:47 +0000 (11:04 +0200)]
Merge pull request #1381 from mtmail/faq-entry-about-managed-database-services

FAQ entry about managed database services

2 weeks agoMerge pull request #1394 from mtmail/update-postcodes-without-colon
Sarah Hoffmann [Sun, 9 Jun 2019 09:03:10 +0000 (11:03 +0200)]
Merge pull request #1394 from mtmail/update-postcodes-without-colon

exclude postcode ranges separated by colon from centre point calculation

2 weeks agoMerge pull request #1388 from mtmail/register-shutdown-function
Sarah Hoffmann [Sun, 9 Jun 2019 08:20:19 +0000 (10:20 +0200)]
Merge pull request #1388 from mtmail/register-shutdown-function

register shutdown function to handle out-of-memory errors

3 weeks agoUbuntu18-nginx install instructions - fix php-fpm socket path (#1398)
rlytleatrel8edto [Sun, 2 Jun 2019 15:04:02 +0000 (11:04 -0400)]
Ubuntu18-nginx install instructions - fix php-fpm socket path (#1398)

Ubuntu18-nginx install instructions - fix php-fpm socket path

4 weeks agoexclude postcode ranges separated by colon from centre point calculation
marc tobias [Sat, 25 May 2019 18:43:38 +0000 (20:43 +0200)]
exclude postcode ranges separated by colon from centre point calculation

4 weeks agoMerge pull request #1387 from joto/master
Sarah Hoffmann [Thu, 23 May 2019 21:54:29 +0000 (23:54 +0200)]
Merge pull request #1387 from joto/master

Fix some minor issues in docs.

5 weeks agoRevert layout changes in list.
Jochen Topf [Wed, 22 May 2019 07:25:05 +0000 (09:25 +0200)]
Revert layout changes in list.

5 weeks agoregister shutdown function to handle out-of-memory errors
marc tobias [Tue, 21 May 2019 16:37:46 +0000 (18:37 +0200)]
register shutdown function to handle out-of-memory errors

5 weeks agoFix some minor issues in docs.
Jochen Topf [Tue, 21 May 2019 11:55:16 +0000 (13:55 +0200)]
Fix some minor issues in docs.

6 weeks agoFAQ entry about managed database services
marc tobias [Tue, 14 May 2019 17:45:56 +0000 (19:45 +0200)]
FAQ entry about managed database services

7 weeks agoMerge pull request #1372 from lonvia/raise-postgres-version
Sarah Hoffmann [Thu, 2 May 2019 20:56:08 +0000 (22:56 +0200)]
Merge pull request #1372 from lonvia/raise-postgres-version

increase minimum versions for PostgreSQL, Postgis and PHP

7 weeks agoincrease minimum versions for PostgreSQL, Postgis and PHP
Sarah Hoffmann [Thu, 2 May 2019 19:48:40 +0000 (21:48 +0200)]
increase minimum versions for PostgreSQL, Postgis and PHP

Remove checks and hacks for older versions.

7 weeks agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 2 May 2019 19:33:36 +0000 (21:33 +0200)]
Merge remote-tracking branch 'upstream/master'

8 weeks agoprepare for 3.3.0 release
Sarah Hoffmann [Wed, 1 May 2019 07:15:09 +0000 (09:15 +0200)]
prepare for 3.3.0 release

8 weeks agoadd documentation for new reverse zoom 17
Sarah Hoffmann [Tue, 30 Apr 2019 21:27:04 +0000 (23:27 +0200)]
add documentation for new reverse zoom 17

8 weeks agoConvert importance to float value
Sarah Hoffmann [Tue, 30 Apr 2019 21:21:53 +0000 (23:21 +0200)]
Convert importance to float value

Fixes #1369.

8 weeks agofix indent in docs
Sarah Hoffmann [Mon, 29 Apr 2019 21:13:37 +0000 (23:13 +0200)]
fix indent in docs

8 weeks agoMerge branch 'markdown-syntax-fix-gb-postcodes' of https://github.com/mtmail/Nominati...
Sarah Hoffmann [Mon, 29 Apr 2019 21:12:37 +0000 (23:12 +0200)]
Merge branch 'markdown-syntax-fix-gb-postcodes' of https://github.com/mtmail/Nominatim into mtmail-markdown-syntax-fix-gb-postcodes

8 weeks agoReadme for GB postcodes had markdown syntax error
marc tobias [Sun, 28 Apr 2019 21:18:36 +0000 (23:18 +0200)]
Readme for GB postcodes had markdown syntax error

8 weeks agoIgnore no-fatal errors during dump file restore
Sarah Hoffmann [Sun, 28 Apr 2019 20:44:42 +0000 (22:44 +0200)]
Ignore no-fatal errors during dump file restore

The owner should never be restored, the table should be owned
by the caller instead. Non-existing indexes and similar only
started to throw a warning with Postgresql 9.4 and later, so
ignore them explicitly there.

2 months agoMerge pull request #1321 from mtmail/interpolating-0-housenumbers
Sarah Hoffmann [Fri, 19 Apr 2019 16:29:43 +0000 (18:29 +0200)]
Merge pull request #1321 from mtmail/interpolating-0-housenumbers

Support housenumber=0 in interpolations

2 months agoMerge pull request #1359 from mtmail/fix-export-script
Sarah Hoffmann [Wed, 17 Apr 2019 21:04:51 +0000 (23:04 +0200)]
Merge pull request #1359 from mtmail/fix-export-script

utils/export.php broke after switch to PDO DB abstraction

2 months agoutils/export.php broke after switch to PDO DB abstraction
marc tobias [Wed, 17 Apr 2019 16:51:22 +0000 (18:51 +0200)]
utils/export.php broke after switch to PDO DB abstraction

2 months agoMerge pull request #1358 from mtmail/travis-php-7dot1
Sarah Hoffmann [Wed, 17 Apr 2019 20:05:28 +0000 (22:05 +0200)]
Merge pull request #1358 from mtmail/travis-php-7dot1

travis-CI: use PHP 7.1

2 months agotravis-CI: use PHP 7.1
marc tobias [Wed, 17 Apr 2019 12:03:35 +0000 (14:03 +0200)]
travis-CI: use PHP 7.1

2 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 16 Apr 2019 21:15:17 +0000 (23:15 +0200)]
Merge remote-tracking branch 'upstream/master'

2 months agoexclude all objects without address rank from reverse
Sarah Hoffmann [Tue, 16 Apr 2019 21:13:27 +0000 (23:13 +0200)]
exclude all objects without address rank from reverse

This was forgotten when looking for a housenumber for
a street point.

Fixes #1319.

2 months agoadd reverse zoom level that includes minor streets
Sarah Hoffmann [Mon, 15 Apr 2019 20:43:07 +0000 (22:43 +0200)]
add reverse zoom level that includes minor streets

Zoom 17 now also resolves service roads and similar.

Fixes #1350.

2 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 14 Apr 2019 10:07:06 +0000 (12:07 +0200)]
Merge remote-tracking branch 'upstream/master'

2 months agoisaddress field may be missing in details view
Sarah Hoffmann [Sun, 14 Apr 2019 10:03:37 +0000 (12:03 +0200)]
isaddress field may be missing in details view

2 months agoMerge branch 'observe-bounded-viewbox-in-postcode-search' of https://github.com/mtmai...
Sarah Hoffmann [Sun, 14 Apr 2019 09:29:28 +0000 (11:29 +0200)]
Merge branch 'observe-bounded-viewbox-in-postcode-search' of https://github.com/mtmail/Nominatim into mtmail-observe-bounded-viewbox-in-postcode-search

2 months agoMerge pull request #1336 from mtmail/faq-entry-about-buffer-not-owned
Sarah Hoffmann [Sun, 14 Apr 2019 09:27:36 +0000 (11:27 +0200)]
Merge pull request #1336 from mtmail/faq-entry-about-buffer-not-owned

New FAQ entry about -buffer is not owned by resource owner-

2 months agoMerge pull request #1348 from mtmail/checkmodulepresence-to-raise-exception
Sarah Hoffmann [Sun, 14 Apr 2019 09:25:52 +0000 (11:25 +0200)]
Merge pull request #1348 from mtmail/checkmodulepresence-to-raise-exception

checkModulePresence now raises exception instead of its callers

2 months agoMerge pull request #1347 from mtmail/pdo-returns-proper-boolean
Sarah Hoffmann [Sun, 14 Apr 2019 09:24:23 +0000 (11:24 +0200)]
Merge pull request #1347 from mtmail/pdo-returns-proper-boolean

PDO library returns proper boolean. We dont need string comparison

2 months agoEnsure that postcode relations are used in addresses
Sarah Hoffmann [Sun, 14 Apr 2019 09:20:03 +0000 (11:20 +0200)]
Ensure that postcode relations are used in addresses

Postcode nodes are normally thrown away as they only play
a role for computing artifical postcodes. However, if we
have a postcode area this still should take part of the
address.

Fixes #1330.

2 months agocheckModulePresence now raises exception instead of its callers
marc tobias [Tue, 2 Apr 2019 16:37:11 +0000 (18:37 +0200)]
checkModulePresence now raises exception instead of its callers

2 months agoPDO library returns proper boolean. We dont need string comparison
marc tobias [Tue, 2 Apr 2019 14:52:37 +0000 (16:52 +0200)]
PDO library returns proper boolean. We dont need string comparison

2 months agoSupport housenumber=0 in interpolations
marc tobias [Sun, 3 Mar 2019 19:44:22 +0000 (20:44 +0100)]
Support housenumber=0 in interpolations

2 months agoOn postcode searches observe given bounded viewbox
marc tobias [Tue, 2 Apr 2019 12:49:31 +0000 (14:49 +0200)]
On postcode searches observe given bounded viewbox

3 months agoadd test for issue #1343
Sarah Hoffmann [Tue, 26 Mar 2019 20:49:44 +0000 (21:49 +0100)]
add test for issue #1343

Keyword details for countries (which don't have address details).

3 months agoif nameaddress_vector was {} the database queries failed
marc tobias [Tue, 26 Mar 2019 16:59:27 +0000 (17:59 +0100)]
if nameaddress_vector was {} the database queries failed

3 months agoNew FAQ entry about -buffer is not owned by resource owner-
marc tobias [Tue, 19 Mar 2019 00:52:35 +0000 (01:52 +0100)]
New FAQ entry about -buffer is not owned by resource owner-

3 months agoMerge pull request #1334 from mtmail/fix-PDOException-call
Sarah Hoffmann [Mon, 18 Mar 2019 20:26:23 +0000 (21:26 +0100)]
Merge pull request #1334 from mtmail/fix-PDOException-call

PDOException call in catch was causing exception itself

3 months agoPDOException call in catch was causing exception itself
marc tobias [Sun, 17 Mar 2019 01:47:28 +0000 (02:47 +0100)]
PDOException call in catch was causing exception itself

3 months agoMerge pull request #1333 from Arun179/patch-1
Sarah Hoffmann [Thu, 14 Mar 2019 18:06:07 +0000 (19:06 +0100)]
Merge pull request #1333 from Arun179/patch-1

Rectified a small spelling mistake

3 months agoRectified a small spelling mistake
Arun Kumar [Thu, 14 Mar 2019 17:23:09 +0000 (22:53 +0530)]
Rectified a small spelling mistake

changed "mailinglist" to "mailing list"

3 months agoMerge pull request #1328 from mtmail/php-pdo-with-prepare
Sarah Hoffmann [Wed, 13 Mar 2019 10:10:17 +0000 (11:10 +0100)]
Merge pull request #1328 from mtmail/php-pdo-with-prepare

Nominatim::DB support input variables, custom error messages

3 months agoNominatim::DB support input variables, custom error messages
marc tobias [Sun, 10 Mar 2019 14:42:58 +0000 (15:42 +0100)]
Nominatim::DB support input variables, custom error messages

3 months agoremove outdated last_update script
Sarah Hoffmann [Sat, 9 Mar 2019 20:41:46 +0000 (21:41 +0100)]
remove outdated last_update script

No longer used by server monitoring.

3 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 9 Mar 2019 10:51:24 +0000 (11:51 +0100)]
Merge remote-tracking branch 'upstream/master'

3 months agoMerge pull request #1318 from mtmail/php-pdo
Sarah Hoffmann [Sat, 9 Mar 2019 10:27:51 +0000 (11:27 +0100)]
Merge pull request #1318 from mtmail/php-pdo

replace database abstraction DB with PDO

3 months agoreplace database abstraction DB with PDO
marc tobias [Sun, 24 Feb 2019 15:14:36 +0000 (16:14 +0100)]
replace database abstraction DB with PDO

3 months agoadd logEnd to reverse.php, just like search.php
marc tobias [Tue, 26 Feb 2019 14:03:40 +0000 (15:03 +0100)]
add logEnd to reverse.php, just like search.php

4 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 24 Feb 2019 16:51:32 +0000 (17:51 +0100)]
Merge remote-tracking branch 'upstream/master'

4 months agoMerge pull request #1315 from mtmail/ui-initialize-switch-to-reverse-link
Sarah Hoffmann [Sun, 24 Feb 2019 16:51:09 +0000 (17:51 +0100)]
Merge pull request #1315 from mtmail/ui-initialize-switch-to-reverse-link

UI: update the switch-to-reverse link after each map click

4 months agoMerge pull request #1314 from mtmail/query-php-5dot4
Sarah Hoffmann [Sun, 24 Feb 2019 16:50:09 +0000 (17:50 +0100)]
Merge pull request #1314 from mtmail/query-php-5dot4

query.php - we no longer support PHP < 5.4

4 months agoUI: update the switch-to-reverse link after each map click
marc tobias [Sun, 24 Feb 2019 15:34:21 +0000 (16:34 +0100)]
UI: update the switch-to-reverse link after each map click

4 months agoquery.php - we no longer support PHP < 5.4
marc tobias [Sun, 24 Feb 2019 15:22:55 +0000 (16:22 +0100)]
query.php - we no longer support PHP < 5.4

4 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 24 Feb 2019 13:40:17 +0000 (14:40 +0100)]
Merge remote-tracking branch 'upstream/master'

4 months agodowngrade housenumbers without numbers
Sarah Hoffmann [Sun, 24 Feb 2019 13:39:14 +0000 (14:39 +0100)]
downgrade housenumbers without numbers

Fixes #1312.

4 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 24 Feb 2019 10:29:26 +0000 (11:29 +0100)]
Merge remote-tracking branch 'upstream/master'

4 months agoChange accepted features for reverse geocoding at rank 30
Sarah Hoffmann [Sun, 24 Feb 2019 10:00:33 +0000 (11:00 +0100)]
Change accepted features for reverse geocoding at rank 30

Always exclude line features (removes railways, tunnels,
piers, historical streets etc.) and boundaries (removes
electoral, historical boundaries etc.)

Fixes #1313.

4 months agoreuse DB connections by default
Sarah Hoffmann [Thu, 21 Feb 2019 22:40:40 +0000 (23:40 +0100)]
reuse DB connections by default

4 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 21 Feb 2019 22:39:48 +0000 (23:39 +0100)]
Merge remote-tracking branch 'upstream/master'

4 months agoadd osm_id index for osmline table
Sarah Hoffmann [Thu, 21 Feb 2019 22:26:31 +0000 (23:26 +0100)]
add osm_id index for osmline table

Needed when deleting address interpolation.

4 months agoadd hint that setup.php must be run from build directory
Sarah Hoffmann [Wed, 13 Feb 2019 20:58:59 +0000 (21:58 +0100)]
add hint that setup.php must be run from build directory

Fixes #1307.

4 months agoMerge pull request #1295 from mtmail/move-searchrank-labels-to-php
Sarah Hoffmann [Sun, 10 Feb 2019 16:22:49 +0000 (17:22 +0100)]
Merge pull request #1295 from mtmail/move-searchrank-labels-to-php

Remove get_addressrank_label. Move get_searchrank_label to PHP

4 months agoMerge pull request #1294 from mtmail/behave-support-for-DB-PORT
Sarah Hoffmann [Sun, 10 Feb 2019 16:20:57 +0000 (17:20 +0100)]
Merge pull request #1294 from mtmail/behave-support-for-DB-PORT

BDD: support for DB_PORT environment variable

4 months agoMerge pull request #1305 from mtmail/travis-ci-ubuntu-16
Sarah Hoffmann [Sun, 10 Feb 2019 16:20:06 +0000 (17:20 +0100)]
Merge pull request #1305 from mtmail/travis-ci-ubuntu-16

Travis CI Ubuntu 14 => Ubuntu 16

4 months agoBDD: support for DB_PORT environment variable
marc tobias [Mon, 28 Jan 2019 18:33:22 +0000 (19:33 +0100)]
BDD: support for DB_PORT environment variable

4 months agoTravis CI Ubuntu 14 => Ubuntu 16
marc tobias [Sat, 9 Feb 2019 19:22:34 +0000 (20:22 +0100)]
Travis CI Ubuntu 14 => Ubuntu 16

4 months agoRemove get_addressrank_label. Move get_searchrank_label to PHP
marc tobias [Mon, 28 Jan 2019 18:38:05 +0000 (19:38 +0100)]
Remove get_addressrank_label. Move get_searchrank_label to PHP

4 months agoMerge pull request #1282 from lonvia/remove-self-from-place-addressline
Sarah Hoffmann [Sat, 9 Feb 2019 15:00:46 +0000 (16:00 +0100)]
Merge pull request #1282 from lonvia/remove-self-from-place-addressline

Remove self from place addressline

4 months agodocs: adapt sizes to smaller place_address table
Sarah Hoffmann [Tue, 22 Jan 2019 21:42:18 +0000 (22:42 +0100)]
docs: adapt sizes to smaller place_address table

4 months agoremove self-reference from place-addressline
Sarah Hoffmann [Sun, 13 Jan 2019 20:07:01 +0000 (21:07 +0100)]
remove self-reference from place-addressline

4 months agoMerge pull request #1304 from mtmail/travis-use-composer-instead-of-pear-install
Sarah Hoffmann [Sat, 9 Feb 2019 14:24:04 +0000 (15:24 +0100)]
Merge pull request #1304 from mtmail/travis-use-composer-instead-of-pear-install

pear.php.net offline. Use composer instead of pear install

4 months agoMerge pull request #1303 from mtmail/remove-deprecated-phpunit-config-key
Sarah Hoffmann [Sat, 9 Feb 2019 08:54:34 +0000 (09:54 +0100)]
Merge pull request #1303 from mtmail/remove-deprecated-phpunit-config-key

remove phpunit config key deprecated since version 3.5

4 months agopear.php.net offline. Use composer instead of pear install
marc tobias [Sat, 9 Feb 2019 00:08:47 +0000 (01:08 +0100)]
pear.php.net offline. Use composer instead of pear install

4 months agoremove phpunit config key deprecated since version 3.5
marc tobias [Fri, 8 Feb 2019 23:34:04 +0000 (00:34 +0100)]
remove phpunit config key deprecated since version 3.5

4 months agoMerge pull request #1296 from mtmail/readme-markdown-syntax-error
Sarah Hoffmann [Mon, 28 Jan 2019 20:19:46 +0000 (21:19 +0100)]
Merge pull request #1296 from mtmail/readme-markdown-syntax-error

README: tiny markdown syntax error

4 months agoREADME: tiny markdown syntax error
marc tobias [Mon, 28 Jan 2019 18:42:40 +0000 (19:42 +0100)]
README: tiny markdown syntax error

4 months agoDo not allow --no-index together with --import-osmosis-all
Sarah Hoffmann [Sat, 26 Jan 2019 14:25:00 +0000 (15:25 +0100)]
Do not allow --no-index together with --import-osmosis-all

Fixes #1283.

4 months agoset import_status when indexing only
Sarah Hoffmann [Sat, 26 Jan 2019 14:01:39 +0000 (15:01 +0100)]
set import_status when indexing only

Makes sure that things work as expected when running
`--import-osmosis --no-index` and `--index` separately.

Fixes #1284.

4 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 26 Jan 2019 13:04:35 +0000 (14:04 +0100)]
Merge remote-tracking branch 'upstream/master'

4 months agoignore admin boundary ways for countries and states
Sarah Hoffmann [Sat, 26 Jan 2019 12:34:28 +0000 (13:34 +0100)]
ignore admin boundary ways for countries and states

Countries and states are mapped world-wide as relations by now.

Fixes #543 and #1291.

5 months agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 10 Jan 2019 19:37:10 +0000 (20:37 +0100)]
Merge remote-tracking branch 'upstream/master'

5 months agoMerge pull request #1277 from lonvia/osm2pgsql-import-from-json
Sarah Hoffmann [Thu, 10 Jan 2019 19:36:20 +0000 (20:36 +0100)]
Merge pull request #1277 from lonvia/osm2pgsql-import-from-json

Osm2pgsql import from json style file

5 months agopostcodes also need fallback
Sarah Hoffmann [Tue, 8 Jan 2019 22:46:18 +0000 (23:46 +0100)]
postcodes also need fallback

5 months agoadd final missing import numbers
Sarah Hoffmann [Tue, 8 Jan 2019 21:20:42 +0000 (22:20 +0100)]
add final missing import numbers

5 months agoupdate osm2pgsql (custom style)
Sarah Hoffmann [Sun, 6 Jan 2019 18:20:32 +0000 (19:20 +0100)]
update osm2pgsql (custom style)

5 months agomore style docs
Sarah Hoffmann [Thu, 3 Jan 2019 20:08:38 +0000 (21:08 +0100)]
more style docs

5 months agoadd tests for import of interpolations
Sarah Hoffmann [Thu, 3 Jan 2019 20:08:16 +0000 (21:08 +0100)]
add tests for import of interpolations

5 months agoadd postcodes and interpolations to osm2pgsql style
Sarah Hoffmann [Wed, 2 Jan 2019 13:50:55 +0000 (14:50 +0100)]
add postcodes and interpolations to osm2pgsql style