<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I have some code to build a vector tile based on qgsVectorLayer but
    I have not yet time to build a QGIS Server Plugin to use it. I'll be
    pleased to do it.<br>
    <br>
    Regards,<br>
    René-Luc<br>
    <br>
    <div class="moz-cite-prefix">Le 19/06/2016 02:36, Thomas Gratier a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CACPZzQ2c4iBuX2ic32WgkUKXhitt5xJaokuWH4A1EAKVbu=Qzg@mail.gmail.com"
      type="cite">
      <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
              moz-do-not-send="true"
href="https://github.com/mapzen/TileStache/blob/integration-1/TileStache/Goodies/VecTiles/mvt.py"><a class="moz-txt-link-freetext" 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></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 moz-do-not-send="true"
              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 moz-do-not-send="true"
                  href="https://github.com/mapbox/vector-tile-spec"
                  target="_blank">Mapbox Vector Tiles spec</a>). </div>
              <div>I didn’t use MapServer <a moz-do-not-send="true"
                  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 moz-do-not-send="true"
                href="mailto:marco.hugentobler@sourcepole.ch"
                target="_blank">marco.hugentobler@sourcepole.ch</a>><br>
              To: <a moz-do-not-send="true"
                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 moz-do-not-send="true"
                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 moz-do-not-send="true"
                    href="https://github.com/tilery/utilery"
                    target="_blank">https://github.com/tilery/utilery</a>)
                  or Mapnik vector tile <br>
                  (<a moz-do-not-send="true"
                    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 moz-do-not-send="true"
              href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
            List info: <a moz-do-not-send="true"
              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 moz-do-not-send="true"
              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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>