<div dir="ltr">You should probably first get it sorted with gdalinfo before messing with mapserv. So you're doing gdalinfo on exactly the same file on your old and new systems and getting those results? What version of gdal on the two? Use "gdalinfo --version" and what type of file is it? Does it have an accompanying world file? If so, what happens if you hide the world file?<div><br></div><div>Regarding your inline projection definitions in your map file, they are canceling each other out. The definition at the "top" of your file is the projection that your map fill be served out in. The definition within a LAYER block tells mapserv what projection that layer is in. So if the layer is different than the map, then mapserv will transform it, but if they are the same then mapserv does no transformation.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 8:07 AM, Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.] <span dir="ltr"><<a href="mailto:matthew.f.cechini@nasa.gov" target="_blank">matthew.f.cechini@nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0)">
<div style="font-size:14px;font-family:Calibri,sans-serif">Once upon a time we were able to request GeoTIFF imagery through mapserver and have gdalinfo report the following as the coordinate system:</div>
<div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><font face="Consolas" style="font-size:12px">PROJCS["unnamed",</font></div>
<div><font face="Consolas" style="font-size:12px">    GEOGCS["WGS 84",</font></div>
<div><font face="Consolas" style="font-size:12px">        DATUM["WGS_1984",</font></div>
<div><font face="Consolas" style="font-size:12px">            SPHEROID["WGS 84",6378137,298.257223563,</font></div>
<div><font face="Consolas" style="font-size:12px">                AUTHORITY["EPSG","7030"]],</font></div>
<div><font face="Consolas" style="font-size:12px">            AUTHORITY["EPSG","6326"]],</font></div>
<div><font face="Consolas" style="font-size:12px">        PRIMEM["Greenwich",0],</font></div>
<div><font face="Consolas" style="font-size:12px">        UNIT["degree",0.<wbr>0174532925199433],</font></div>
<div><font face="Consolas" style="font-size:12px">        AUTHORITY["EPSG","4326"]],</font></div>
<div><font face="Consolas" style="font-size:12px">    PROJECTION["Polar_<wbr>Stereographic"],</font></div>
<div><font face="Consolas" style="font-size:12px">    PARAMETER["latitude_of_origin"<wbr>,70],</font></div>
<div><font face="Consolas" style="font-size:12px">    PARAMETER["central_meridian",-<wbr>45],</font></div>
<div><font face="Consolas" style="font-size:12px">    PARAMETER["scale_factor",1],</font></div>
<div><font face="Consolas" style="font-size:12px">    PARAMETER["false_easting",0],</font></div>
<div><font face="Consolas" style="font-size:12px">    PARAMETER["false_northing",0],</font></div>
<div><font face="Consolas" style="font-size:12px">    UNIT["metre",1,</font></div>
<div><font face="Consolas" style="font-size:12px">        AUTHORITY["EPSG","9001"]]]</font></div>
</blockquote>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">We’ve since changed to a new environment and version of mapserver (7.0.1 on Centos), and cannot get back to this capability. We now see this, which is the CS for the source imagery:</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">LOCAL_CS["WGS 84 / NSIDC Sea Ice Polar Stereographic North",</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    GEOGCS["WGS 84",</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">        DATUM["WGS_1984",</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">            SPHEROID["WGS 84",6378137,298.257223563,</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">                AUTHORITY["EPSG","7030"]],</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">            AUTHORITY["EPSG","6326"]],</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">        PRIMEM["Greenwich",0],</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">        UNIT["degree",0.<wbr>0174532925199433],</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">        AUTHORITY["EPSG","4326"]],</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    AUTHORITY["EPSG","3413"],</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    UNIT["metre",1]]</font></span></p>
</blockquote>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">I’ve tried to override it by adding the following PROJECTION definition at the top of our mapfile as well as in the relevant LAYER, but that doesn’t seem to do the trick.</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">  PROJECTION</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "proj=stere"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "lat_0=90"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "lat_ts=70"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "lon_0=-45"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "k=1"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "x_0=0"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "y_0=0"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "ellps=WGS84"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "datum=WGS84"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "units=m"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">    "no_defs"</font></span></p>
<p style="margin:0px;line-height:normal;background-color:rgb(255,255,255)">
<span style="font-variant-ligatures:no-common-ligatures;font-size:12px"><font face="Consolas">  END</font></span></p>
</blockquote>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">Thoughts?</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">Thanks,</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">Matt</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">
<div>..............................<wbr>..............................<wbr>.....</div>
<div><span class="m_-2533842353526687982Apple-style-span" style="font-family:'Lucida Grande'"><span style="font-size:11pt">Matthew Cechini</span></span></div>
<div><span style="font-size:13px;font-family:'Lucida Grande'">Contractor, Science Systems and Applications, Inc.</span></div>
<div><span style="font-size:10pt;font-family:'Lucida Grande'">NASA GIBS Systems/Software Engineer</span></div>
<div><span class="m_-2533842353526687982Apple-style-span" style="font-family:'Lucida Grande'"><font size="2"><span style="font-size:10pt"><a href="tel:(410)%20205-6272" value="+14102056272" target="_blank">410.205.6272</a></span></font></span></div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.<wbr>org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/mapserver-<wbr>users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</div>