Vinayak Kulkarni
9b64093c42
style: fix lint issues in code 🕺 ( #626 )
...
* style: fix lint issues in code 🕺
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: lint fix all files
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* chore: add `keywords` for better reach
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* feat: add `husky` & `commitlint`
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* chore: ignore `public` directory
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* revert: do not lint `public` directory
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: fix issues with lint
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* feat: add eslint config
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* feat: add lint-staged
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: lint fix all file(s)
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* fix: ignore rules for light version
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* fix: remove unnecessary space
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* chore(deps): update lockfile
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: autofix linting issue(s)
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
2022-11-08 22:56:07 -05:00
zstadler
50201f0a99
Add Docker Healthcheck ( #636 )
...
* Add Docker Healthcheck
Fixes #635
* Update Dockerfile_light
* Update healthcheck.js
fix healthcheck output error: "file:///usr/src/app/src/healthcheck.js:1\nvar http = require(\"http\");\n ^\n\nReferenceError: require is not defined in ES module scope, you can use import instead\nThis file is being treated as an ES module because it has a '.js' file extension and '/usr/src/app/package.json' contains \"type\": \"module\". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.\n at file:///usr/src/app/src/healthcheck.js:1:12\n at ModuleJob.run (node:internal/modules/esm/module_job:193:25)\n at async Promise.all (index 0)\n at async ESMLoader.import (node:internal/modules/esm/loader:526:24)\n at async loadESM (node:internal/process/esm_loader:91:5)\n at async handleMainPromise (node:internal/modules/run_main:65:12)\n"
* update version
Co-authored-by: acalcutt <acalcutt@techidiots.net>
2022-11-06 21:30:55 -05:00
Andrew Calcutt
212af8145c
fix canvas import ( #631 )
2022-10-28 19:04:20 -04:00
Andrew Calcutt
b6e2d101eb
Fix HUP kill not reloading config ( #630 )
...
* try to fix HUP config reset
* remove..outdated?.. require.cache
2022-10-28 11:53:21 -04:00
benedikt-brandtner-bikemap
f3f63498a8
Extended Static-Images Endpoint ( #619 )
...
* extended staticmap capabilities
* added allowRemoteMarkerIcons configuration option and restricted fetching of remote marker icons only when option is set to true;
asynchronously load all available icons in a settings object on server startup;
replaced fs.existsSync() call in serve_rendered when drawing marker icons with a check against available icons settings object;
* updated documentation for linecap parameter in staticmaps endpoint;
added linejoin parameter to staticmaps endpoint;
* added capability of staticmap endpoint to draw multiple paths
2022-10-27 22:55:46 -04:00
Monstrofil
38604c0a45
Bugfix: publicUrl is not used in some urls ( #605 )
...
In WMTS the publicUrl path was missed and it was not working properly.
Similar story about wmts.tmpl: the baseUrl is not working properly when
tileserver is hidden behind the proxy with different root path.
* Minor bugfix: make baseUrl always use '/' in the end
Co-authored-by: Oleksandr Shyshatskyi <oshyshatskyi@cloudlinux.com>
Co-authored-by: acalcutt <acalcutt@techidiots.net>
2022-09-30 09:18:13 -04:00
Andrew Calcutt
b2bd5eaa96
Convert to esm module syntax ( #606 )
...
* switch to esm module
* Update package.json
* change to maplibre package
* fix tests
* eslint
* remove extra package updates
* Delete package-lock.json
* change 'fs' to 'node:fs'
* put back node 10.
without the package updates this still works
* remove trailing commas
* remove unassociated fix / formatting
* remove unassociated fix
* remove eslint from this PR
* remove unassociated fix
* lint
* Merge remote-tracking branch 'upstream/master' into esm_update
* fix mlgl
* update maplibre-native to new version with arm64
* update minor version
2022-09-28 14:41:55 -04:00
Michael Nutt
7cfcc413c4
don't include duplicate attributions ( #613 )
2022-09-24 16:36:39 -04:00
Nathan Gass
edd36dd251
Open mbtiles in readonly mode ( #506 )
2022-09-24 12:17:35 -04:00
Frank
161ac5ff84
Fix rendering with tileMargin on top and bottom border of map ( #571 )
...
Co-authored-by: Frank Stolle <f.stolle@hosting-agency.de>
2022-09-22 23:22:06 -04:00
acalcutt
7ef9730a9c
Merge remote-tracking branch 'upstream/master' into commander
2022-09-21 13:26:18 -04:00
acalcutt
8584a117fe
change to single quotes
2022-09-21 10:31:57 -04:00
acalcutt
c1e9dc76ea
more static respondImage
2022-09-20 23:33:51 -04:00
acalcutt
80d3699383
try to make a separate static renderer pool
2022-09-20 23:12:01 -04:00
acalcutt
208611f630
Merge remote-tracking branch 'upstream/master' into commander
2022-09-16 13:35:50 -04:00
acalcutt
efb4b2c915
orig formatting
2022-09-14 21:39:35 -04:00
acalcutt
b4cd42b186
fix spacing
2022-09-14 21:36:03 -04:00
acalcutt
b87a256e20
use original variable name
2022-09-14 21:31:02 -04:00
acalcutt
2362137667
update commander
2022-09-14 21:28:32 -04:00
acalcutt
72fdf84292
Change to use maplibre-native and maplibre-gl-style-spec
2022-09-14 17:33:02 -04: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
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
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
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
Petr Sloup
734d1f01f0
Prioritize font fallbacks and try to respect proper font style
2017-12-14 09:55:57 +01:00
Rani Pinchuk
81f65af3a8
Fix log message when incorrect header exception is caught
2017-11-09 18:00:41 +01:00
Rani Pinchuk
a0eb5800fd
Catch incorrect header exceptions
2017-11-03 16:53:45 +01:00
Tim Schaub
2f9059d09e
Unnecessary promise wrapping
2017-10-23 10:05:30 -06:00
Tim Schaub
e11c8f9315
Reject font listing promise on error
2017-10-23 10:01:43 -06:00
Tim Schaub
650718e0f6
Avoid swallowing rejected font listing promise
2017-10-23 10:01:43 -06:00
Tim Schaub
5ed632c229
Reject source info promise on error
2017-10-23 10:01:32 -06:00
Tim Schaub
f545076986
Avoid swallowing rejected source info promise
2017-10-23 10:01:19 -06:00
Tim Schaub
3d48485475
Reject on font loading error
2017-10-23 10:01:16 -06:00
Tim Schaub
c060dedf20
Avoid swallowing rejected font loading promise
2017-10-23 10:01:01 -06:00
Tim Schaub
cd1f5fd04a
Return after rejecting, catch and log
2017-10-23 09:46:04 -06:00
Alban Mouton
dc6be5047c
missing public_url in tiles urls
2017-10-18 14:49:10 +02:00
Alban Mouton
875521c5a8
add public_url option
2017-10-18 13:51:37 +02:00
Petr Sloup
82f179b07c
Minor fix for correctly serving empty responses for missing tiles
2017-10-02 13:56:32 +02:00
Osmo Salomaa
89878015bb
Make raster tile renderer pool sizes configurable
2017-10-01 18:40:16 +03:00
Petr Sloup
d9f8582279
Remove node-pngquant-native dependency
...
- Unnecessary native dependency
- It was disabled by default
- Has issues on certain platforms
- Not optimal for production use (performance)
2017-09-15 17:06:42 +02:00
Tim Schaub
7bdb7afcb9
Reuse the function for creating empty responses
2017-08-23 11:30:05 -04:00
Tim Schaub
2e46700cd9
Try to create the appropriate data type on http errors
2017-08-22 14:17:53 -04:00
Petr Sloup
42f24c2c99
Add concept of data decorator function
2017-07-28 09:53:32 +02:00
Petr Sloup
698c527e94
Change endpoint URLs ( close #154 )
...
- styles at /style/{id}/style.json
- rendered tiles at /style/{id}/{z}/{x}/{y}.{format}
- TileJSONs at /style/{id}.json
2017-06-22 16:37:32 +02:00
Petr Sloup
8fd7a9b42b
Update dependencies to get ready for node v6
2017-06-22 16:37:32 +02:00
Tim Schaub
de83021c3d
Log errors to stderr and return
2017-06-20 08:09:59 -07:00
Petr Sloup
bdc3d20524
Use promises instead of async in font concatenation (remove async dependency)
2017-05-10 10:22:39 +02:00
Petr Sloup
5d93b1d4f9
Add healthcheck endpoint ( close #140 )
2017-05-10 08:57:51 +02:00
Petr Sloup
d30027e992
Modify all serve_*
modules to return a Promise (preparation for #140 )
2017-05-10 08:56:43 +02:00
Petr Sloup
c233d23523
Fix broken static maps bounds overlay (for very large areas)
2017-05-05 16:15:10 +02:00
Petr Sloup
d67a57861d
Merge pull request #155 from tschaub/reconfigure-on-sighup
...
Reload configuration on SIGHUP
2017-05-04 11:02:48 +02:00
Tim Schaub
a199008fa3
Enclose literal IPv6 addresses in brackets
2017-04-28 07:28:49 -07:00
Tim Schaub
e88b786073
Reload configuration on SIGHUP
2017-04-28 07:13:34 -07:00
Tim Schaub
a234041cd1
Remove unused callback
2017-04-26 08:02:18 -07:00
Petr Sloup
49a779970e
Merge pull request #150 from pirxpilot/no-cors
...
add `--cors` option to allow for optional CORS handling
2017-04-18 09:32:11 +02:00
Petr Sloup
9545c2594e
Handle scale
in query-based static endpoint
2017-04-14 12:05:03 +02:00
Damian Krzeminski
6c23d95feb
add --cors
option to allow for optional CORS handling
...
we are using `cors` middleware with default options which works for most
applications, but does not allow for fine tuning (whitelisting origins
etc.)
this change keeps CORS handling as default to preserve compatibility but
also allows for specying `--no-cors` option which makes it possible to
handle CORS in an independent proxy (NGINX, another node app etc.)
2017-04-12 09:43:43 -07:00
Petr Sloup
366380395e
Proper error message when metadata are missing in the mbtiles ( close #147 )
2017-04-11 19:10:40 +02:00
Petr Sloup
8ea665297f
Minor fix in style path handling (allow absolute paths)
2017-04-07 18:53:11 +02:00
Petr Sloup
f6580c0342
Improved request logging
2017-04-04 18:46:18 +02:00
Petr Sloup
28790fda30
Alternative query-based static endpoint
2017-04-03 15:14:40 +02:00
Petr Sloup
640038a115
Add support for watermarks ( close #130 )
2017-03-15 17:06:26 +01:00
Petr Sloup
49a8562441
Support for proj4 string in mbtiles metadata (for static maps) ( close #127 )
2017-03-15 16:45:26 +01:00
Petr Sloup
1e402ed207
Add possibility to change the front page ( close #128 )
2017-03-15 15:50:58 +01:00
Petr Sloup
f8949c1aa9
Configurable scale factors ( close #121 )
...
Also changes default maximum from `4x` to `3x`
2017-03-15 12:09:18 +01:00
Petr Sloup
7b952ee5c0
Do not add style
parameter when not needed ( close #134 )
2017-03-15 11:39:21 +01:00
Petr Sloup
0673c8990a
Add option to disable static maps ( close #129 )
2017-03-14 16:12:19 +01:00
Petr Sloup
37386bfb29
Hide empty headers on index ( close #125 )
2017-03-14 16:02:54 +01:00
Petr Sloup
b93bc5fadc
Support for handling relative subdomain patterns
2017-03-14 15:50:14 +01:00
Petr Sloup
2f2e4b8f42
Remap data link also for the rendered tiles
2017-02-01 14:57:38 +01:00
Petr Sloup
bfadeb799b
Experimental option to remap data links from inside of the styles
2017-02-01 14:25:21 +01:00
Petr Sloup
3722c653f1
Rename /fontstacks.json to /fonts.json for better consistency ( #104 )
2017-01-25 15:30:58 +01:00
Petr Sloup
6231f9f7a7
Configurable optional alias for .pbf tiles ( #109 )
2017-01-25 15:30:58 +01:00
Petr Sloup
5c1d396ed2
Fix incorrect parenthesis ( #108 )
2017-01-24 11:18:56 +01:00
Petr Sloup
4992bc4194
Fix url instrumentation when serving style to be more robust ( close #108 )
2017-01-23 12:58:47 +01:00
Petr Sloup
f14d8b1e57
Update sharp dependency
2017-01-20 10:20:06 +01:00
Petr Sloup
14350a4338
Update mapbox-gl-native dependency
2017-01-20 10:11:10 +01:00
Petr Sloup
01fbaad962
Check configured paths exist on startup
2017-01-19 14:20:41 +01:00
Petr Sloup
63482a2a39
Generate version-based identifier for data when autogenerating config
2017-01-17 21:18:12 +01:00
Petr Sloup
b48f7edc1d
Serve fontstacks.json and possibly fonts even without any style
2017-01-12 15:23:02 +01:00
Petr Sloup
6d68c93871
Fix broken requires
2017-01-12 14:05:02 +01:00
Petr Sloup
d05606de4d
Improved font serving
2017-01-10 16:17:51 +01:00
Petr Sloup
b9930dd195
Fix interim empty tile generation for raster layers
2017-01-10 15:47:56 +01:00
Petr Sloup
0ec992eb21
Explicitly handle SIGINT to terminate on Ctrl+C from docker
...
See https://github.com/nodejs/node/issues/4182
2016-12-21 06:49:16 +01:00
Petr Sloup
557f83121c
Fix URLs in /index.json and /rendered.json
2016-12-20 13:56:23 +01:00
Petr Sloup
2d29a21596
Do not add basename to tilejson and remove sensitive properties (see #69 )
2016-12-20 13:55:36 +01:00
Petr Sloup
945e568b2b
Merge pull request #93 from ArsenyN/bugfix-RemoteVectorSource
...
Fix: Right code for working with external vector tiles.
2016-12-20 13:21:44 +01:00
Arseny Novikov
37db733e02
Fix for this comment: https://github.com/klokantech/tileserver-gl/issues/91#issuecomment-267939138
...
With this commit code will have right behaviour with external vector tiles.
2016-12-19 14:13:03 +03:00
Petr Sloup
1c401f41a2
Update tests and links to use the new data
2016-12-15 10:51:18 +01:00
Petr Sloup
0018ed9524
Prepare for the new tile schema and compatibility checking
2016-12-14 08:37:17 +01:00
Petr Sloup
509d32da68
Improved font serving
2016-12-09 13:19:34 +01:00
Petr Sloup
bbc14abb4a
Fix sprite and glyph loading from remote URLs
2016-12-08 18:22:11 +01:00
Petr Sloup
0e6c9bfeb0
Improved data name autodetection
2016-12-08 09:41:39 +01:00
Petr Sloup
d3a685e51c
Fix unzip bug
2016-12-07 11:03:03 +01:00
Petr Sloup
d330a9743c
Minor bugfix
2016-12-06 22:16:35 +01:00
Petr Sloup
ef3f34f778
Add geojson endpoints ( close #78 )
2016-12-06 21:26:30 +01:00
Petr Sloup
1aaabd2dff
Experimental integration of first plugin
2016-12-06 20:11:18 +01:00
Petr Sloup
bcac161a25
Minor route pattern improvement
2016-12-05 23:21:31 +01:00
Petr Sloup
9d362a5b5e
Experimental static endpoints working with raw mercator coordinates
2016-12-05 23:02:48 +01:00
Petr Sloup
345d96d5e6
Fix static endpoints for (near-)whole-world queries ( close #63 )
2016-10-21 14:49:39 +02:00
Petr Sloup
15ed6d74bf
Fix incorrect XYZ URLs ( close #58 )
2016-10-07 15:21:12 +02:00
Petr Sloup
18ba6f5059
Ignore tiling scheme of the source for internal meta urls ( #54 )
2016-09-30 09:50:05 +02:00
Petr Sloup
09859c10c1
Serve any vector/raster mbtiles, use styles only for osm2vt ( close #51 , #52 )
2016-09-27 17:26:05 +02:00
Petr Sloup
a8fd1b38b7
Return 404 for negative zoom levels on static endpoint
2016-08-25 11:08:19 +02:00
Petr Sloup
f9f26f0d65
Indicate clearly when running light version on index.html
2016-08-25 10:44:29 +02:00
Petr Sloup
de60a0a076
Disable png quantization by default for now
2016-08-25 10:23:42 +02:00
Petr Sloup
90b9af3d95
Allow max image side length to be configurable
2016-08-25 09:41:33 +02:00
Petr Sloup
78aea26318
Allow @4x requests
2016-08-25 09:38:03 +02:00
Petr Sloup
de7f5f0366
Allow and use floating-point zoom levels in the static endpoints
2016-08-25 09:22:12 +02:00
Petr Sloup
513e2dac8f
Fix incorrect variable name
2016-08-24 16:28:41 +02:00
Petr Sloup
68d997a655
Update to tileserver-gl-styles v0.3.0
2016-08-24 14:05:01 +02:00
Petr Sloup
4c2157842c
Minor fix for autodetected bounds in tilejson
2016-08-24 13:19:36 +02:00
Petr Sloup
e9cad399c9
New "mbtiles://{name}" reference syntax ( #27 )
2016-08-21 10:08:17 +02:00
Petr Sloup
ee1cb21dfd
Use pngquant ( close #43 ); rename option formatEncoding->formatQuality
2016-08-21 09:41:28 +02:00
Petr Sloup
f524f1465e
Fix race condition
2016-08-20 14:29:10 +02:00
Petr Sloup
1004f4cce1
Add XYZ to the list of services ( close #42 )
2016-08-20 14:01:12 +02:00
Petr Sloup
b4d6490e00
Large refactoring of usage (only mbtiles, default styles, ...) ( #27 )
2016-08-20 13:31:11 +02:00
Petr Sloup
3cf8ce9903
Add mbtiles_data: "metaprotocol"
2016-08-20 10:28:45 +02:00
Petr Sloup
845e31b3f2
More sensible errors for non-existent mbtiles
2016-08-19 08:25:12 +02:00
Petr Sloup
afda5d00bc
Merge pull request #36 from efi-the-forking-continues/master
...
new feature: command line option for bind address
2016-08-07 20:45:29 +08:00
Thomas Efer
b3cb047d3d
set default binding to undefined
...
this will result in default behavior in app.listen within server.js
2016-08-07 11:34:46 +02:00
Petr Sloup
2ab9d9e168
Print the package name on the index
2016-08-06 18:40:50 +08:00
Petr Sloup
8a7f44d4c2
Add script for building "tileserver-gl-light" package ( #27 )
2016-08-06 18:37:17 +08:00
Thomas Efer
aa9a469bb4
tell server to adhere to new option for network interface binding
2016-08-05 14:30:22 +02:00
Thomas Efer
53c1ef5786
Added option to specify network interface binding
2016-08-05 14:28:34 +02:00
Petr Sloup
7accdfa7da
Very early CPU-cheap 304 based solely on last-modified
2016-07-27 12:31:47 +08:00
Petr Sloup
a0fbf7fb79
Fix font compositing ( close #32 )
2016-07-26 18:56:32 +07:00
Petr Sloup
dbaca66b2c
Add `Last-Modified' headers to improve caching
2016-07-26 10:43:33 +08:00
Petr Sloup
a43c96f6cc
Print package version to log and index
2016-07-13 14:04:42 +02:00
Petr Sloup
3c29cb0f65
ETag/caching fixes and improvements
2016-07-13 12:56:59 +02:00
Petr Sloup
15bc393aa8
Use URl-safe base64 alphabet
2016-06-30 12:19:32 +02:00
Petr Sloup
6100013718
Fix serving the same style twice
2016-06-29 20:28:56 +02:00
Petr Sloup
1307b29ff9
Cleaner implementation of keys
2016-06-29 20:17:58 +02:00
Petr Sloup
0ba2dcce53
Always use http for wmts
2016-06-29 19:55:06 +02:00
Petr Sloup
ebd6662ebb
Minor WMTS link bugfix
2016-06-29 16:23:49 +02:00
Petr Sloup
1104bf8a57
Add links to WMTS services from index.html
2016-06-29 15:08:56 +02:00
Petr Sloup
1d4503b507
If key
present in query, propagate it to other linked urls
2016-06-29 14:57:11 +02:00
Petr Sloup
fc32cc24e5
Properly add CORS to vector style endpoints
2016-06-27 09:06:30 +02:00
Petr Sloup
4af6fb686f
Change bearing and pitch format in static url
2016-06-27 07:56:54 +02:00
Petr Sloup
2d2c43aeb5
Support bearing in path overlays
2016-06-27 07:42:38 +02:00
Petr Sloup
900ca4ed3e
Refactor area-based static maps urls
2016-06-27 07:18:48 +02:00
Petr Sloup
9d63634078
Rename path
static map type to auto
2016-06-27 07:09:24 +02:00
Petr Sloup
0b98651b48
Add dynamic path queries to all static endpoints
2016-06-27 07:08:27 +02:00
Petr Sloup
d3aeab5d89
Decrease image size limit to 2048x2048
2016-06-27 06:53:29 +02:00
Petr Sloup
01bff86c6d
Initial implementation of path rendering
2016-06-24 12:26:26 +02:00
Petr Sloup
187da7bb58
Add raster view for raster data
2016-05-04 13:53:47 +02:00
Petr Sloup
daa94dc806
Chain attributions from mbtiles into the tilejson of the rendered tiles
2016-05-04 13:13:37 +02:00
Petr Sloup
5d940066d9
Display filesizes of the mbtiles
2016-05-04 13:07:09 +02:00
Petr Sloup
9edf7c0cae
Fix empty raster tiles
2016-05-03 17:42:47 +02:00
Petr Sloup
54073cecce
Simplify URL for "static"
...
/styles/{id}/rendered/static/... -> /styles/{id}/static/...
2016-04-22 15:50:56 +02:00
Petr Sloup
a25ce62662
New urls for source data tiles and rendered tiles
2016-04-22 12:33:20 +02:00