Hermann Schwarting
13c481b1ea
Support local:// raster tile URLs
...
In the style JSON configuration, allow to use the local://
pseudo-protocol prefix also for raster tile source URLs. When serving
the style JSON, rewrite it into an absolute URL using the public URL or
the Host header from the request.
This allows to use raster tile sources which are served from the same
domain, but externally from tileserver-gl. The requests could be handled
by a reverse proxy in front of tileserver-gl for example, and redirected
to a different service or static files.
Instead of hardcoding an absolute host name in the style configuration,
using a relative URL allows to use the same style configuration on
different hosts and on localhost in the development environment.
2020-06-16 11:12:08 +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
Petr Sloup
e16de39b93
Minor documentation update
2020-03-11 13:43:23 +01:00
Petr Sloup
13415fd29f
Minor tileserver-gl-light fix
2020-03-11 09:24:10 +01:00
Petr Sloup
9a9b920455
Merge pull request #419 from vipyoung/patch-1
...
Updated usage.rst to reflect public_url parameter
2020-02-25 14:30:09 +01:00
Sofiane Abbar
b55b8adb63
Update usage.rst
...
Added missing documentation for public_url.
2020-02-25 16:21:17 +03:00
Petr Sloup
9e12ee6f8c
Merge pull request #417 from smellman/dev-light2
...
add option to pass npm publish
2020-02-21 20:47:01 +01:00
Taro Matsuzawa
0e85e0058f
- added Building docker image document in README_light.md
...
- change URL schema from http to https
2020-02-18 08:03:52 +09:00
Taro Matsuzawa
3a94a8f9d2
add option to pass npm publish
2020-02-17 12:36:18 +09:00
Petr Sloup
28dbc78264
Merge pull request #416 from tbicr/update-glyph-pbf-composite-version
...
update glyph-pbf-composite
2020-02-14 17:59:21 +01:00
Paveł Tyślacki
8f77be3037
update glyph-pbf-composite
...
glyph-pbf-composite v0.0.2 were released without license
as license were added in v0.0.3 it nice to be updated to licensed software version
2020-02-14 18:59:49 +03:00
Petr Sloup
f2dc13e298
Minor tilejson-reading fix when decorating templates
2020-02-10 14:14:07 +01:00
Petr Sloup
cf0eedb379
Merge branch 'dynamic_styles'
2020-02-10 14:00:58 +01:00
Petr Sloup
95bb59dcfe
Merge pull request #414 from xabbu42/issue-171
...
Close connection on errors
2020-01-28 15:46:52 +01:00
Petr Sloup
224a1300df
Merge pull request #415 from xabbu42/issue-350
...
FIx issue #350 Semi-transparent outlines on raw, premultiplied input
2020-01-28 15:42:36 +01:00
Nathan Gass
9fd381640e
Close connection on erros
2020-01-28 14:30:36 +01:00
Nathan Gass
b7c384f1ee
FIx issue #350 Semi-transparent outlines on raw, premultiplied input
2020-01-28 14:25:00 +01:00
zstadler
8126b31081
Resolve https://github.com/maptiler/tileserver-gl/issues/386
2020-01-28 11:29:42 +02:00
Petr Sloup
caa641c550
Merge pull request #410 from jdesboeufs/relax-light-version-compatibility
...
Relax Node.js compatibility for -light version
2020-01-17 16:00:00 +01:00
Jérôme Desboeufs
d02ce0663b
Relax Node.js compatibility for -light version
2020-01-17 11:22:17 +01:00
Petr Sloup
ea89d11021
Use chokidar instead of node-watch to poll the files (required for docker)
2020-01-15 09:26:59 +01:00
Petr Sloup
aa933e5154
Fix tests
2020-01-08 15:18:51 +01:00
Petr Sloup
298d09845d
Add style validation and skip invalid styles
2020-01-07 17:00:08 +01:00
Petr Sloup
d7a34f3a74
Add "serveAllStyles" option + watch the directory
2020-01-07 15:59:38 +01:00
Petr Sloup
cb700181d3
Refactor style/rendered/data serving to allow for dynamic adding/removing of items
2020-01-07 14:32:30 +01:00
Petr Sloup
226b979592
Fix deprecation warnings
2019-12-30 17:18:05 +01:00
Petr Sloup
13ad268b43
Update mapbox-gl-js to v1.6.1 and mapbox-gl-rtl-text to v0.2.3
2019-12-30 17:11:45 +01:00
Petr Sloup
e2387d164b
Simplify the startup procedure a little ( #271 )
2019-12-30 17:08:15 +01:00
Petr Sloup
515c295898
Remove obsolete old code
2019-12-30 17:00:23 +01:00
Petr Sloup
cdc7803ad8
Update travis to node 10
2019-12-30 16:54:36 +01:00
Petr Sloup
b839979351
Remove uselessly huge background images
2019-12-30 16:54:36 +01:00
Petr Sloup
0a7c403f0b
Update repo links, footnote, etc. (klokantech->maptiler)
2019-12-30 16:54:35 +01:00
Petr Sloup
b3d810817d
Merge pull request #404 from nyurik/refactor
...
Update code to ES6
2019-12-30 16:54:19 +01:00
Petr Sloup
96161fc656
Merge branch 'master' into refactor
2019-12-30 11:49:37 +01:00
Petr Sloup
58c769b448
README update
2019-12-30 09:25:12 +01:00
Petr Sloup
bdd0a5c868
Merge pull request #394 from korpd/master
...
Don't multiply tileMargin with scale since the renderer is already taking care of scaling
2019-12-30 09:21:04 +01:00
Petr Sloup
5048388d1f
Try to reduce number of broken labels on tile edges ( #344 , #347 )
2019-12-30 09:11:53 +01:00
Petr Sloup
4c7a227e11
Merge pull request #403 from nyurik/node10
...
Upgrade to node10, latest dependencies
2019-12-30 09:08:35 +01:00
Yuri Astrakhan
7f8be27844
Update code to ES6
...
* var -> let / const
* [].forEach -> for (... of ...)
* '...' + var -> template strings `...${var}`
* function -> arrow functions `=>`
* use === and !== instead of == and !=
2019-12-21 14:09:20 -05:00
Yuri Astrakhan
736e8d393a
Upgrade to node10, latest dependencies
...
use node10 (latest node that has binary built @mapbox/mapbox-gl-native v5.0.2)
use latest canvas and sharp API
2019-12-21 12:09:07 -05:00
Daniel Korp
1c24d12b0d
Minor fix: Don't multiply tileMargin with scale since the renderer is already taking care of scaling
2019-11-13 15:10:13 +01:00
Petr Sloup
f77ccd06af
Merge pull request #379 from stefslon/tile_margin
...
Add tileMargin option
2019-10-02 12:26:49 +02:00
Petr Sloup
4996848bdc
Update package version to 2.6.0
2019-08-26 12:16:06 +02:00
Petr Sloup
aa7ae575d0
Flatten 3D buildings when rendering to remove artifacts
2019-08-26 12:10:49 +02:00