Sarah Hoffmann
8cd9550295
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.
2020-07-26 11:56:00 +02:00
Sarah Hoffmann
354487d7f4
Merge pull request #1829 from krahulreddy/websiteSetup
...
Added setup-website option
2020-07-01 18:11:50 +02:00
Sarah Hoffmann
214f92c428
make phpcs happy
2020-06-28 18:24:29 +02:00
Sarah Hoffmann
ff1be13d0e
disable JIT and parallel processing for osm2pgsql in updates
...
This is known to cause issues because of bad indexing
statistics.
2020-06-28 18:06:06 +02:00
K Rahul Reddy
37f0b51dff
Updated setup.php
2020-06-27 10:45:53 +05:30
K Rahul Reddy
6c406124dd
Added setup-website option
2020-06-27 10:45:51 +05:30
marc tobias
f56bac350b
FAQ entry for PostgreSQL -invalid page in block-
2020-06-19 21:16:57 +02:00
Sarah Hoffmann
65ee7a8002
Merge pull request #1754 from mtmail/nominatim-db-tests-against-postgres
...
Nominatim::DB tests against separate postgresql database
2020-04-26 10:20:30 +02:00
Sarah Hoffmann
0b0349f746
Merge pull request #1752 from mtmail/new-oo-shell-class
...
new PHP Nominatim\Shell class to wrap shell escaping
2020-04-25 16:48:04 +02:00
Sarah Hoffmann
2740974a13
Merge pull request #1758 from krahulreddy/advanced-installations
...
Advanced installations
2020-04-22 09:59:44 +02:00
K Rahul Reddy
42c80893cb
Fix documentation links ( #1760 )
...
Update installation documentation link in VAGRANT.md, update.php
2020-04-19 00:42:24 +02:00
K Rahul Reddy
08e273c0c7
Added scripts for multiple country setup and updates
2020-04-17 21:50:59 +05:30
marc tobias
38c21de0ee
Nominatim::DB tests against separate postgresql database
2020-04-13 18:01:37 +02:00
marc tobias
fc40939775
new PHP Nominatim\Shell class to wrap shell escaping
2020-04-12 03:50:40 +02:00
Sarah Hoffmann
cbddfcde5b
add structured search to command-line query tool
2020-02-19 11:04:07 +01:00
Sarah Hoffmann
b9171dd10b
clean up intermediate tables earlier with --drop
...
When --drop is given, we can remove all node geometry information
already after the import with osm2pgsql. Also drop all unnecessary
tables before creating the final indices.
2020-02-12 11:03:20 +01:00
marc tobias
76082ac7cb
check_import_finished.php - reverse_only mode has less indices
2020-02-06 16:48:06 +01:00
Sarah Hoffmann
a8711ab013
fix verboseness of nominiatim script during updates
2020-01-31 18:18:50 +01:00
Sarah Hoffmann
2979c39628
also adapt indexing command in update script
2020-01-29 11:36:12 +01:00
Sarah Hoffmann
3ff6eccfd7
move trigger creation later in setup
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
586ff0c364
Merge pull request #1638 from mtmail/check-for-invalid-indices
...
check_import_finished: check for invalid indices
2020-01-14 21:34:35 +01:00
Sarah Hoffmann
f3ba358d50
hint that invalid indices must be manually deleted
2020-01-14 21:33:09 +01:00
marc tobias
6b0afd5d9b
check_import_finished: check for invalid indices
2020-01-14 19:36:40 +01:00
marc tobias
850910ed9e
warm.php verbose mode was printing errors
2020-01-14 18:24:49 +01:00
marc tobias
7db0da40ad
new script utils/check_import_finished.php
2019-12-23 15:13:18 +01:00
marc tobias
2051a84a09
remove old wikidata script. See data-sources/wikipedia-wikidata/ for new process
2019-12-03 19:27:32 +01:00
Sarah Hoffmann
8d9aa9bf33
formatting: avoid long lines
2019-11-20 10:57:36 +01:00
Sarah Hoffmann
d53af96aa4
update documentation for new wikipedia data
2019-11-16 16:52:23 +01:00
Sarah Hoffmann
a1bcb28cea
also update wikipedia from linked places
2019-11-16 16:52:23 +01:00
Sarah Hoffmann
3fbba8b9db
add command for recomputing importance
2019-11-16 16:52:23 +01:00
Sarah Hoffmann
ff1c78fef5
Merge pull request #1502 from mtmail/specialphrases-quotes
...
Specialphrases quotes
2019-10-22 21:41:53 +02:00
TC Haddad
5e45e0b3d7
Gsoc2019 contributions for adding Wikidata to Nominatim ( #1475 )
...
Complete rewrite of wikipedia processing scripts, addition of processing wikidata, new data source, new documentation by @tchaddad during Google Summer of Code 2019 project.
2019-10-06 15:56:39 +08:00
marc tobias
9c872345d6
special phrases: use printf, line length below 120char
2019-09-19 01:12:42 +02:00
marc tobias
bd312fa747
special phrases: sometimes quotes are not escaped
2019-09-19 00:20:30 +02:00
Diego Pasqualin
a624f8b599
Fix python shebang following PEP 394 recommendation
2019-08-26 14:54:19 +02:00
Sarah Hoffmann
7753ba6019
require python 3 for all tools used in updates
2019-07-28 20:36:35 +02:00
marc tobias
0862e21a1b
utils/export.php broke after switch to PDO DB abstraction
2019-04-17 22:29:50 +02:00
Sarah Hoffmann
33ff96fd83
Merge pull request #1348 from mtmail/checkmodulepresence-to-raise-exception
...
checkModulePresence now raises exception instead of its callers
2019-04-14 11:25:52 +02:00
marc tobias
84149f26df
checkModulePresence now raises exception instead of its callers
2019-04-02 18:37:11 +02:00
marc tobias
2ab836c11c
PDO library returns proper boolean. We dont need string comparison
2019-04-02 16:52:37 +02:00
marc tobias
890d415e1f
Nominatim::DB support input variables, custom error messages
2019-03-10 16:56:36 +01:00
marc tobias
d4b633bfc5
replace database abstraction DB with PDO
2019-03-09 00:18:15 +01:00
marc tobias
178cb98795
query.php - we no longer support PHP < 5.4
2019-02-24 16:22:55 +01:00
Sarah Hoffmann
8237aba840
Do not allow --no-index together with --import-osmosis-all
...
Fixes #1283 .
2019-01-26 15:25:00 +01:00
Sarah Hoffmann
63781c4953
set import_status when indexing only
...
Makes sure that things work as expected when running
`--import-osmosis --no-index` and `--index` separately.
Fixes #1284 .
2019-01-26 15:01:39 +01:00
Sarah Hoffmann
caa8210112
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.
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
1c85edbda9
adapt warm.php to new Result objects
...
Fixes #1276 .
2019-01-08 22:45:21 +01:00
Sarah Hoffmann
181e238b55
Do not log file sizes in the index step on updates
...
Fixes #1274 .
2019-01-04 21:51:18 +01:00
Sarah Hoffmann
56839ba50f
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.
2018-12-02 11:50:44 +01:00
Sarah Hoffmann
fe6a2e9f14
Remove server_compare from list of installed scripts
...
This is a stand alone script and does not depend on
the configured environment.
2018-12-02 11:21:09 +01:00