Sarah Hoffmann
1526501ed7
add documentation for reverse-only
2018-11-21 19:38:39 +01:00
Sarah Hoffmann
5d98c09ee9
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 .
2018-11-21 19:36:21 +01:00
Sarah Hoffmann
7da5196bac
setup: add convenience function for executing SQL commands
2018-11-21 12:18:13 +01:00
Sarah Hoffmann
7fd40cb0e6
Merge pull request #1238 from lonvia/simplify-version-check
...
Simplify parsing of postgres and postgis versions
2018-11-20 23:07:55 +01:00
Sarah Hoffmann
b6b1c23575
fix phpcs offences
2018-11-20 23:05:56 +01:00
Sarah Hoffmann
409ded385f
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
2018-11-20 22:51:37 +01:00
Sarah Hoffmann
e2d0c9f3c1
fix variable prefix
2018-11-20 21:07:24 +01:00
Sarah Hoffmann
9cf85f90fb
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.
2018-11-18 17:27:20 +01:00
Sarah Hoffmann
fb796d14ec
Always ignore continents for addresses
...
Fixes #1236 .
2018-11-18 17:00:59 +01:00
Sarah Hoffmann
43c2eb383e
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.
2018-11-17 23:32:08 +01:00
Sarah Hoffmann
c84648c157
update osm2pgsql (restrict operator)
...
Fixes #1176 .
2018-11-17 17:32:30 +01:00
Sarah Hoffmann
b15441df1c
Document the mmap requirement for flatnode files
...
Fixes #877 .
2018-11-17 15:37:46 +01:00
Sarah Hoffmann
85f32d6c0f
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 .
2018-11-17 00:35:38 +01:00
Sarah Hoffmann
9908c93d4c
Add result ranking for missing housenumber and postcode
...
Fixes #988 .
2018-11-17 00:00:01 +01:00
Sarah Hoffmann
388c7f706d
Merge pull request #1233 from mtmail/better-gbpostcode-setup-warning
...
Improved warning message when looking for optional GB postcode file
2018-11-15 23:28:04 +01:00
Sarah Hoffmann
36398eedca
docs: more specific chapter title
2018-11-15 23:01:08 +01:00
marc tobias
aa41b813b8
2018 TIGER data conversion scripts, add documentation to /docs/data-sources
2018-11-15 23:01:08 +01:00
Sarah Hoffmann
4e2fe6427c
Merge pull request #1188 from mtmail/prototype-setup-ubuntu18-nginx
...
copy of the Ubuntu18 vagrant setup but with nginx as webserver
2018-11-15 22:25:41 +01:00
Sarah Hoffmann
7f0a0ce5e5
make HTML error message less technical
2018-11-15 21:19:31 +01:00
Sarah Hoffmann
2a39bc6e68
Merge branch 'set-exception-handler-by-request-format' of https://github.com/mtmail/Nominatim into mtmail-set-exception-handler-by-request-format
2018-11-15 20:57:20 +01:00
marc tobias
07c47eed54
Improved warning message when looking for optional GB postcode file
2018-11-09 10:06:17 +00:00
marc tobias
a165072915
copy of the Ubuntu18 vagrant setup but with nginx as webserver
2018-10-31 16:13:02 +01:00
Sarah Hoffmann
c5109d39d0
increase limit when searching for street w/ house number
...
Increase the chance that the correct street is found.
2018-10-20 17:26:45 +02:00
marc tobias
e4a51e460e
set exception handler by request format, not always HTML
2018-10-03 22:58:20 +02:00
Sarah Hoffmann
2467e9996e
fix permissions for CMakeLists.txt
2018-10-02 23:42:33 +02:00
Sarah Hoffmann
3afd12f977
simplify constructor of SetupFunctions
...
Also cleans up spacing.
2018-10-02 23:42:33 +02:00
Sarah Hoffmann
f45b3fa3f2
Merge branch 'updatePHP' of https://github.com/ThomasBarris/Nominatim into ThomasBarris-updatePHP
2018-10-02 22:46:53 +02:00
Sarah Hoffmann
fc6b08c8ab
Merge branch '201809-test-db' of https://github.com/mtmail/Nominatim into mtmail-201809-test-db
2018-10-02 21:41:57 +02:00
Sarah Hoffmann
441cd27a53
Merge pull request #1193 from mtmail/postgresql-10-postgis-scripts
...
also install postgis.control for postgresql-10
2018-09-30 21:14:55 +02:00
marc tobias
c73737f77f
adjust BDD api test cases to 2018 test database
2018-09-28 18:46:35 +02:00
marc tobias
ecd92d5e71
also install postgis.control for postgresql-10
2018-09-27 19:38:56 +02:00
Sarah Hoffmann
d1143b4580
docs: rewrite functions when migrating
...
Fixes #1183 .
2018-09-22 13:22:08 +02:00
Sarah Hoffmann
09595697cc
Merge pull request #1189 from mtmail/classtypes-unit-tests
...
PHP unit tests for Nominatim\ClassTypes
2018-09-22 10:48:32 +02:00
Sarah Hoffmann
1f887a6ca0
Merge pull request #1187 from mtmail/faq-about-pear-db-warning
...
Installation FAQ entry about a PHP warning that started with PHP7.2
2018-09-22 10:47:01 +02:00
Sarah Hoffmann
eba6e46c74
Merge pull request #1186 from mtmail/getAddressDetails-fix
...
fix AddressDetails->getAddressDetails, add tests
2018-09-22 10:46:08 +02:00
marc tobias
f0daf11375
PHP unit tests for Nominatim\ClassTypes
2018-09-20 19:15:58 +02:00
marc tobias
71341a623a
Installation FAQ entry about a PHP warning that started with PHP7.2 [SKIP CI]
2018-09-20 13:41:43 +02:00
marc tobias
e2a7a795d4
fix AddressDetails->getAddressDetails, add tests
2018-09-20 02:16:01 +02:00
Sarah Hoffmann
ed7d7a9ad9
Merge pull request #1185 from mtmail/three-faq-entries
...
three further FAQ entries regarding timezone, continents, exports
2018-09-19 20:24:34 +02:00
marc tobias
9b69bde613
three further FAQ entries regarding timezone, continents, exports
2018-09-19 19:31:54 +02:00
Sarah Hoffmann
119ffbab40
address tokens get a double search rank also as full terms
...
Fixes #1170 .
2018-09-18 21:54:08 +02:00
ThomasBarris
e92b54b869
Merge branch 'updatePHP' of https://github.com/ThomasBarris/Nominatim into updatePHP
2018-09-18 21:29:24 +02:00
ThomasBarris
0273e128f4
change variables for class SetupClass.php instantiation
2018-09-18 21:28:05 +02:00
ThomasBarris
a948050015
typo
2018-09-18 09:17:54 +02:00
ThomasBarris
a0dbeabed1
move setupclass, move command line array, remove args from update array
2018-09-17 10:28:00 +02:00
Mateusz Konieczny
eb615347d2
link CONTRIBUTING file from README file
...
This change should also encourage to read "how to report bugs" guide before reporting bugs
fixes #1133
2018-09-16 20:49:02 +02:00
Sarah Hoffmann
2d4063234a
Merge pull request #1180 from mtmail/php-testsuite-phpunit6-compatible
...
make PHP testsuite work with PHPUnit6
2018-09-16 20:45:41 +02:00
Sarah Hoffmann
4fcb66df92
Merge pull request #1179 from mtmail/import-table-higher-batchsize
...
import_osmosis_log table: increase possible batch size
2018-09-15 18:58:37 +02:00
marc tobias
a9bdac836c
make PHP testsuite work with PHPUnit6
2018-09-15 15:23:10 +02:00
marc tobias
bb696f3fd0
import_osmosis_log table: increase possible batch size
2018-09-15 11:36:46 +02:00