maptiler / tileserver-php

MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
http://tileserver.maptiler.com/
568 stars 163 forks source link

Doc disambiguation : Tile size 256x256 limitation #129

Closed Fractaliste closed 6 years ago

Fractaliste commented 6 years ago

Hi,

I'm using your server to perform POCs comparison between Openlayer and Mapbox.

I see in the documentation that one of your tool limitation is:

All tiles must be 256x256 pixels.

Do you mean that tiles put in the data directory should be 256x256 pixel or do you mean that vector tiles outputed by the server can only be 256x256 pixel?

I ask it because as far as I understand last Mapbox's documentation, it needs 512 pixel size whereas Openlayer use more common 256px and at the moment I failed to make it working with Mapbox : the tilesever returns 204 status code so I suspect that the server does not understand 512px's x,y bounds into the url...

daliborjanak commented 6 years ago

Hi, 512px tiles are implemented. This is wrongly written in the readme. Thank you for a report. This was implemented in 18 see https://github.com/klokantech/tileserver-php/issues/18 I will fix readme