Commit Graph

656 Commits

Author SHA1 Message Date
acalcutt
0c6509d959 add maplibre-gl-js / leaflet libraries 2022-09-14 20:36:45 -04:00
acalcutt
5be1072fd6 Update documentation dependencies 2022-09-14 20:16:08 -04:00
acalcutt
77e23e3283 Update package.json 2022-09-14 18:09:55 -04:00
acalcutt
6c6dd17df6 update @mapbox/mbtiles 2022-09-14 18:02:39 -04:00
acalcutt
ef9e11cb25 remove max node version for now 2022-09-14 17:59:45 -04:00
acalcutt
398a6edbcd put back node min version 2022-09-14 17:52:27 -04:00
acalcutt
773902bbe9 update docker images to work with new maplibre-native 2022-09-14 17:43:44 -04:00
acalcutt
72fdf84292 Change to use maplibre-native and maplibre-gl-style-spec 2022-09-14 17:33:02 -04:00
Jiří Komárek
082243bda9
grammar + alternative 2022-07-30 02:08:52 +02:00
Petr Sloup
d951c8be6b
Merge pull request #575 from zstadler/patch-1
Fix  #560 - refresh by docker/-compose kill command
2022-05-09 16:42:14 +02:00
zstadler
edd7c7dd87 Allow multiple refreshes
by sending multiple `HUP` kill commands to the container.
2022-03-06 16:33:56 +02:00
zstadler
a766dfd233
Update usage.rst
Typo correction
2022-03-05 22:37:39 +02:00
Petr Sloup
aba60f0c6a
Merge pull request #560 from zstadler/docker-reload
Simplify reloading the configuration with docker
2021-12-29 09:42:16 +01:00
zstadler
6027d89623 Simplify reloading the configuration with docker
Allow `docker kill -s HUP` and `docker-compose kill -s HUP` to reach the
node process.
2021-12-22 18:38:44 +02:00
Petr Sloup
8680a8006a
Merge pull request #516 from zstadler/patch-1
Document configuration reloading when using docker
2021-07-28 13:14:31 +02:00
zstadler
09ded526ef
Document configuration reloading when using docker
Based on https://github.com/maptiler/tileserver-gl/issues/420#issuecomment-766332814
2021-02-02 12:35:19 +02:00
Petr Sloup
c89a5ae029 v3.1.1 2020-12-14 15:27:33 +01:00
Petr Sloup
a3d7f8bcbd Fix the docker image port to fix backward compatibility (#502) 2020-12-14 15:27:05 +01:00
Petr Sloup
7c1420982c v3.1.0 2020-12-11 16:19:48 +01:00
Petr Sloup
51baa9b67b
Merge pull request #457 from joakimfors/master
Streamline Dockerfile for caching and size
2020-12-11 16:13:55 +01:00
Joakim Fors
6b3f557b1f Gracefully handle signals from Docker or terminal
Start Xvfb wrapper in background and wait for the process to complete.
Because wait exits immediately when a signal for which a trap has been
set, and the signal handler is executed directly after that, we need to
wait again for the background processes to actually finish before exiting.

The signal handler catches INT and TERM and forwards them to the node
process.

The return value from the first wait is stored and sent as exit value.
2020-12-04 20:57:06 +01:00
Joakim Fors
8d2ddd8f95 Use automatic server number 2020-12-04 16:19:30 +01:00
Joakim Fors
9f59f67087 Clean up dependencies 2020-12-04 16:19:30 +01:00
Joakim Fors
1d21648969 Run as node user instead of root 2020-12-04 16:19:30 +01:00
Joakim Fors
16de5be673 Use simplified entrypoint script 2020-12-04 16:19:30 +01:00
Joakim Fors
6b96f224ae Streamline Dockerfile for caching and size
Move package installation to top of file to enable layer caching
in Docker. Use multi stage builds to reduce final image size.
Ignore everything but essential files when creating Docker build
context.
2020-12-04 16:19:30 +01:00
Petr Sloup
6ff4cae9b9
Merge pull request #484 from candux/addKeyToSprites
add api key to sprite ressources in style json
2020-11-04 20:38:13 +01:00
Petr Sloup
644db6cd8a
Merge pull request #487 from bheupers/patch-1
Render up to scale level 22
2020-11-04 18:58:32 +01:00
Petr Sloup
a98404e921
Merge pull request #488 from vcabbage/sharp-update
update sharp to avoid segfault
2020-11-04 18:56:33 +01:00
Petr Sloup
559cfc462c
Merge pull request #486 from 0xflotus/patch-1
fixed small errors
2020-11-04 18:56:02 +01:00
Kale Blankenship
559c3a913e update sharp to avoid segfault
Before
e82a585cec
the server may crash with a segfault when under high load.
2020-11-04 09:36:10 -08:00
bheupers
4036d528ec
Render up to scale level 22
For detailed city rendering we need to render rasterfiles up to and including level 21. Therefore I propose to change the maximum raster level to 22
2020-11-04 14:42:46 +01:00
0xflotus
6ae4116ccb
fixed small errors 2020-10-23 15:05:36 +02:00
0xflotus
39bb7ffbf1
enabled syntax highlighting 2020-10-23 15:04:51 +02:00
David Weber | geOps
e249a3f67d add api key to sprite ressources in style json
this make some setups easier becouse sprites can be handeld
like any other ressources
2020-10-22 19:09:42 +02:00
Petr Sloup
04b49d8a98
Merge pull request #482 from candux/david/fixStyleServer
fix crash in serveAllFonts
2020-10-16 09:24:44 +02:00
David Weber | geOps
309d481117 fix crash in serveAllFonts
variable file does not exist. Backtrace

ReferenceError: file is not defined
  at serve_style.add (/usr/src/app/src/server.js:139:44)
  at Proxy.add (/usr/src/app/src/serve_style.js:115:28)
  at addStyle (/usr/src/app/src/server.js:121:31)
  at fs.readdir (/usr/src/app/src/server.js:215:11)
  at args (fs.js:140:20)
  at internal/util.js:370:14
  at getDirents (internal/fs/utils.js:149:7)
  at FSReqWrap.req.oncomplete (fs.js:775:7)
2020-10-16 09:15:10 +02:00
Petr Sloup
7ce4805cdd
Merge pull request #479 from poljvd/patch-1
Fix missing ScaleDenominator in wmts.tmpl
2020-09-28 10:36:32 +02:00
poljvd
5377414710
Fix missing ScaleDenominator in wmts.tmpl
The missing ScaleDenominator causes GeoServer to throw an error when importing the layer.
2020-09-28 10:33:21 +02:00
Petr Sloup
042b8b986a
Merge pull request #463 from korpd/fix-xss-parameter-style
Fix reflected XSS in 'style' parameter
2020-07-02 14:47:24 +02:00
Daniel Korp
038bfe29d6
Fix reflected XSS in 'style' parameter 2020-07-02 10:28:25 +02:00
Petr Sloup
f8563e1f2b
Merge pull request #462 from korpd/fix-xss-461
Fix reflected XSS in 'key' parameter. Fixes #461
2020-07-02 09:50:48 +02:00
Daniel Korp
10431d70d0
Fix reflected XSS in 'key' parameter. Fixes #461 2020-07-02 09:30:33 +02:00
Petr Sloup
a5a8ae1e95
Merge pull request #413 from zstadler/xvfbMaxStartWaitTime
Increase initial timeout - xvfbMaxStartWaitTime
2020-05-20 16:12:24 +02:00
Petr Sloup
3c411cd1ac
Merge pull request #441 from hfs/fix-preview-thumbnail
Fix preview thumbnail for raster data sources
2020-04-23 08:41:17 +02:00
Hermann Schwarting
79bd70942b Fix preview thumbnail for raster data sources
The data sources structure was changed in the 'dynamic_styles' branch
introducing a tileJSON object. Adapt the code filling the preview
template to the change to get the correct file format instead of
"undefined".

See also f2dc13e.

Fix #440 Preview thumbnail missing for raster data source -- file suffix
"undefined"
2020-04-22 21:08:55 +02:00
Petr Sloup
5585f49396
Update serve_rendered.js
Fix accidentally removed #414
2020-04-07 10:29:19 +02:00
Petr Sloup
d5a079d8f4 v3.0.0 2020-03-11 14:01:17 +01:00
Petr Sloup
29d3e72dd3 Replace last references to the old repository/dockerhub 2020-03-11 13:57:45 +01:00
Petr Sloup
c3bff5ac5f Update dependencies 2020-03-11 13:55:05 +01:00