<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Projection WGS84 in decimal degree </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have a set of WGS84 data points that come from GPS system in decimal degree</FONT> <FONT SIZE=2 FACE="Arial">longitude/latitude coordinates.</FONT>

<BR><FONT SIZE=2 FACE="Arial">I would like to display them with mapserver using a mapfile which already define several layers in Lambert II.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I did specified the global projection in the mapfile for Lambert II etendu :</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">PROJECTION</FONT><BR>
<FONT SIZE=2 FACE="Courier New">&quot;init=epsg:27582&quot;</FONT><BR>
<FONT SIZE=2 FACE="Courier New">END</FONT><BR>
<BR>
<FONT SIZE=2 FACE="Arial">The GPS LAYER describing the WGS84 data includes the projection definition for the WGS84 :</FONT>

<BR><FONT SIZE=2 FACE="Courier New">LAYER<BR>
&nbsp; NAME &quot;GPS&quot;<BR>
&nbsp; PROJECTION<BR>
&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<BR>
&nbsp; END<BR>
&nbsp; ...<BR>
END</FONT>

<BR><FONT SIZE=2 FACE="Arial">But points are not displayed at the right place (at about 200km far away)&nbsp; :-( </FONT>

<BR><FONT SIZE=2 FACE="Arial">Apparently, the 4326 epsg definition considers longitude/latitude coordinates in Degree/Minute/Second, while my data are in Decimal Degrees.</FONT><BR>
<BR>
<FONT SIZE=2 FACE="Arial">So I tried to specify the following in the GPS layer :<BR>
</FONT><BR>
<FONT SIZE=2 FACE="Courier New">PROJECTION</FONT><BR>
<FONT SIZE=2 FACE="Courier New">&quot;proj=longlat&quot;</FONT><BR>
<FONT SIZE=2 FACE="Courier New">&quot;ellps=WGS84&quot;</FONT><BR>
<FONT SIZE=2 FACE="Courier New">&quot;datum=WGS84&quot;</FONT><BR>
<FONT SIZE=2 FACE="Courier New">&quot;units=dd&quot;</FONT><BR>
<FONT SIZE=2 FACE="Courier New">END</FONT><BR>
<BR>
<BR>
<FONT SIZE=2 FACE="Arial">but mapserver returns: &quot;Error in msProcessProjection(): unknown unit conversion id&quot; </FONT>

<BR><FONT SIZE=2 FACE="Arial">The prog -lu command doesn't list the &quot;dd&quot; unit...</FONT>

<BR><FONT SIZE=2 FACE="Arial">How to display longlat data in Decimal Degree under Mapserver?<BR>
</FONT><BR>
<FONT SIZE=2 FACE="Arial">Regards</FONT>

<BR><FONT SIZE=2 FACE="Arial">FP</FONT>
</P>

</BODY>
</HTML>