Commit Graph

39 Commits

Author SHA1 Message Date
Robin C. Ladiges
5572c9722e
create /data/database/postgres/ if missing (#273)
fix for issue #271
2022-05-02 00:43:17 +02:00
Robin C. Ladiges
cffbd7be5b
changed volume paths ; FLAT_NODES=enabled (#261)
Changes:
- /var/lib/postgresql/14/main/            => /data/database/
- /var/lib/mod_tile/                      => /data/tiles/
- /home/renderer/src/openstreetmap-carto/ => /data/style/
- /data.osm.pbf                           => /data/region.osm.pbf
- /data.poly                              => /data/region.poly
- /nodes/flat_nodes.bin                   => deprecated (use FLAT_NODES=enabled instead)

Because some files are needed later and should never be separated from the database, the import does save those files now into /data/databases/:
- /data/database/region.poly
- /data/database/flat_nodes.bin
- /data/database/planet-import-complete
- and automatic update artifacts
2022-04-09 15:00:29 +02:00
galewis2
0f229a0cbd
Allow easier modification of the OpenStreetMap-carto style (#243) 2022-03-31 07:44:56 -04:00
galewis2
f1203714c1
Upgrade versions (#248) 2022-03-28 09:12:13 -04:00
Alexander Overvoorde
a1cbf0d74c Add proper error checking to run script 2021-12-11 15:39:36 +01:00
Stjepan Cvitanovic
1e684edb6a
Added E flag (#217)
Added -E flag to use the set up environment.
2021-10-11 22:22:17 +02:00
Alexander Overvoorde
60ac7657d1 Don't clutter output of usage instructions 2021-09-03 12:51:45 +02:00
Alexander Overvoorde
ce176ae32e Fix erroneous quotes around WGET_ARGS (fixes #210) 2021-09-03 12:46:37 +02:00
Alexander Overvoorde
7b82bcae9d
Use indexes.sql included with openstreetmap-carto instead of own copy (fixes #204) (#205) 2021-07-19 22:05:18 +02:00
ruhepuls
8f2c575ad6
Carto 5.3.1 integrated (#183) 2021-05-13 14:41:01 +02:00
Alexander Overvoorde
953232051f Show progress output for wget by default (fixes #156) 2020-10-27 20:55:02 +01:00
Alexander Overvoorde
2754592d1c Rearrange OSM2PGSQL_EXTRA_ARGS to allow overriding of existing parameters (fixes #112) 2020-04-26 19:00:59 +02:00
sohalt
cc5b50b050 http -> https 2020-04-07 04:29:18 +02:00
Alexander Overvoorde
acedcce53d Improve consistency of parameter naming and document PBF/POLY download parameters 2020-02-20 20:29:14 +01:00
Alexander Overvoorde
e15dee4665
Merge pull request #105 from skydiablo/master
allow external PBF file with auto-downloader
2020-02-20 20:18:05 +01:00
Volker von Hoesslin
83f26e1abe fix indent 2020-02-20 08:46:46 +01:00
Alexander Overvoorde
5a1b2a6b06 Add support for host mounts (fixes #94) 2020-02-19 21:04:24 +01:00
Volker von Hoesslin
6d0e8070f5 fix bash syntax 2020-02-19 12:01:17 +01:00
Volker von Hoesslin
2a69c977c9 allow external PBF file with auto-downloader 2020-02-14 11:59:27 +01:00
Alexander Overvoorde
5300472417 Accept both the values enabled and 1 for boolean flags for backwards compatibility 2020-02-12 20:18:19 +01:00
Dariusz Zbik
52c89b4775 fix configuration values inconsistency 2020-02-10 22:24:34 +01:00
Alexander Overvoorde
789ff772be Change custom config to be overridable 2019-12-05 21:27:46 +01:00
Alexander Overvoorde
64c66a7d0b Make setup for automatic updates optional through UPDATES variable 2019-11-07 21:12:29 +01:00
root
e249f30d40 Upgrade to postgresql 12 2019-10-14 23:40:49 +02:00
Alexander Overvoorde
6e5f4f485d Add proper handling of docker stop 2019-10-12 12:35:16 +02:00
Alexander Overvoorde
ca4b1acb04 Add planet-import-complete file during imports 2019-10-12 12:21:10 +02:00
Alexander Overvoorde
a2eceb6bb5
Merge pull request #66 from stevo01/master
pull request solves issues #63 #64 #65
2019-09-26 20:06:48 +02:00
Steffen Volkmann
33cd142850 make option -C of command osm2psql adjustable 2019-09-24 11:36:13 +02:00
Alexander Overvoorde
80586aff5f Fix Postgres not being reachable from outside container 2019-09-22 16:39:56 +02:00
Alexander Overvoorde
451f335bc5 Add ALLOW_CORS parameter 2019-08-31 13:44:23 +02:00
Alexander Overvoorde
31bf2d718b Add a way to enable options like --flat-nodes (fixes #53) 2019-08-20 19:40:24 +02:00
Alexander Overvoorde
77e7157807 Merge branch 'issue2' of https://github.com/stevo01/openstreetmap-tile-server into stevo01-issue2 2019-06-18 19:30:07 +02:00
Vojtech Pithart
52d5f0b4b2 Fix: postgresql (not) starts after container restart 2019-06-18 12:55:51 +02:00
Vojtech Pithart
db5f6799f0 Fix: apache (not) starts after container restart 2019-06-18 12:26:15 +02:00
Steffen Volkmann
a9392359b9 integration of update and tile expire procedure
see https://ircama.github.io/osm-carto-tutorials/updating-data/

Implements https://github.com/Overv/openstreetmap-tile-server/issues/2
2019-06-16 07:55:13 +02:00
Alexander Overvoorde
9b2b67b076 Add recommended indexes for Carto style (thanks @souladm) 2019-06-14 23:24:11 +02:00
Steffen Volkmann
a02daac961 environment variable AUTOVACUUM added
The postgressql autovacuum feature is by default active. The environment variable AUTOVACUUM allows you to switch off this feature during start of docker container.
2019-04-16 07:45:10 +02:00
Grzegorz Adam Kowalski
e37c31d2f0 stop postgresql to prevent database corruption 2019-03-14 10:42:58 +01:00
Alexander Overvoorde
59068928e6 Initial version 2018-05-08 22:43:34 +02:00