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
Daniel Korp
038bfe29d6
Fix reflected XSS in 'style' parameter
2020-07-02 10:28:25 +02:00
Daniel Korp
10431d70d0
Fix reflected XSS in 'key' parameter. Fixes #461
2020-07-02 09:30:33 +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
29d3e72dd3
Replace last references to the old repository/dockerhub
2020-03-11 13:57:45 +01:00
Petr Sloup
13415fd29f
Minor tileserver-gl-light fix
2020-03-11 09:24:10 +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
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
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
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
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
96161fc656
Merge branch 'master' into refactor
2019-12-30 11:49:37 +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
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
aa7ae575d0
Flatten 3D buildings when rendering to remove artifacts
2019-08-26 12:10:49 +02:00
stefslon
17a73b1d4a
Add tileMargin option
2019-08-08 21:57:51 -04:00
Petr Sloup
e506014763
Minor /styles.json fix ( close #361 )
2019-04-29 06:48:23 +02:00
Eric Xanderson
e6747ebb78
Merge pull request #2 from disarticulate/patch-2
...
verbose output empty tile warning
2019-04-23 20:53:17 -05:00
Eric Xanderson
ba62f0bf30
verbose output empty tile warning
...
Empty tile warning details; definitely what you would expect if there's not a catastrophic error, but you're getting blank tiles.
such as: ```
MBTiles error, serving empty { Error: SQLITE_CORRUPT: database disk image is malformed
lily_tile_server | at Error (native) errno: 11, code: 'SQLITE_CORRUPT' }
```
https://github.com/klokantech/tileserver-gl/issues/323
2019-04-23 20:51:39 -05:00
Eric Xanderson
08369a666d
add verbose to options
...
pass verbose to server for better handling of warnings
2019-04-23 20:43:56 -05:00
adrian
9dda95ee8e
let the user define a log file or a log format
...
log file defaults to standard out.
log format defaults to current behavior ('tiny' for production, 'dev' for dev, and not enabled in test)
2019-04-13 11:55:37 -04:00
Isaac Besora Vilardaga
bca5191ad9
Removes body data from http 204 response
2019-01-07 13:48:22 +01:00
Maxime Colmant
e8134dfeb0
fix: correctly retrieve the public_url parameter on start
2018-12-26 16:26:49 +01:00
Alban Mouton
c99a1a5425
Merge remote-tracking branch 'klokantech/master' into public_url
...
# Conflicts:
# src/main.js
# src/server.js
2018-12-19 09:53:40 +01:00
Petr Sloup
58168eb0a5
Merge pull request #307 from spatialillusions/master
...
Add support for WMTS capabilities
2018-09-14 08:03:59 +02:00
Petr Sloup
f993b01387
Merge pull request #303 from loicgasser/update_libs
...
Update commander and devDeps
2018-09-14 08:00:03 +02:00
Måns Beckman
76a0064f0c
Remove unused variables
2018-09-13 17:57:06 +02:00
Måns Beckman
e8b3c02546
Fix formating
2018-09-11 17:51:38 +02:00
Måns Beckman
56089c0a62
Remove base64url
2018-09-11 17:47:44 +02:00
Måns Beckman
71fab2a2a1
Add support for WMTS capabilites
...
https://github.com/klokantech/tileserver-gl/issues/274
Clean up wmts template with correct syntax
Update endpoint URL and change content type
After a good nights sleep I considered the structure of the endpoint link for WMTS, at the same time I cleaned up the code and added the correct content type for the response.
2018-08-21 19:33:37 +02:00
Loïc Gasser
45ed8d90ca
Update commander and devDeps, invert default val and function accordingly
2018-08-03 00:05:20 -04:00
Masud Zare
9d642fa0b3
return 204 when mbtiles error is 'Tile does not exist'
2018-05-07 15:21:41 +04:30
Michal Illovsky
c333197a7c
Skipping also 304 status codes when in silent mode
2018-03-22 09:02:09 +01:00
Michal Illovsky
45df72df51
Enable silent mode with -s option to not log successful request (status=200)
2018-03-19 13:47:17 +01:00
loicgasser
edff8ce06c
Fix version and positional argument for mbtiles
2018-03-12 11:53:11 +00:00
loicgasser
df05ce3f2a
Add default val in description
2018-03-08 17:55:30 +00:00
loicgasser
a74ca20375
Replace nomnom with commander
2018-03-08 16:05:58 +00:00