<!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.7652.24">
<TITLE>Data Plotted at Wrong Location</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Hi,</FONT><FONT FACE="Times New Roman"> </FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">I wish to plot several points in Ontario, Canada, but the problem is that the points are plotted at the wrong location. My data are in decimal degree stored in a CSV </FONT><FONT COLOR="#000000" SIZE=2 FACE="Arial">file. But when the map was draw, all the points are plotted very closed together. I suspect that for some reason, the map-server is plotting the data as meter/or any other unit instead of degree decimal.</FONT></SPAN></P>
<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">I used this PROJECTION in</FONT> <FONT FACE="Times New Roman">both my top-level MAP and proper layer, with UNITS METERS:<BR>
</FONT><FONT SIZE=2 FACE="Arial">PROJECTION</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">"init=epsg:42304"</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">END</FONT><FONT FACE="Times New Roman"> </FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">I added this for the /usr/local/share/proj/epsg file because it wasn't there after I installed the Projection Library:</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial"><42304> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=49 +lon_0=-95 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <></FONT></SPAN></P>
<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Is it enough to simple add the above epsg code???</FONT><BR>
<FONT FACE="Times New Roman">Changing</FONT> <FONT SIZE=2 FACE="Arial">UNITS METERS to UNITS DD in my map file doesn't help either.</FONT><FONT FACE="Times New Roman"> </FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Here are some sample DATA:</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<img.GIF>> </FONT></SPAN>
<BR><SPAN LANG="en-ca"><B><FONT COLOR="#000000" SIZE=2 FACE="Arial">Desc,,X,Y</FONT></B><BR>
<FONT COLOR="#000000" SIZE=2 FACE="Arial">"5",79.725833,43.715361<BR>
"6",81.000107,43.368512<BR>
"7",-78.347276,44.301459<BR>
"8",,81.332038,48.47381<BR>
"9",79.68955,43.4662</FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT COLOR="#000000" FACE="Times New Roman">...</FONT><BR>
<FONT SIZE=2 FACE="Arial">"AAAAAAAAAAAAAAAAAAAAAAaaaaaa19",0,200000</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">"AAAAAAAAAAAAAAAAAAAAAAaaaaaa20",0,220000</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">"AAAAAAAAAAAAAAAAAAAAAAaaaaaa21",0,240000</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">"AAAAAAAAAAAAAAAAAAAAAAaaaaaa30",0,300000</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">"AAAAAAAAAAAAAAAAAAAAAAaaaaaa31",10000,300000</FONT><FONT FACE="Times New Roman"> </FONT></SPAN>
</P>
<P><SPAN LANG="en-ca"><FONT FACE="Times New Roman">This is what I see when I type ./mapserv -v</FONT></SPAN>
<BR><SPAN LANG="en-ca"><FONT FACE="Times New Roman">MapServer version 4.10.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG</FONT></SPAN></P>
<P><SPAN LANG="en-ca"><FONT SIZE=2 FACE="Arial">Any help is much appreciated</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">Thanks</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">Toan</FONT> </SPAN>
</P>
</BODY>
</HTML>