<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=iso-2022-jp" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022>Yes that worked now to restart Apache !
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022>Here is the final config snippets in case it helps
someone </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022>and remember the format tags aka 'MVT' are case
sensitive ;)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022>mapfile</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=392060722-07092022>OUTPUTFORMAT<BR> NAME "MVT"<BR>
DRIVER MVT<BR> FORMATOPTION
"EDGE_BUFFER=10"<BR>END</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial>LAYER <BR></FONT><SPAN
class=392060722-07092022></SPAN><FONT color=#000080 size=2
face=Arial> <SPAN class=392060722-07092022>
....</SPAN></FONT></DIV>
<DIV><SPAN class=392060722-07092022></SPAN><SPAN
class=392060722-07092022></SPAN><FONT color=#000080 size=2
face=Arial> <SPAN class=392060722-07092022> #
added:</SPAN><BR> UTFITEM "gml_id"
<BR> UTFDATA
"{\"gml_id\":\"[gml_id]\",\"fkz\":\"[flurstueckskennzeichen]\",\"gemeindename\":\"[gemeindename]\",\"Gemarkungsname\":\"[Gemarkungsname]\",\"zaehler\":\"[zaehler]\",\"nenner\":\"[nenner]\"}" <BR>
END</FONT><BR></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><SPAN
class=392060722-07092022></SPAN><FONT face=Arial><FONT color=#000080><FONT
size=2>m<SPAN
class=392060722-07092022>apcache.xml</SPAN></FONT></FONT></FONT></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022> <format name="MVT" type="RAW">
<BR>
<extension>mvt</extension><BR>
<mime_type>application/vnd.mapbox-vector-tile</mime_type><BR>
</format></SPAN></FONT></FONT></FONT></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022> <source name="flurst_utf"
type="wms"><BR>
<getmap><BR>
<params><BR>
<FORMAT>MVT</FORMAT><BR>
<LAYERS>flurst_gff</LAYERS><BR>
<MAP>/xyz/utfgrid.map</MAP><BR>
</params><BR>
</getmap><BR>
<http><BR>
<url>http://theurl/cgi-bin/mapserv</url><BR>
</http><BR> </source></SPAN></FONT></FONT></FONT></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022> <tileset
name="flurst_utf_tiles"><BR>
<metadata><BR>
<title>Flurst
UTF</title><BR>
<abstract>Flurst UTF</abstract><BR>
</metadata><BR>
<source>flurst_utf</source><BR>
<cache>disk</cache><BR> <grid
restricted_extent="727077.513504722 6536256.08499261 754566.10585149
6562363.18993406">GoogleMapsCompatible</grid><BR>
<format>MVT</format><BR>
</tileset></SPAN></FONT></FONT></FONT></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT
face=Arial><FONT color=#000080><FONT size=2><SPAN
class=392060722-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><FONT size=2
face=Tahoma><B>From:</B> karsten [mailto:karsten@terragis.net] <BR><B>Sent:</B>
Wednesday, September 07, 2022 14:49<BR><B>To:</B>
'mapserver-users@lists.osgeo.org'<BR><B>Subject:</B> RE: Creating UTF grids with
MapServer and MapCache<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=538324721-07092022>Oh yes that could be the problem, so far I
have</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=538324721-07092022></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=538324721-07092022>OUTPUTFORMAT<BR> NAME "utfgrid" <BR> DRIVER
UTFGRID<BR> MIMETYPE "application/json" <BR> EXTENSION "json"
<BR> FORMATOPTION "UTFRESOLUTION=4" <BR> FORMATOPTION
"DUPLICATES=false" <BR>END</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=538324721-07092022></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=538324721-07092022>will try with mvt now (goal is to create utfgrid json
though)</SPAN></FONT></DIV><FONT color=#000080 size=2 face=Arial></FONT><BR>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> karsten [mailto:karsten@terragis.net]
<BR><B>Sent:</B> Wednesday, September 07, 2022 12:38<BR><B>To:</B>
'mapserver-users@lists.osgeo.org'<BR><B>Subject:</B> RE: Creating UTF grids with
MapServer and MapCache<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022>Thanks </SPAN>Scott<SPAN
class=149143419-07092022>,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022>I do have a tileset like this
below</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022> <tileset
name="flurst_utf_tiles"><BR>
<metadata><BR>
<title>Flurst
UTF</title><BR>
<abstract>Flurst UTF</abstract><BR>
</metadata><BR>
<source>flurst_utf</source><BR>
<cache>disk</cache><BR> <grid
restricted_extent="727077.513504722 6536256.08499261 754566.10585149
6562363.18993406">GoogleMapsCompatible</grid><BR>
<format>mvt</format><BR>
<metatile>5 5</metatile><BR>
<metabuffer>10</metabuffer><BR>
<expires>3600</expires><BR>
</tileset></SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022>but also with this get the
error</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=149143419-07092022>tileset "flurst_utf_tiles" references format "mvt", but
it is not configured</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2
face=Arial></FONT> </DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> karsten [mailto:karsten@terragis.net]
<BR><B>Sent:</B> Wednesday, September 07, 2022 12:08<BR><B>To:</B>
'mapserver-users@lists.osgeo.org'<BR><B>Subject:</B> Creating UTF grids with
MapServer and MapCache<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><PRE><SPAN class=513260019-07092022><DIV><SPAN class=485531722-02092022><FONT color=#000080 size=2 face=Arial>Hi All,</FONT></SPAN></DIV><DIV><SPAN class=485531722-02092022><FONT color=#000080 size=2 face=Arial></FONT></SPAN> </DIV><DIV><SPAN class=485531722-02092022></SPAN><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN class=513260019-07092022>I am working on a correct configuration to cerate UTFGrid json tiles </SPAN><SPAN class=513260019-07092022>via MapCache and </SPAN>MapServer<SPAN class=513260019-07092022> to seed a json tile set </SPAN></FONT></FONT></FONT><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN class=513260019-07092022></DIV></SPAN></FONT></FONT></FONT><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN class=513260019-07092022><DIV> </DIV></SPAN></FONT></FONT></FONT><DIV><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>MapCache is up and running on my ubuntu 20 server and WMS requests (PNG, Jpeg ) are working as is the seeding utility.</SPAN></FONT></DIV><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022></SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>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:</SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022> <format name="MVT" type="RAW"> <BR> <extension>mvt</extension><BR> <mime_type>application/vnd.mapbox-vector-tile</mime_type><BR> </format></SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>the layer is</SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022> <source name="flurst_utf" type="wms"><BR> <getmap><BR> <params><BR> <FORMAT>mvt</FORMAT><BR> <LAYERS>flurst</LAYERS><BR> <MAP>/var/mapdata/utfgrid.map</MAP><BR> </params><BR> </getmap><BR> <http><BR> <url>http://myserver/cgi-bin/mapserv</url><BR> </http><BR> </source></SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>When tryign to restrart apache however I get this error message </SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>systemctl status apache2.service<BR>● apache2.service - The Apache HTTP Server<BR> Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)<BR> Active: failed (Result: exit-code) since Wed 2022-09-07 20:31:58 CEST; 28s ago<BR> Docs: <A href="https://httpd.apache.org/docs/2.4/">https://httpd.apache.org/docs/2.4/</A><BR> Process: 1265907 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)</SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>Sep 07 20:31:58 terraz systemd[1]: Starting The Apache HTTP Server...<BR>Sep 07 20:31:58 terraz apachectl[1265919]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/000-default.conf:<BR>Sep 07 20:31:58 terraz apachectl[1265919]: tileset "flurst_utf_tiles" references format "mvt", but it is not configured<BR>Sep 07 20:31:58 terraz apachectl[1265907]: Action 'start' failed.<BR></SPAN></FONT></SPAN></PRE><PRE><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>W</SPAN></FONT></SPAN><SPAN class=513260019-07092022><FONT color=#000080 size=2 face=Arial><SPAN class=513260019-07092022>hat am I missing here ?</SPAN></FONT></SPAN></PRE><SPAN
class=513260019-07092022><PRE><SPAN class=485531722-02092022><FONT color=#000080 size=2 face=Arial>Thanks</FONT></SPAN></PRE><PRE><FONT color=#000080 size=2 face=Arial></FONT> </PRE><PRE><DIV><FONT color=#000080><FONT size=2><FONT face=Arial><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Verdana','sans-serif'">Karsten Vennemann<BR></SPAN><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><SPAN style="COLOR: #003264"><A title="http://www.terragis.net/
blocked::http://www.terragis.net/" href="http://www.terragis.net"><FONT title=http://www.terragis.net/>www.terragis.net</FONT></A></SPAN></SPAN></FONT></FONT></FONT></DIV></SPAN></PRE></DIV>
<DIV align=left>
<DIV align=left><FONT color=#000080 size=2
face=Arial></FONT> </DIV></DIV></BODY></HTML>