<div dir="ltr"><div><div><div>Hi,<br><br></div>Although it will not change the issue to support vector tiles in QGIS Server, TileStache does support PBF. It's just that you need the forked version from Mapzen e.g <a href="https://github.com/mapzen/TileStache/blob/integration-1/TileStache/Goodies/VecTiles/mvt.py">https://github.com/mapzen/TileStache/blob/integration-1/TileStache/Goodies/VecTiles/mvt.py</a><br><br></div>Cheers<br><br></div>Thomas Gratier<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-19 1:51 GMT+02:00 Nikolai Bezdna <span dir="ltr"><<a href="mailto:mofoyoda@gmail.com" target="_blank">mofoyoda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Marco,</div><div><br></div><div>As far as I know vector tiles can’t be generated out of WMS services, because WMS spec is mostly used for getting raster images (GetMap request) or feature information (GetFeatureInfo request) and some others. </div><div>I guess you meant WFS really, but I don’t know any caching server implementations that use WFS as a background and generate vector tiled PBFs (particularly in <a href="https://github.com/mapbox/vector-tile-spec" target="_blank">Mapbox Vector Tiles spec</a>). </div><div>I didn’t use MapServer <a href="http://www.mapserver.org/mapcache/" target="_blank">MapCache</a>, but according to the docs it doesn’t support vector tiles, only raster ones. MapProxy and TileCache don’t support them either. TileStache can produce vector tiles out of OGR datasource, but in GeoJSON format, which is way heavier than PBF, even gzipped.</div><div>So the good way to go would be to use the OGR MVT driver, but unfortunately it’s not released and the status of it’s development is unknown. While web is moving fast towards in-browser rendering (OpenLayers3 and Mapbox GL already utilise WebGL for that) it’s becoming clear QGIS server should support vector tiles at some point. Should I start with a feature request maybe?</div><div><br></div><div>Regards,</div><div>Nick</div><div><br></div>From: Marco Hugentobler <<a href="mailto:marco.hugentobler@sourcepole.ch" target="_blank">marco.hugentobler@sourcepole.ch</a>><br>To: <a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a><br>Subject: Re: [Qgis-developer] Any plans for implementing vector tile<br><span style="white-space:pre-wrap">        </span>generation on QGIS Server?<br>Message-ID: <<a href="mailto:5765066C.3000905@sourcepole.ch" target="_blank">5765066C.3000905@sourcepole.ch</a>><br>Content-Type: text/plain; charset="utf-8"; Format="flowed"<span class=""><br><br>Hi Nikolai<br><br>Most vector tile generators can work with any WMS in the background. <br>E.g. using MapCache with QGIS server should be perfectly possible.<br><br>Regards,<br>Marco<br><br>On 06/18/16 10:13, Nikolai Bezdna wrote:<br><blockquote type="cite">I’d like to know if there are any plans for enabling serving vector <br>tiles from QGIS Server, so they can be used in client libraries like <br>Mapbox GL afterwards. Seems like GDAL (OGR really) MVT driver is stuck <br>in development and there already are some stand-alone implementations, <br>like utilery (<a href="https://github.com/tilery/utilery" target="_blank">https://github.com/tilery/utilery</a>) or Mapnik vector tile <br>(<a href="https://github.com/mapbox/mapnik-vector-tile" target="_blank">https://github.com/mapbox/mapnik-vector-tile</a>), but nothing is <br>integrated with QGIS server. Since Mapbox and ESRI adopted MVT, and <br>most major web basemaps (like Google, Apple etc.) are already vector <br>tile based, it seems like QGIS is running a bit behind in this field. <br>So it would be great to start a discussion on utilising vector tile <br>spec within QGIS.<br><br>Cheers</blockquote></span></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>