[Proj] Data Plotted at Wrong Location

Tran, Toan (MCYS) Toan.Tran at ontario.ca
Mon Dec 10 08:32:00 PST 2007


Hi,

I wish to plot several points in Canada, but the problem is that the
points are plotted at the wrong location. My data are in decimal degree
stored in a CSV file. I am guessing that Map Server plots the points  in
meters instead of degree.

I used this in my map layer:
PROJECTION
   "init=epsg:42304"
END

I added this for epsg:
<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 <>

I try changing:
 - <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=dd +no_defs  no_defs <> ....
this causes a msProcessProjection(): Projection library error. unknown
unit conversion id error
 - UNITS METERS to UNITS DD in my map file, but that doesn't help.

Sample DATA:
 <<img.GIF>> 
"AAAAAAAAAAAAAAAAAAAAAAaaaaaa19",0,200000
"AAAAAAAAAAAAAAAAAAAAAAaaaaaa20",0,220000
"AAAAAAAAAAAAAAAAAAAAAAaaaaaa21",0,240000
"AAAAAAAAAAAAAAAAAAAAAAaaaaaa30",0,300000
"AAAAAAAAAAAAAAAAAAAAAAaaaaaa31",10000,300000


Any help is much appreciated
Thanks
Toan 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20071210/0bd7aeb1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.GIF
Type: image/gif
Size: 7516 bytes
Desc: img.GIF
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20071210/0bd7aeb1/attachment.gif>


More information about the Proj mailing list