1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-01-17 14:18:19 +01:00

158 Commits

Author SHA1 Message Date
David Eagles
7800af830a
Modified WMTS Resource URL generation to support hostnames that contain the layer name.
If the hostname contained the layer name (eg. https://layername.domain.com/layername/wmts) then the WMTS capabilities document contained an incorrect Resource URL because the hostname was stripped back to simply https://.  This modification simply looks for the last occurrence of the layer name instead of the first when forming the Resource URL.
2021-09-24 11:09:17 +10:00
Dalibor Janák
eb571b5d70
Merge pull request #144 from scubajorgen/master
Resolved bug in transparent png tile
2020-08-10 07:53:51 +02:00
Dalibor Janak
43e3cadb87 Remove old aray syntax 2020-07-28 22:34:22 +02:00
Jorgen
54254f8ef1 Resolved bug in transparent png tile 2019-07-11 13:27:21 +02:00
Dalibor Janák
b266dc2a6e
Merge pull request #143 from CodeLingoBot/rewrite-klokantech-tileserver-php-psr2-lower-case-constant-values
Change PHP keywords to comply with PSR2
2019-04-04 07:52:45 +02:00
CodeLingoBot
4c339b8d19 Change PHP keywords to comply with PSR2
Signed-off-by: CodeLingoBot <bot@codelingo.io>
2019-04-03 11:24:50 +13:00
Dalibor Janák
287da5062e
Merge pull request #141 from ibesora/master
Removes body data from http 204 response
2019-01-07 14:31:58 +01:00
Isaac Besora Vilardaga
d11963d43c Removes body data from http 204 response 2019-01-07 14:01:19 +01:00
Dalibor Janák
5ddbfa300a
Updated readme with tile size, closes #129 and custom CRS 2018-07-02 11:45:46 +02:00
Dalibor Janák
2a84c6271f Fix Undefined index SERVER_PORT router error in some server configs 2018-02-19 16:31:18 +01:00
Dalibor Janák
9f6b5d5100 Merge branch 'master' of https://github.com/klokantech/tileserver-php 2018-02-19 16:20:31 +01:00
Dalibor Janák
dca0e64219 Removed unused var in router 2018-02-19 16:15:51 +01:00
Dalibor Janák
e6af62e191
Remove PHP 5.3 check from travis 2018-02-19 15:59:44 +01:00
Dalibor Janák
d3ebdec555 Strip incorrectly encoded property in OMT datasets 2018-02-19 15:52:48 +01:00
Dalibor Janák
f75b1bbfa6 Don't need trailing slash in dataroot 2017-12-05 15:31:40 +01:00
Dalibor Janák
bb823a57ff 0. 2017-04-24 15:26:57 +02:00
Dalibor Janák
380cfdeaaf Merge pull request #100 from Burke9077/master
Fixed issue if HTTP_X_FORWARDED_PROTO is unset.
2017-04-24 09:31:57 +02:00
Matt Burke
dc2452e781 Fixed issue where tiles are not loaded if HTTP_X_FORWARDED_PROTO is
unset.
2017-04-06 10:27:04 -04:00
Dalibor Janák
5f314fef28 Fixed bug in condition with X-Forwarded-Proto 2016-12-06 23:18:30 +01:00
Dalibor Janák
758b6a1e4d Fix of X-Forwarded-Proto server variable (issue #92) 2016-12-06 18:10:06 +01:00
Dalibor Janák
d7a4ad03c1 Use https with X-Forwarded-Proto (issue #92) 2016-12-06 17:58:22 +01:00
Dalibor Janák
2ead30dc4a Rename mbtilesPrefix to dataRoot 2016-08-29 19:06:51 +02:00
Dalibor Janák
682a9ee5c9 Merge pull request #88 from mtfurlan/master
Add prefix to mbtiles, return 204 on no tile
2016-08-29 19:02:15 +02:00
Mark Furland
7405ec3dc3 Add prefix to mbtiles, return 204 on no tile
This adds a configuration option for a prefix to the mbtiles, so you can
store the tiles in other locations.

It also changes the no tile found 404 to a 204, as the mapbox team will
be doing:
https://github.com/mapbox/mapbox-gl-js/issues/1800#issuecomment-236190808
2016-08-26 11:12:43 -04:00
Petr Pridal
058df85c2e Readme mentions MVT vector tiles (pbf requests) 2016-05-05 12:18:20 +02:00
Petr Pridal
f7613e04a1 Updated default title of the page 2016-05-04 19:19:33 +02:00
Dalibor Janák
e4148733ed Empty tile response for jpg and webp v2.0 2016-05-03 23:36:31 +02:00
Dalibor Janák
c28d188e0d Empty tile response for jpg and webp 2016-05-03 23:21:40 +02:00
Dalibor Janák
ef5de0607d Unpack empty png tile PHP 5.2 compatible 2016-05-03 22:48:23 +02:00
Dalibor Janák
494669f5d7 Merge pull request #79 from ramunasd/patch-1
Faster and ~70% smaller empty png tile
2016-05-03 22:13:08 +02:00
Petr Pridal
4b53b4c351 Sample MBTiles file for OpenShift deploy 2016-05-03 17:15:54 +02:00
Petr Pridal
86a1c68888 Update .travis.yml 2016-04-23 00:34:40 +02:00
Petr Pridal
f834ec7fd9 Deploy to OpenShift via travis 2016-04-23 00:08:21 +02:00
Ramūnas Dronga
ac68e90870 Faster and ~70% smaller empty png tile 2016-04-18 21:25:38 +03:00
Dalibor Janák
bb48534fe3 Removing of useless code. 2016-03-21 13:42:53 +01:00
Dalibor Janák
c158bcbe57 Minor warning with some php configurations fixed. 2016-03-21 13:40:33 +01:00
Dalibor Janák
2dfd2fcb5f Max zoom of Mercator TileMatrixSet is affected with max of layers maxzoom (closes #76) 2016-03-21 10:59:29 +01:00
Dalibor Janák
6b4fb0fec7 WMTS url to tiles simplified for fastest tile serving 2016-03-07 14:57:29 +01:00
Dalibor Janák
8f2b068c4f Custom template implementation #31 2016-03-07 14:39:28 +01:00
Dalibor Janák
709ed4ffce Revert "Fix of utfgid detection"
This reverts commit 8f6a2ced68af2f85a4fb7882d3b9fe78c618fd75.
2016-03-07 14:00:29 +01:00
Dalibor Janák
7320f426a1 Autodetection fix or warning in router, closes #49 2016-03-04 13:28:05 +01:00
Dalibor Janák
2e36338720 Removed dependency of GlobalMercator class closes #74 2016-03-04 13:20:46 +01:00
Dalibor Janák
70159a5b29 Layer list improved 2016-03-04 12:07:37 +01:00
Dalibor Janák
fdeb010831 Get global vars via getenv 2016-03-01 19:17:46 +01:00
Dalibor Janák
8bbfa1d367 Config from eniviroment if is provided 2016-03-01 15:05:58 +01:00
Dalibor Janák
50630fe1c7 Get config from docker volumes if is provided 2016-03-01 11:57:18 +01:00
Dalibor Janák
8206bcccc7 GD module dependency closes #53 2016-02-29 20:21:13 +01:00
Dalibor Janák
d304b89eb2 Removed unused code 2016-02-29 14:19:09 +01:00
Dalibor Janák
87906da0c5 Correct detection of format closes #67 2016-02-29 14:16:17 +01:00
Dalibor Janák
92ddcb6e66 WMTS / TileJSON for remote tiles #69 2016-02-29 12:16:24 +01:00