]>
git.openstreetmap.org Git - nominatim.git/log
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
name [Sat, 24 Nov 2018 14:52:24 +0000 (16:52 +0200)]
test languages with underscores (e.g. ja_rm)
Sarah Hoffmann [Sat, 24 Nov 2018 11:29:00 +0000 (12:29 +0100)]
fix variable name in setup --drop
Sarah Hoffmann [Sat, 24 Nov 2018 11:25:28 +0000 (12:25 +0100)]
add Makefile for tests
Sarah Hoffmann [Wed, 21 Nov 2018 20:36:11 +0000 (21:36 +0100)]
Merge pull request #1242 from lonvia/import-for-reverse-only
Add a reverse-only mode
Sarah Hoffmann [Wed, 21 Nov 2018 18:36:33 +0000 (19:36 +0100)]
add documentation for reverse-only
Sarah Hoffmann [Tue, 20 Nov 2018 20:03:56 +0000 (21:03 +0100)]
Add reverse-only parameter to setup
Avoids creating the search_name table. Useful when only /reverse
is used or the content is directly exported to photon.
Fixes #939.
Sarah Hoffmann [Wed, 21 Nov 2018 11:18:13 +0000 (12:18 +0100)]
setup: add convenience function for executing SQL commands
Sarah Hoffmann [Tue, 20 Nov 2018 22:07:55 +0000 (23:07 +0100)]
Merge pull request #1238 from lonvia/simplify-version-check
Simplify parsing of postgres and postgis versions
Sarah Hoffmann [Tue, 20 Nov 2018 22:05:56 +0000 (23:05 +0100)]
fix phpcs offences
Sarah Hoffmann [Tue, 20 Nov 2018 21:51:37 +0000 (22:51 +0100)]
simplify connection handling in setup script
- factor out runWithEnv
- require explicit connect() call to avoid rechecking for oDB
(more for readability than for speed)
- clean DSNInfo of empty strings and simplify check for entries
Sarah Hoffmann [Tue, 20 Nov 2018 20:07:24 +0000 (21:07 +0100)]
fix variable prefix
Sarah Hoffmann [Sun, 18 Nov 2018 16:18:17 +0000 (17:18 +0100)]
Simplify parsing of postgres and postgis versions
Switch to functions server_version_num and postgis_lib_version
which both only return the version string, so that no elaborate
string parsing is necessary anymore. The version string could
become especially cumbersome in pre-release versions.
Sarah Hoffmann [Sun, 18 Nov 2018 16:00:12 +0000 (17:00 +0100)]
Always ignore continents for addresses
Fixes #1236.
Sarah Hoffmann [Sun, 22 Jul 2018 15:21:27 +0000 (17:21 +0200)]
Remove country and state nodes from address computation
OSM has by now almost complete coverage of admin
boundaries up to state level. Place nodes will do more
harm than good in this case.
name [Sat, 17 Nov 2018 18:20:06 +0000 (20:20 +0200)]
match languages such as ja_rm (or any other with underscore) properly
Sarah Hoffmann [Sat, 17 Nov 2018 16:32:30 +0000 (17:32 +0100)]
update osm2pgsql (restrict operator)
Fixes #1176.
Sarah Hoffmann [Sat, 17 Nov 2018 14:37:46 +0000 (15:37 +0100)]
Document the mmap requirement for flatnode files
Fixes #877.
Sarah Hoffmann [Fri, 16 Nov 2018 23:35:38 +0000 (00:35 +0100)]
Keep matches without house number
Now that we have result ranking, we can keep the street results
for housenumber searches and reuse them in the next group round
if required. Also fixes an issue where postcode and housenumber
are in the query and one of them is wrong.
Fixes #1200.
Sarah Hoffmann [Fri, 16 Nov 2018 22:52:19 +0000 (23:52 +0100)]
Add result ranking for missing housenumber and postcode
Fixes #988.
Sarah Hoffmann [Thu, 15 Nov 2018 22:28:04 +0000 (23:28 +0100)]
Merge pull request #1233 from mtmail/better-gbpostcode-setup-warning
Improved warning message when looking for optional GB postcode file
Sarah Hoffmann [Thu, 15 Nov 2018 21:49:41 +0000 (22:49 +0100)]
docs: more specific chapter title
marc tobias [Fri, 28 Sep 2018 18:17:02 +0000 (20:17 +0200)]
2018 TIGER data conversion scripts, add documentation to /docs/data-sources
Sarah Hoffmann [Thu, 15 Nov 2018 21:25:41 +0000 (22:25 +0100)]
Merge pull request #1188 from mtmail/prototype-setup-ubuntu18-nginx
copy of the Ubuntu18 vagrant setup but with nginx as webserver
Sarah Hoffmann [Thu, 15 Nov 2018 20:19:31 +0000 (21:19 +0100)]
make HTML error message less technical
Sarah Hoffmann [Thu, 15 Nov 2018 19:57:20 +0000 (20:57 +0100)]
Merge branch 'set-exception-handler-by-request-format' of https://github.com/mtmail/Nominatim into mtmail-set-exception-handler-by-request-format
marc tobias [Fri, 9 Nov 2018 10:06:17 +0000 (10:06 +0000)]
Improved warning message when looking for optional GB postcode file
marc tobias [Thu, 20 Sep 2018 16:18:41 +0000 (18:18 +0200)]
copy of the Ubuntu18 vagrant setup but with nginx as webserver
Sarah Hoffmann [Sat, 20 Oct 2018 15:26:45 +0000 (17:26 +0200)]
increase limit when searching for street w/ house number
Increase the chance that the correct street is found.
marc tobias [Sun, 16 Sep 2018 15:16:42 +0000 (17:16 +0200)]
set exception handler by request format, not always HTML
Sarah Hoffmann [Tue, 2 Oct 2018 21:33:29 +0000 (23:33 +0200)]
fix permissions for CMakeLists.txt
Sarah Hoffmann [Tue, 2 Oct 2018 20:59:10 +0000 (22:59 +0200)]
simplify constructor of SetupFunctions
Also cleans up spacing.
Sarah Hoffmann [Tue, 2 Oct 2018 20:46:53 +0000 (22:46 +0200)]
Merge branch 'updatePHP' of https://github.com/ThomasBarris/Nominatim into ThomasBarris-updatePHP
Sarah Hoffmann [Tue, 2 Oct 2018 19:41:57 +0000 (21:41 +0200)]
Merge branch '201809-test-db' of https://github.com/mtmail/Nominatim into mtmail-201809-test-db
Sarah Hoffmann [Sun, 30 Sep 2018 19:14:55 +0000 (21:14 +0200)]
Merge pull request #1193 from mtmail/postgresql-10-postgis-scripts
also install postgis.control for postgresql-10
marc tobias [Fri, 28 Sep 2018 16:05:10 +0000 (18:05 +0200)]
adjust BDD api test cases to 2018 test database
marc tobias [Thu, 27 Sep 2018 17:38:56 +0000 (19:38 +0200)]
also install postgis.control for postgresql-10
Sarah Hoffmann [Sat, 22 Sep 2018 11:21:19 +0000 (13:21 +0200)]
docs: rewrite functions when migrating
Fixes #1183.
Sarah Hoffmann [Sat, 22 Sep 2018 08:48:32 +0000 (10:48 +0200)]
Merge pull request #1189 from mtmail/classtypes-unit-tests
PHP unit tests for Nominatim\ClassTypes
Sarah Hoffmann [Sat, 22 Sep 2018 08:47:01 +0000 (10:47 +0200)]
Merge pull request #1187 from mtmail/faq-about-pear-db-warning
Installation FAQ entry about a PHP warning that started with PHP7.2
Sarah Hoffmann [Sat, 22 Sep 2018 08:46:08 +0000 (10:46 +0200)]
Merge pull request #1186 from mtmail/getAddressDetails-fix
fix AddressDetails->getAddressDetails, add tests
marc tobias [Thu, 20 Sep 2018 17:15:58 +0000 (19:15 +0200)]
PHP unit tests for Nominatim\ClassTypes
marc tobias [Thu, 20 Sep 2018 11:41:43 +0000 (13:41 +0200)]
Installation FAQ entry about a PHP warning that started with PHP7.2 [SKIP CI]
marc tobias [Thu, 20 Sep 2018 00:16:01 +0000 (02:16 +0200)]
fix AddressDetails->getAddressDetails, add tests
Sarah Hoffmann [Wed, 19 Sep 2018 18:24:34 +0000 (20:24 +0200)]
Merge pull request #1185 from mtmail/three-faq-entries
three further FAQ entries regarding timezone, continents, exports
marc tobias [Wed, 19 Sep 2018 17:31:54 +0000 (19:31 +0200)]
three further FAQ entries regarding timezone, continents, exports
Sarah Hoffmann [Tue, 18 Sep 2018 19:54:08 +0000 (21:54 +0200)]
address tokens get a double search rank also as full terms
Fixes #1170.
ThomasBarris [Tue, 18 Sep 2018 19:29:24 +0000 (21:29 +0200)]
Merge branch 'updatePHP' of https://github.com/ThomasBarris/Nominatim into updatePHP
ThomasBarris [Tue, 18 Sep 2018 19:28:05 +0000 (21:28 +0200)]
change variables for class SetupClass.php instantiation
ThomasBarris [Tue, 18 Sep 2018 07:17:54 +0000 (09:17 +0200)]
typo
ThomasBarris [Mon, 17 Sep 2018 08:28:00 +0000 (10:28 +0200)]
move setupclass, move command line array, remove args from update array
Mateusz Konieczny [Tue, 11 Sep 2018 18:51:22 +0000 (20:51 +0200)]
link CONTRIBUTING file from README file
This change should also encourage to read "how to report bugs" guide before reporting bugs
fixes #1133
Sarah Hoffmann [Sun, 16 Sep 2018 18:45:41 +0000 (20:45 +0200)]
Merge pull request #1180 from mtmail/php-testsuite-phpunit6-compatible
make PHP testsuite work with PHPUnit6
Sarah Hoffmann [Sat, 15 Sep 2018 16:58:37 +0000 (18:58 +0200)]
Merge pull request #1179 from mtmail/import-table-higher-batchsize
import_osmosis_log table: increase possible batch size
marc tobias [Sat, 15 Sep 2018 13:23:10 +0000 (15:23 +0200)]
make PHP testsuite work with PHPUnit6
marc tobias [Sat, 15 Sep 2018 09:36:46 +0000 (11:36 +0200)]
import_osmosis_log table: increase possible batch size
Sarah Hoffmann [Mon, 10 Sep 2018 18:56:49 +0000 (20:56 +0200)]
docs: remove tablespace placeholder from index commands
Fixes #1171.
ThomasBarris [Sat, 8 Sep 2018 08:14:08 +0000 (10:14 +0200)]
moving comment to right position
ThomasBarris [Sat, 8 Sep 2018 07:26:23 +0000 (09:26 +0200)]
move checkModilePresence to class, delete own debug echo
ThomasBarris [Wed, 5 Sep 2018 20:01:03 +0000 (22:01 +0200)]
format change revert, removed bogus CL options, SetupClass to a new dir
ThomasBarris [Fri, 31 Aug 2018 20:01:53 +0000 (22:01 +0200)]
more format changes for Mr. Travis
ThomasBarris [Fri, 31 Aug 2018 19:44:49 +0000 (21:44 +0200)]
delete an empty line to make the pendantic Mister Travis happy
ThomasBarris [Fri, 31 Aug 2018 19:31:38 +0000 (21:31 +0200)]
small fixes on setup.php and a bring update.php to work
ThomasBarris [Wed, 29 Aug 2018 20:54:28 +0000 (22:54 +0200)]
splitted createTables and changed formatting to please Travis
ThomasBarris [Wed, 29 Aug 2018 19:31:19 +0000 (21:31 +0200)]
first draft of setupClass
Sarah Hoffmann [Sun, 26 Aug 2018 15:33:49 +0000 (17:33 +0200)]
prepare release 3.2.0
Sarah Hoffmann [Sun, 26 Aug 2018 15:27:31 +0000 (17:27 +0200)]
add migration for 3.2 version
Sarah Hoffmann [Sun, 26 Aug 2018 14:40:52 +0000 (16:40 +0200)]
add docs for class parameter in /details
Sarah Hoffmann [Sun, 26 Aug 2018 13:51:11 +0000 (15:51 +0200)]
Merge pull request #1155 from lonvia/namespace-for-phpunit
use namespaces for PHPUnit classes
Sarah Hoffmann [Sat, 25 Aug 2018 12:57:31 +0000 (14:57 +0200)]
use namespaces for PHPUnit classes
This is mandatory for PHPUnit 6.x. Older versions provide a
forward compatibility layer, so we should be good.
Fixes #1150.
Sarah Hoffmann [Fri, 24 Aug 2018 19:39:20 +0000 (21:39 +0200)]
fix quotes to make phpcs happy
Sarah Hoffmann [Fri, 24 Aug 2018 19:33:24 +0000 (21:33 +0200)]
add vagrant and installation instructions for ubuntu 18
ThomasBarris [Fri, 24 Aug 2018 14:15:39 +0000 (16:15 +0200)]
moving functions from setup.php to a lib file in lib/setup_functions.php and change a passthru in setup.php by calling the function with this new lib
Sarah Hoffmann [Thu, 23 Aug 2018 21:12:10 +0000 (23:12 +0200)]
cleanup documentation
Remove level 3 (page title) from TOC and add permalinks.
Also fix and update some minor stuff in the docs.
Sarah Hoffmann [Thu, 23 Aug 2018 19:14:34 +0000 (21:14 +0200)]
Mute notices from postgresql during setup
They are mostly warnings about tables that do not exists. This
is intentional and would only confuse the casual user.
Sarah Hoffmann [Thu, 23 Aug 2018 18:58:15 +0000 (20:58 +0200)]
improve wording of error message
Sarah Hoffmann [Thu, 23 Aug 2018 18:41:44 +0000 (20:41 +0200)]
Merge branch 'customPHP1' of https://github.com/ThomasBarris/Nominatim into ThomasBarris-customPHP1
Sarah Hoffmann [Thu, 23 Aug 2018 18:30:07 +0000 (20:30 +0200)]
fix links in details documentation
Thanks to @JamesKingdom.