So this proper projection you refer to would be the original projection of the data? eg in my case srs:28355<br><br><div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">Paul Spencer</b> &lt;<a href="mailto:pspencer@dmsolutions.ca">
pspencer@dmsolutions.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You need what is commonly referred to as EPSG:41001, defined as:
<br><br>&lt;41001&gt; +proj=tmerc +ellps=WGS84 +units=m +no_defs&nbsp;&nbsp;&lt;&gt;<br><br>To use this, add the above line to your &#39;epsg&#39; file and also add a<br>projection object to your map object:<br><br>PROJECTION<br>&quot;init=epsg:41001&quot;
<br>END<br><br>You will also need to make sure that every layer in your map file has<br>a proper projection so mapserver can reproject it correctly.<br><br>Cheers<br><br>Paul<br><br>On 8-Jul-07, at 9:44 PM, Bradley Mclain wrote:
<br><br>&gt; This is kind of hard to explain but what I want to do is use<br>&gt; Mapserver to project my data which is in the GDA94 projection as<br>&gt; shown below:<br>&gt;<br>&gt; &quot;# GDA94 / MGA zone 55<br>&gt; &lt;28355&gt; +proj=utm +zone=55 +south +ellps=GRS80
<br>&gt; +towgs84=0,0,0,0,0,0,0 +units=m +no_defs&nbsp;&nbsp;&lt;&gt;&quot;<br>&gt;<br>&gt; to a projection that will be able to be properly merged with Google<br>&gt; maps (using OpenLayers) which uses a projection something like the
<br>&gt; following:<br>&gt;<br>&gt; &quot;Update 4: Agreement frrom Melita Kennedy and David Burrows that<br>&gt; Google Maps and Virtual Earth use spherical equations for the<br>&gt; Mercator projection.&nbsp;&nbsp;The correct proj4&nbsp;&nbsp;settings are:
<br>&gt;<br>&gt; +proj=merc +latts=0 +lon0=0 +k=1.0 +x0=0 +y0=0<br>&gt; +a=6378137.0 +b=6378137.0 +units=m<br>&gt;<br>&gt; Note this is different than using the&nbsp;&nbsp;ellipsoidal equations which<br>&gt; would be:<br>&gt;<br>&gt; +proj=merc +latts=0 +lon0=0 +k=
1.0 +x0=0 +y0=0<br>&gt; +ellps=WGS84 +datum=WGS84 +units=m no_defs&quot;<br>&gt;<br>&gt; I believe that I need to use Mapserver to do this but I have no<br>&gt; idea how to go about it. Currently my Mapserver is running fine
<br>&gt; displaying the data correctly using the GDA94 projection except i<br>&gt; had to use a .vrt file to correctly align the raster image which<br>&gt; was slightly out of alignment. I have also set up and can call my
<br>&gt; Mapserver as a WMS (thought having issues with the WMS Layer<br>&gt; function in OpenLayers, just displays a white screen but I believe<br>&gt; that this is to do with projections)<br>&gt;<br>&gt; My Mapserver has been compiled with GD, GDAL, GEOS, PostGIS, PHP
<br>&gt; and proj4.<br>&gt;<br>&gt; In my mapfile I have defined each layer using &quot;init=epsg:28355&quot; as<br>&gt; well as globally defining the map using the same projection.<br>&gt;<br>&gt; This reason I am trying to do this is because currently I don&#39;t
<br>&gt; think that my projection can be properly imported into OpenLayers<br>&gt; and merged with Google Maps.<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Brad<br><br>+-----------------------------------------------------------------+
<br>|Paul Spencer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&nbsp;&nbsp;&nbsp;&nbsp;|<br>+-----------------------------------------------------------------+<br>|Chief Technology Officer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
<br>|DM Solutions Group Inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a> |<br>+-----------------------------------------------------------------+<br><br><br><br><br><br></blockquote></div>
<br>