[mapserver-dev] can mapserver serve xyz

Bruce Clay bclay1297 at gmail.com
Wed Nov 10 06:05:14 PST 2021


Can mapserver serve xyz (mapbox or others) type tiles?

If I try to add a xyz layer in qgis using
http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&MODE=tile&TILEMODE=gmap&LAYERS=bluemarble/{z}/{x}/{y}.png
I always get a black set of tiles

if i query
http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&MODE=tile&TILEMODE=gmap&TILE=0+0+0&LAYERS=bluemarble
I get a black tile

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.

if I click on the openlayers.html file in the root directory of the tileset
it displays valid images.

Online documentation refers to a tile mode but does not explain how to
configure the map file to support xyz.

Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20211110/a708bb47/attachment.html>


More information about the MapServer-dev mailing list