<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006>Good 
Day all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006>Im 
working on a graticule layer in a map file. All of the data included in the map 
are using the projection "epsg:42304". However mapserver doesnt seem to want to 
draw the graticule layer with this projection. Within my layer definition in the 
map file I am under the impression that the following should 
work:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006>&nbsp; 
PROJECTION<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:42304"<BR>&nbsp; 
END</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>However, Mapserver hangs when I use that. It would seem 
that that the only way I can get a grid to be drawn is to use somthing like 
..</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>PROJECTION</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"proj=latlong"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"datum=NAD83"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>END</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>Perhaps I am missing a fundamental concept here? Why 
does the first block of code cause mapserver to hang? How can I make it work? 
Also, what are the acceptable parameters that can be specified with "proj=??". 
On examining the definition for espg 42304 in the espg file I notice that its 
defined as:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2>## NAD83 LCC for Canada</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2>&lt;42304&gt; +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 
+lat_2=77 +datum=NAD83 +units=m no_defs &lt;&gt;</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2>So I have tried to use the following, with out 
success:</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><FONT 
size=2>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>PROJECTION</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"proj=lcc"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"datum=NAD83"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ellps=GRS80"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>END</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>mapserver/php respond with the following errors when 
using the above code:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006><!--StartFragment -->&nbsp;<B>Warning</B>: [MapServer 
Error]: msProcessProjection(): conic lat_1 = -lat_2 in 
<B>\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php</B> on line 
<B>215</B><BR><BR><B>Warning</B>: Failed to open map file 
D:\cwfis2\htdocs/../map/cummhs_e.map in 
<B>\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php</B> on line 
<B>215</B><BR><!-- MapServer Projection Error: conic lat_1 = -lat_2 --><BR><B>Fatal 
error</B>: Call to a member function on a non-object in 
<B>\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML.widget.php</B> on 
line <B>115</B> </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006>I have 
poked around the mailing list archives and documentation, but am unable to find 
simmilar situations.&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=581065915-18012006>Any 
suggestions would be great!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006>Jeremy&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=581065915-18012006><STRONG></STRONG></SPAN></FONT>&nbsp;</DIV></DIV></FONT></SPAN></FONT></BODY></HTML>