<div dir="ltr">Richard:<div>  Thanks for your reply.  We have several datasets that I think follow the slippy map directory structure.  We want them on a server  accessible to remote thin clients.  We have WMTS datasets running on mapserver but that uses a different directory structure and those are accessible through a TMS or WMTS mapcaches query.  </div><div><br></div><div>How does the remote thin client access the files from a folder C:\data_static\MapTiles\BlueMarbleTiles where the tms.xml file lives.  Some of the tilesets we generated with gdal2tiles.py and they have a tilemapresource.xml file instead.  Those files have an openlayers.html file in the base of the tileset that will display the teils when clicked on but again that is from the local system.</div><div><br></div><div><br></div><div>Bruce</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 10, 2021 at 12:44 PM Richard Greenwood <<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm not sure what you're trying to do so apologizes if I'm stating the obvious, but MapServer is a rendering engine that takes raw data (vector and/or raster) and returns a rasterized representation of that data based on the request. That may be a single image or multiple tiles depending on the request. If you already have tiles then you don't need MapServer. Your client (QGIS, OpenLayers, etc.) can fetch those tiles directly. Neither of the query strings that you've pasted into the email look valid to me so I'm not surprised that you're not getting any results.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 10, 2021 at 7:05 AM Bruce Clay <<a href="mailto:bclay1297@gmail.com" target="_blank">bclay1297@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Can mapserver serve xyz (mapbox or others) type tiles?<div><br></div><div>If I try to add a xyz layer in qgis using <a href="http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&MODE=tile&TILEMODE=gmap&LAYERS=bluemarble/%7Bz%7D/%7Bx%7D/%7By%7D.png" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&MODE=tile&TILEMODE=gmap&LAYERS=bluemarble/{z}/{x}/{y}.png</a> I always get a black set of tiles</div><div><br></div><div>if i query <a href="http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&MODE=tile&TILEMODE=gmap&TILE=0+0+0&LAYERS=bluemarble" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&MODE=tile&TILEMODE=gmap&TILE=0+0+0&LAYERS=bluemarble</a> I get a black tile</div><div><br></div><div>if I change the layer name to a non-existent layer I still get a black tile and no errors are reported in the mapserver log file.</div><div><br></div><div>if I click on the openlayers.html file in the root directory of the tileset it displays valid images.</div><div><br></div><div>Online documentation refers to a tile mode but does not explain how to configure the map file to support xyz.  </div><div><br></div><div>Bruce</div></div>
_______________________________________________<br>
MapServer-dev mailing list<br>
<a href="mailto:MapServer-dev@lists.osgeo.org" target="_blank">MapServer-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Richard W. Greenwood<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</blockquote></div>