You probably need to define the tileset, something like:

<tileset name="flurst_utf_tiles">
  <source>test_wms_mvt</source>
  <grid>myGridName</grid>
  <cache>disk</cache>
  <format>MVT</format>
</tileset>


On 9/7/22 12:08, karsten wrote:
Hi All,
I am working on a correct configuration to cerate UTFGrid json tiles via MapCache and MapServerto seed a json tile set MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, Jpeg ) are working as is the seeding utility.

Now I am trying to add a UTFGrid tile layer and added the mvt format into the (working for the other layers correctly) mapcache.xml:

    <format name="MVT" type="RAW">
      <extension>mvt</extension>
      <mime_type>application/vnd.mapbox-vector-tile</mime_type>
    </format>

the layer is

    <source name="flurst_utf" type="wms">
       <getmap>
          <params>
             <FORMAT>mvt</FORMAT>
             <LAYERS>flurst</LAYERS>
             <MAP>/var/mapdata/utfgrid.map</MAP>
          </params>
       </getmap>
       <http>
          <url>http://myserver/cgi-bin/mapserv</url>
       </http>
    </source>

When tryign to restrart apache however I get this error message

systemctl status apache2.service
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)      Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 CEST; 28s ago        Docs: https://httpd.apache.org/docs/2.4/ <https://httpd.apache.org/docs/2.4/>     Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server...
Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/000-default.conf: Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" references format "mvt", but it is not configured
Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed.

What am I missing here ?

Thanks

Karsten Vennemann
www.terragis.net <http://www.terragis.net>


_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to