]>
git.openstreetmap.org Git - nominatim.git/log
Sarah Hoffmann [Sun, 14 Apr 2019 10:03:37 +0000 (12:03 +0200)]
isaddress field may be missing in details view
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
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-
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
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
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.
marc tobias [Tue, 2 Apr 2019 16:37:11 +0000 (18:37 +0200)]
checkModulePresence now raises exception instead of its callers
marc tobias [Tue, 2 Apr 2019 14:52:37 +0000 (16:52 +0200)]
PDO library returns proper boolean. We dont need string comparison
marc tobias [Tue, 2 Apr 2019 12:49:31 +0000 (14:49 +0200)]
On postcode searches observe given bounded viewbox
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).
marc tobias [Tue, 26 Mar 2019 16:59:27 +0000 (17:59 +0100)]
if nameaddress_vector was {} the database queries failed
marc tobias [Tue, 19 Mar 2019 00:52:35 +0000 (01:52 +0100)]
New FAQ entry about -buffer is not owned by resource owner-
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
marc tobias [Sun, 17 Mar 2019 01:47:28 +0000 (02:47 +0100)]
PDOException call in catch was causing exception itself
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
Arun Kumar [Thu, 14 Mar 2019 17:23:09 +0000 (22:53 +0530)]
Rectified a small spelling mistake
changed "mailinglist" to "mailing list"
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
marc tobias [Sun, 10 Mar 2019 14:42:58 +0000 (15:42 +0100)]
Nominatim::DB support input variables, custom error messages
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
marc tobias [Sun, 24 Feb 2019 15:14:36 +0000 (16:14 +0100)]
replace database abstraction DB with PDO
marc tobias [Tue, 26 Feb 2019 14:03:40 +0000 (15:03 +0100)]
add logEnd to reverse.php, just like search.php
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
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
marc tobias [Sun, 24 Feb 2019 15:34:21 +0000 (16:34 +0100)]
UI: update the switch-to-reverse link after each map click
marc tobias [Sun, 24 Feb 2019 15:22:55 +0000 (16:22 +0100)]
query.php - we no longer support PHP < 5.4
Sarah Hoffmann [Sun, 24 Feb 2019 13:39:14 +0000 (14:39 +0100)]
downgrade housenumbers without numbers
Fixes #1312.
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.
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.
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.
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
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
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
marc tobias [Mon, 28 Jan 2019 18:33:22 +0000 (19:33 +0100)]
BDD: support for DB_PORT environment variable
marc tobias [Sat, 9 Feb 2019 19:22:34 +0000 (20:22 +0100)]
Travis CI Ubuntu 14 => Ubuntu 16
marc tobias [Mon, 28 Jan 2019 18:38:05 +0000 (19:38 +0100)]
Remove get_addressrank_label. Move get_searchrank_label to PHP
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
Sarah Hoffmann [Tue, 22 Jan 2019 21:42:18 +0000 (22:42 +0100)]
docs: adapt sizes to smaller place_address table
Sarah Hoffmann [Sun, 13 Jan 2019 20:07:01 +0000 (21:07 +0100)]
remove self-reference from place-addressline
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
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
marc tobias [Sat, 9 Feb 2019 00:08:47 +0000 (01:08 +0100)]
pear.php.net offline. Use composer instead of pear install
marc tobias [Fri, 8 Feb 2019 23:34:04 +0000 (00:34 +0100)]
remove phpunit config key deprecated since version 3.5
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
marc tobias [Mon, 28 Jan 2019 18:42:40 +0000 (19:42 +0100)]
README: tiny markdown syntax error
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.
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.
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.
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
Sarah Hoffmann [Tue, 8 Jan 2019 22:46:18 +0000 (23:46 +0100)]
postcodes also need fallback
Sarah Hoffmann [Tue, 8 Jan 2019 21:20:42 +0000 (22:20 +0100)]
add final missing import numbers
Sarah Hoffmann [Sun, 6 Jan 2019 18:20:32 +0000 (19:20 +0100)]
update osm2pgsql (custom style)
Sarah Hoffmann [Thu, 3 Jan 2019 20:08:38 +0000 (21:08 +0100)]
more style docs
Sarah Hoffmann [Thu, 3 Jan 2019 20:08:16 +0000 (21:08 +0100)]
add tests for import of interpolations
Sarah Hoffmann [Wed, 2 Jan 2019 13:50:55 +0000 (14:50 +0100)]
add postcodes and interpolations to osm2pgsql style
Sarah Hoffmann [Tue, 4 Dec 2018 21:22:19 +0000 (22:22 +0100)]
document import style variants
Sarah Hoffmann [Sun, 2 Dec 2018 22:09:11 +0000 (23:09 +0100)]
fix typo
Sarah Hoffmann [Sun, 2 Dec 2018 22:05:45 +0000 (23:05 +0100)]
fixup admin import style and add two new ones
Remove unnamed landuses and postcode points from
importing. The latter will cause all objects with
address tags to be imported after all. Not expected
in the admin import style.
Sarah Hoffmann [Sun, 2 Dec 2018 16:38:25 +0000 (17:38 +0100)]
add documentation for new import style
Sarah Hoffmann [Mon, 26 Nov 2018 23:17:00 +0000 (00:17 +0100)]
Switch to configurable style for osm2pgsql
Includes the full style, which is the same as now (minus
sidwalk exclusion) and a minimal style for boundaries only.
Sarah Hoffmann [Tue, 8 Jan 2019 21:45:21 +0000 (22:45 +0100)]
adapt warm.php to new Result objects
Fixes #1276.
Sarah Hoffmann [Tue, 8 Jan 2019 21:44:33 +0000 (22:44 +0100)]
keep country_osm_grid table when dropping update tables
Sarah Hoffmann [Fri, 4 Jan 2019 22:11:47 +0000 (23:11 +0100)]
Remove postcodes also from word table when they no longer exist
Also adds tests for postcode updates.
Fixes #1273.
Sarah Hoffmann [Fri, 4 Jan 2019 20:51:18 +0000 (21:51 +0100)]
Do not log file sizes in the index step on updates
Fixes #1274.
Sarah Hoffmann [Thu, 3 Jan 2019 20:49:50 +0000 (21:49 +0100)]
correctly discard partially matching duplicates
The same result may be found with different result ranks
in the same search loop when housenumber or postcode are
part of the name or address. In this case we need to keep
the result with the lower result rank.
Fixes #1264.
Sarah Hoffmann [Tue, 11 Dec 2018 20:39:28 +0000 (21:39 +0100)]
Merge pull request #1263 from mtmail/add-new-postcodes-to-searchnames
when updating GB postcodes, also run SQL getorcreate_postcode_id
marc tobias [Tue, 11 Dec 2018 20:34:56 +0000 (21:34 +0100)]
documentation: when updating GB postcodes, also run SQL getorcreate_postcode_id [SKIP CI]
Sarah Hoffmann [Thu, 6 Dec 2018 20:18:47 +0000 (21:18 +0100)]
traverse address list backwards when computing admin levels
By starting with the lowest address level, when collecting
administrative boundaries by level, there is a better chance
to actually get the boundary when the capital of the
administrative boundary is tagged with the level of the
boundary as well.
This is just a heuristics adaption to make the best out of
the imprecise admin_level definition for place nodes.
Fixes #1261.
Sarah Hoffmann [Tue, 4 Dec 2018 21:28:29 +0000 (22:28 +0100)]
Don't escape slashes in json output
Fixes #1256.
Sarah Hoffmann [Tue, 4 Dec 2018 21:20:55 +0000 (22:20 +0100)]
Merge pull request #1252 from mtmail/update-and-document-gb-postcode-data2
GB postcode: new conversion script, documentation
Sarah Hoffmann [Tue, 4 Dec 2018 21:03:41 +0000 (22:03 +0100)]
Merge pull request #1255 from mtmail/faq-about-permanent-ids
new FAQ entry about place_id values
Sarah Hoffmann [Tue, 4 Dec 2018 21:00:31 +0000 (22:00 +0100)]
Merge pull request #1258 from lonvia/cleanup-utils
Restructure script and website installation
marc tobias [Wed, 28 Nov 2018 18:36:56 +0000 (19:36 +0100)]
Explain place_id, i.e. shouldn't be use as permanent id
Marc Tobias Metten [Sun, 4 Nov 2018 20:50:00 +0000 (21:50 +0100)]
GB postcode: new conversion script, documentation
Sarah Hoffmann [Sun, 2 Dec 2018 10:50:44 +0000 (11:50 +0100)]
No longer install phrase configuration
Instead add it as a configurable path with the one from
the source directory as the default.
Also reinstates that settings/defaults.php is installed as
settings/settings.php.
Sarah Hoffmann [Sun, 2 Dec 2018 10:21:09 +0000 (11:21 +0100)]
Remove server_compare from list of installed scripts
This is a stand alone script and does not depend on
the configured environment.
Sarah Hoffmann [Sun, 2 Dec 2018 10:16:41 +0000 (11:16 +0100)]
Remove settings/settings.php
This was only a stub to warn when something was
executed directly from utils/ in the source directory.
This is no longer possible.
Sarah Hoffmann [Sun, 2 Dec 2018 10:13:48 +0000 (11:13 +0100)]
Restructure script and website installation
Just make cmake install a small stub that includes
the settings from the build directory and then the
script from the source directory. Remove executable
rights from php files in utils/ so that they cannot
be accidentally executed.
Sarah Hoffmann [Sun, 2 Dec 2018 09:14:11 +0000 (10:14 +0100)]
remove blocks script
Belongs to the rate-limiting code that has been
removed a long time ago.
Sarah Hoffmann [Sat, 1 Dec 2018 22:20:04 +0000 (23:20 +0100)]
Migration hint for address levels
Sarah Hoffmann [Sat, 1 Dec 2018 21:40:37 +0000 (22:40 +0100)]
fixup typos and linking of data-source docs
Can't create symbolic links to a directory and then
to files within.
Sarah Hoffmann [Sat, 1 Dec 2018 21:20:50 +0000 (22:20 +0100)]
Merge branch 'document-osm-country-grid' of https://github.com/mtmail/Nominatim
Sarah Hoffmann [Sat, 1 Dec 2018 20:43:53 +0000 (21:43 +0100)]
Merge pull request #1245 from lonvia/address-levels-from-json
Make rank assignments configurable
marc tobias [Wed, 28 Nov 2018 17:57:17 +0000 (18:57 +0100)]
document what country_osm_grid does
Sarah Hoffmann [Wed, 28 Nov 2018 22:40:17 +0000 (23:40 +0100)]
fix tests
Sarah Hoffmann [Wed, 28 Nov 2018 21:29:41 +0000 (22:29 +0100)]
Merge pull request #1251 from mtmail/remove-naturalearth-boundary-fallback
remove Natural Earth dataset
Sarah Hoffmann [Wed, 28 Nov 2018 21:28:16 +0000 (22:28 +0100)]
Merge pull request #1253 from RhinoDevel/patch-1
Fix typo.
RhinoDevel [Wed, 28 Nov 2018 12:11:06 +0000 (13:11 +0100)]
Fix typo.
Sarah Hoffmann [Tue, 27 Nov 2018 21:59:18 +0000 (22:59 +0100)]
use consistent naming in doc pages
Sarah Hoffmann [Tue, 27 Nov 2018 21:32:27 +0000 (22:32 +0100)]
Move address level config into settings/
Sarah Hoffmann [Tue, 27 Nov 2018 21:27:25 +0000 (22:27 +0100)]
Merge pull request #1250 from mtmail/correct-builddir-variable-in-test-readme
test/README.txt: BUILDDIR should be BUILD_DIR [SKIP CI]
marc tobias [Tue, 27 Nov 2018 19:17:27 +0000 (20:17 +0100)]
test/README.txt: BUILDDIR should be BUILD_DIR [SKIP CI]
marc tobias [Tue, 27 Nov 2018 19:08:38 +0000 (20:08 +0100)]
remove Natural Earth dataset
Sarah Hoffmann [Mon, 26 Nov 2018 13:53:11 +0000 (14:53 +0100)]
Merge pull request #1247 from mtmail/exit-with-error-code
settings.php: when printing error, also exit with error code
marc tobias [Mon, 26 Nov 2018 13:28:09 +0000 (14:28 +0100)]
settings.php: when printing error, also exit with error code
Sarah Hoffmann [Sat, 24 Nov 2018 18:05:13 +0000 (19:05 +0100)]
remove PHP parameter typing
Older PHPs don't seem to like it.
Sarah Hoffmann [Sat, 24 Nov 2018 15:22:05 +0000 (16:22 +0100)]
travis: make sure to start with fresh template for DB tests
Sarah Hoffmann [Sat, 24 Nov 2018 09:20:24 +0000 (10:20 +0100)]
Add function to update address levels
Sarah Hoffmann [Fri, 23 Nov 2018 22:52:28 +0000 (23:52 +0100)]
Add documentation for new ranking level configuration
Sarah Hoffmann [Fri, 23 Nov 2018 22:02:32 +0000 (23:02 +0100)]
Make rank assignments configurable
The initial search and address rank is saved in a table
that is set up from a json configuration file. Ranks may
be assigned on a country level according to class and
type of the object. Special handling that depends on the
geometry or OSM type is still hard-coded in placex insert.
The new default config file mimicks the current assignment
as close as possible. A couple of exceptions have been
removed, most notably the exception for Irish townlands.
Sarah Hoffmann [Sat, 24 Nov 2018 15:20:00 +0000 (16:20 +0100)]
Merge pull request #1237 from ckquentvp/fix-accept-language-underscore-parsing
match languages such as ja_rm (or any other with underscore) properly