Commit graph

290 commits

Author SHA1 Message Date
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
Petr Sloup
c0fb4fd400 Support for raster mbtiles (issue #13) 2016-04-21 18:23:13 +02:00
Petr Sloup
bdea327437 Use CORS 2016-04-05 13:02:33 +02:00
Petr Sloup
6cf006ec50 More strict routing pattern matching (fix tests) 2016-03-17 11:45:55 +01:00
Petr Sloup
34befd43c9 Add xray viewer for vector data 2016-03-17 11:31:33 +01:00
Petr Sloup
c132d7fba8 Add redirect from /raster/:id/ to /styles/:id/ 2016-03-17 11:04:51 +01:00
Petr Sloup
62a6917778 Show proper thumbnails on index 2016-03-17 11:01:54 +01:00
Petr Sloup
403bc949a5 Pregenerate permalinks for the viewers 2016-03-17 10:51:16 +01:00
Petr Sloup
837cb7d1fb New index and viewer (+ templating system) 2016-03-16 20:47:11 +01:00
Petr Sloup
d0c0430dca Improve config usability (close #10) 2016-03-14 16:11:29 +01:00
Petr Sloup
1ade82bf05 More user-friendly error message for invalid config (close #7) 2016-03-11 20:29:21 +01:00
Petr Sloup
5a94689385 Make compressionLevel/quality configurable + change defaults 2016-03-11 16:40:05 +01:00
Petr Sloup
074c873826 Support optional bearing and pitch in center-based static requests 2016-03-11 12:10:22 +01:00
Petr Sloup
8a46bd8b88 Major cleaning of paths and urls 2016-03-11 10:50:33 +01:00
Petr Sloup
06b88bbbe7 Font concatenation 2016-03-11 10:06:34 +01:00
Petr Sloup
946cb2ca5f Serve fonts only if serving some styles 2016-03-11 09:52:19 +01:00
Petr Sloup
d742672238 Serve fonts 2016-03-11 09:48:35 +01:00
Petr Sloup
b98b7244f6 Correctly serve sprites 2016-03-11 09:16:28 +01:00
Petr Sloup
4c40700bac Major refactoring of the urls (#5) 2016-03-10 18:26:26 +01:00
Petr Sloup
6f644a4c03 Serve TileJSONs on /{prefix}.json 2016-03-09 19:18:59 +01:00
Petr Sloup
a0007b42f9 Do not allow dot character in request extensions 2016-03-09 17:26:34 +01:00
Petr Sloup
a495993e68 Fix behavior of area-based static maps 2016-03-09 17:26:34 +01:00
Petr Sloup
9736649244 Stronger checking of request parameters and stability improvements 2016-03-09 13:21:34 +01:00
Petr Sloup
77755b548b Add first batch of tests 2016-03-09 11:26:02 +01:00
Petr Sloup
7ca7fc721f Change server behavior to allow for testing 2016-03-09 11:09:06 +01:00
Petr Sloup
717b176dc7 Use empty string as default value for "root" option (meaning cwd) 2016-03-09 09:25:33 +01:00
Petr Sloup
4125ad1c8f Increase map pool sizes 2016-03-09 08:40:46 +01:00
Petr Sloup
dc096012ef Use dynamic pool of map instances to reduce waiting times (issue #3) 2016-03-03 19:41:29 +01:00
Petr Sloup
4f9b8c1a1b Optimize static endpoints (remove abaculus dependency) (closes #2) 2016-03-03 16:51:52 +01:00
Petr Sloup
eb70e8bb0d Add basic command line options 2016-03-03 11:17:38 +01:00
Petr Sloup
ae4a24363a Remove unused requires 2016-03-02 17:58:06 +01:00
Petr Sloup
7bef26baed Support for serving raw vector tiles 2016-03-02 17:51:50 +01:00
Petr Sloup
75e5fd1018 Improved error handling 2016-03-02 17:12:32 +01:00
Petr Sloup
40a7ee5e62 Use sharp instead of pngjs for image compression + webp & jpeg support 2016-03-02 16:22:01 +01:00
Petr Sloup
5d0e27b030 Fix HiDPI tiles 2016-03-02 15:03:59 +01:00
Petr Sloup
565ed2dd74 Improved generation of TileJSONs 2016-03-02 13:11:43 +01:00
Petr Sloup
92b502af36 Initial commit 2016-03-02 10:52:02 +01:00