<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Nikolai<br>
<br>
Oh sorry, was reading the mail in a rush and meant raster tiles.<br>
<br>
I don't have much experience with vector tiles. Afaik, they come
without symbolisation? If yes, is there a reason why the vector
tile serving needs to be inside QGIS server? Or could you just
use another application that you point to the datasource? <br>
E.g. there is an interesting new project called t-rex
(<a class="moz-txt-link-freetext" href="https://github.com/pka/t-rex">https://github.com/pka/t-rex</a>), afaik it supports PBF.<br>
<br>
Regards,<br>
Marco<br>
<br>
Am 19.06.2016 um 01:51 schrieb Nikolai Bezdna:<br>
</div>
<blockquote
cite="mid:EF016CE1-547A-4215-B49C-A82D925C5F16@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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
moz-do-not-send="true"
href="https://github.com/mapbox/vector-tile-spec" class="">Mapbox
Vector Tiles spec</a>). </div>
<div class="">I didn’t use MapServer <a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:marco.hugentobler@sourcepole.ch" class="">marco.hugentobler@sourcepole.ch</a>><br
class="">
To: <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="https://github.com/tilery/utilery" class="">https://github.com/tilery/utilery</a>)
or Mapnik vector tile <br class="">
(<a moz-do-not-send="true"
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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee</pre>
</body>
</html>