<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Marco,</div><div class=""><br class=""></div><div class="">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 class="">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" class="">Mapbox Vector Tiles spec</a>). </div><div class="">I didn’t use MapServer <a href="http://www.mapserver.org/mapcache/" class="">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 class="">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 class=""><br class=""></div><div class="">Regards,</div><div class="">Nick</div><div class=""><br class=""></div>From: Marco Hugentobler <<a href="mailto:marco.hugentobler@sourcepole.ch" class="">marco.hugentobler@sourcepole.ch</a>><br class="">To: <a href="mailto:qgis-developer@lists.osgeo.org" class="">qgis-developer@lists.osgeo.org</a><br class="">Subject: Re: [Qgis-developer] Any plans for implementing vector tile<br class=""><span class="Apple-tab-span" style="white-space: pre;">     </span>generation on QGIS Server?<br class="">Message-ID: <<a href="mailto:5765066C.3000905@sourcepole.ch" class="">5765066C.3000905@sourcepole.ch</a>><br class="">Content-Type: text/plain; charset="utf-8"; Format="flowed"<br class=""><br class="">Hi Nikolai<br class=""><br class="">Most vector tile generators can work with any WMS in the background. <br class="">E.g. using MapCache with QGIS server should be perfectly possible.<br class=""><br class="">Regards,<br class="">Marco<br class=""><br class="">On 06/18/16 10:13, Nikolai Bezdna wrote:<br class=""><blockquote type="cite" class="">I’d like to know if there are any plans for enabling serving vector <br class="">tiles from QGIS Server, so they can be used in client libraries like <br class="">Mapbox GL afterwards. Seems like GDAL (OGR really) MVT driver is stuck <br class="">in development and there already are some stand-alone implementations, <br class="">like utilery (<a href="https://github.com/tilery/utilery" class="">https://github.com/tilery/utilery</a>) or Mapnik vector tile <br class="">(<a href="https://github.com/mapbox/mapnik-vector-tile" class="">https://github.com/mapbox/mapnik-vector-tile</a>), but nothing is <br class="">integrated with QGIS server. Since Mapbox and ESRI adopted MVT, and <br class="">most major web basemaps (like Google, Apple etc.) are already vector <br class="">tile based, it seems like QGIS is running a bit behind in this field. <br class="">So it would be great to start a discussion on utilising vector tile <br class="">spec within QGIS.<br class=""><br class="">Cheers</blockquote></body></html>