<div dir="ltr"><div>Are you sure that it&#39;s finding and using the correct epsg file? You could specify the full path to an epsg file in either the mapfile or the apache conf, or paste the proj parameters into the PROJ block in the mapfile and do away wit the epsg file completely. <br>
<br></div>Rich<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 1, 2014 at 9:47 AM, Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I&#39;m trying to run down a mapserver projection issue that is starting to<br>
look like it might be the version of proj4. Sorry for the cross posting.<br>
<br>
Situation:<br>
<br>
I&#39;m upgrading my server from Debian Lenny to Ubuntu 12.04 LTS and world<br>
maps on the Ubuntu system projected to Spherical Mercator are messed up<br>
and worked fine on Debian. I get the same issue using mapserver 6.2.1 or<br>
5.6.8 and the big difference other than the OS and packages is that<br>
Ubuntu is using proj4-4.8.0 and the older Debian system is using proj4-4.6.0<br>
<br>
Is this a known issue? I can make the data mapfile available if that helps.<br>
<br>
System details below.<br>
<br>
Any help would be appreciated.<br>
<br>
Thanks,<br>
   -Steve<br>
<br>
Ubuntu system:<br>
<br>
<a href="http://imaptools.com:8080/cgi-bin/mapserv?MAP=%2Fu%2Fdata%2Fworld%2Fworld.map&amp;FORMAT=image%2Fpng&amp;LAYERS=World_WMS&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A900913&amp;BBOX=-27395030.9325,-21524667.16125,27395030.9325,21524667.16125&amp;WIDTH=700&amp;HEIGHT=550" target="_blank">http://imaptools.com:8080/cgi-bin/mapserv?MAP=%2Fu%2Fdata%2Fworld%2Fworld.map&amp;FORMAT=image%2Fpng&amp;LAYERS=World_WMS&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A900913&amp;BBOX=-27395030.9325,-21524667.16125,27395030.9325,21524667.16125&amp;WIDTH=700&amp;HEIGHT=550</a><br>

<br>
/u/www/cgi-bin/mapserv -v<br>
MapServer version 6.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ<br>
SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO<br>
SUPPORTS=SVG_SYMBOLS SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER<br>
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT<br>
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI<br>
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR<br>
INPUT=GDAL INPUT=SHAPEFILE<br>
<br>
libproj-dev/precise uptodate 4.8.0-3~precise2<br>
libproj0/precise uptodate 4.8.0-3~precise2<br>
proj-bin/precise uptodate 4.8.0-3~precise2<br>
proj-data/precise uptodate 4.8.0-3~precise2<br>
<br>
# Spherical Mercator projection<br>
&lt;900913&gt; +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0<br>
+x_0=0.0 +y_0=0 +k=1.0 +units=m +over +nadgrids=@null +no_defs  &lt;&gt;<br>
<br>
<br>
cgi-mapserver/precise uptodate 6.2.1-2~precise3<br>
libmapserver/precise uptodate 6.2.1-2~precise3<br>
mapserver-bin/precise uptodate 6.2.1-2~precise3<br>
<br>
Linux mappy 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06<br>
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
I also get the same result from:<br>
<br>
/u/www/cgi-bin/mapserv-56 -v<br>
MapServer version 5.6.8 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV<br>
SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT<br>
SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL<br>
INPUT=SHAPEFILE<br>
<br>
which was built from source also using the libproj packages above.<br>
<br>
Debian Lenny system:<br>
<br>
<a href="http://gis.imaptools.com/cgi-bin/mapserv-6.2?MAP=%2Fu%2Fdata%2Fworld%2Fworld.map&amp;FORMAT=image%2Fpng&amp;LAYERS=World_WMS&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A900913&amp;BBOX=-27395030.9325,-21524667.16125,27395030.9325,21524667.16125&amp;WIDTH=700&amp;HEIGHT=550" target="_blank">http://gis.imaptools.com/cgi-bin/mapserv-6.2?MAP=%2Fu%2Fdata%2Fworld%2Fworld.map&amp;FORMAT=image%2Fpng&amp;LAYERS=World_WMS&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A900913&amp;BBOX=-27395030.9325,-21524667.16125,27395030.9325,21524667.16125&amp;WIDTH=700&amp;HEIGHT=550</a><br>

<br>
proj/lenny uptodate 4.6.0-2<br>
<br>
# Spherical Mercator - Google<br>
&lt;900913&gt; +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0<br>
+x_0=0.0 +y_0=0 +k=1.0 +units=m +over +nadgrids=@null +no_defs  &lt;&gt;<br>
<br>
<br>
Linux <a href="http://gis.leaddog.com" target="_blank">gis.leaddog.com</a> 2.6.32-042stab081.8 #1 SMP Wed Oct 23 16:32:28 MSK<br>
2013 x86_64 GNU/Linux<br>
<br>
I built mapserver from source and I also get the same result from<br>
mapserver-5.6.8 built from source.<br>
<br>
_______________________________________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Richard Greenwood<br><a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a><br><a href="http://www.greenwoodmap.com">www.greenwoodmap.com</a>
</div>