[MapServer-users] Creating UTF grids with MapServer and MapCache

karsten karsten at terragis.net
Wed Sep 7 12:08:26 PDT 2022


Hi All,
 
I am working on a correct configuration to cerate UTFGrid json tiles  via
MapCache and MapServer to 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/
    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
 <http://www.terragis.net> www.terragis.net
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220907/39e4503f/attachment.htm>


More information about the MapServer-users mailing list