<div dir="ltr"><div>Thanks Scott,</div><div><br></div><div>I tried that: md5sums on the GeoTiffs and diff on the .map files confirms that they are identical.</div><div><br></div><div>The only difference between these two systems is the version of Mapserver.</div><div><br></div><div>MapServer version 7.2.2 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE</div><div><br></div><div>MapServer version 7.6.4 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br></div><div><br></div><div>The newer version is provided via apt:</div><div>cgi-mapserver 7.6.4-2build2 amd64 CGI executable for MapServer</div><div><br></div><div>Any other leads?</div><div>Thanks!</div><div>Dylan</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2025 at 2:45 PM Scott via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</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">I would do a sanity check first, just to make sure the 2 raster files <br>
are truly the same. Try something like:<br>
<br>
gdalinfo -stats -hist file1.tif<br>
gdalinfo -stats -hist file2.tif<br>
<br>
Then, I would continue with the .map files, to make sure they are the <br>
same. Something like:<br>
<br>
diff serv1.map serv2.map<br>
<br>
See what falls out.<br>
<br>
On 1/9/25 13:10, Dylan Beaudette via MapServer-users wrote:<br>
> <br>
> Hi Everyone,<br>
> <br>
> I've got identical GeoTiffs and .map files on two servers with varying <br>
> versions of Mapserver that is being used as a TMS. Mapserver 7.2.2 is (I <br>
> think) correctly using the overviews while Mapserver 7.6.4 is not.<br>
> <br>
> Here is an example of the same file, tile, and styling applied across <br>
> both versions of Mapserver.<br>
> <br>
> # Mapserver 7.2.2:<br>
> <a href="https://soilmap2-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/" rel="noreferrer" target="_blank">https://soilmap2-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/</a> <br>
> ste/ <br>
> taxa.map&mode=tile&tilemode=gmap&tile=5+12+5&layer=blue9dylan&type=taxsubgrp&name=typic_xerofluvents&minvalue=5 <<a href="https://soilmap2-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/ste/taxa.map&mode=tile&tilemode=gmap&tile=5+12+5&layer=blue9dylan&type=taxsubgrp&name=typic_xerofluvents&minvalue=5" rel="noreferrer" target="_blank">https://soilmap2-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/ste/taxa.map&mode=tile&tilemode=gmap&tile=5+12+5&layer=blue9dylan&type=taxsubgrp&name=typic_xerofluvents&minvalue=5</a>><br>
> <br>
> Mapserver 7.6.4:<br>
> <a href="https://soilmap4-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/" rel="noreferrer" target="_blank">https://soilmap4-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/</a> <br>
> ste/ <br>
> taxa.map&mode=tile&tilemode=gmap&tile=5+12+5&layer=blue9dylan&type=taxsubgrp&name=typic_xerofluvents&minvalue=5 <<a href="https://soilmap4-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/ste/taxa.map&mode=tile&tilemode=gmap&tile=5+12+5&layer=blue9dylan&type=taxsubgrp&name=typic_xerofluvents&minvalue=5" rel="noreferrer" target="_blank">https://soilmap4-1.lawr.ucdavis.edu/cgi-bin/mapserv?map=/data1/website/ste/taxa.map&mode=tile&tilemode=gmap&tile=5+12+5&layer=blue9dylan&type=taxsubgrp&name=typic_xerofluvents&minvalue=5</a>><br>
> <br>
> It appears to me that the newer version is either ignoring or <br>
> interpreting the overviews differently. Each file has an internal tiling <br>
> and overview scheme like this:<br>
> <br>
> ----------------------------------------------------------------------------------<br>
> Band 1 Block=1766x4 Type=Byte, ColorInterp=Gray<br>
> NoData Value=0<br>
> Overviews: 883x1262, 442x631, 221x316, 111x158<br>
> ----------------------------------------------------------------------------------<br>
> <br>
> Does anyone have a clue about the differences? Is either version in error?<br>
> <br>
> Thanks, and good to be back on the mailing list after a nearly 15 year <br>
> hiatus!<br>
> Dylan<br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> MapServer-users mailing list<br>
> <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div></div>