<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY 
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>G'day Ben,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>Normally, it looks for the "proj" directory on the root 
of the operating system drive. For example, in my case it looks for 
"C:\proj\nad\epsg"</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>You could change it by setting the PROJ_LIB environment 
variable, like so:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>CONFIG "PROJ_LIB" "C:/somedir/proj/nad/" (see <A 
href="http://mapserver.gis.umn.edu/docs/error/proj-nosuchfile">http://mapserver.gis.umn.edu/docs/error/proj-nosuchfile</A>)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>Hope that fixes it.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008>Jacob</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=105185101-04012008><!-- Converted from text/rtf format -->
<P><B><FONT face=Arial color=#009500>J</FONT><FONT face=Arial color=#009500 
size=1>ACOB</FONT> <FONT face=Arial color=#009500>D</FONT><FONT face=Arial 
color=#009500 size=1>ELFOS<BR></FONT><FONT face=Arial 
color=#009500>GIS</FONT><FONT face=Arial color=#009500 size=1></FONT> <FONT 
face=Arial color=#009500>A</FONT><FONT face=Arial color=#009500 
size=1>NALYST</FONT><BR></B><FONT face=Arial color=#000000 size=2>Maunsell 
Australia Pty Ltd<BR>629 Newcastle Street, Leederville, WA 6007</FONT> <BR><FONT 
face=Arial color=#000000 size=2>PO Box 81, Leederville, WA 6902</FONT> <BR><FONT 
face=Arial color=#000000 size=2>Western Australia</FONT> <BR><FONT face=Arial 
color=#000000 size=2>ABN 20 093 846 925<BR><BR>Tel &nbsp;&nbsp;&nbsp;&nbsp;+ 61 
8 9281 6185<BR>Fax&nbsp;&nbsp;&nbsp; + 61 8 9281 6297<BR></FONT><U><FONT 
face=Arial color=#009c21 size=2>jacob.delfos@maunsell.com</FONT></U> 
</P></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List 
  [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Ben 
  Madin<BR><B>Sent:</B> 3 January 2008 23:12<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] PROJ 
  support in MS 4.4.1 on IIS<BR></FONT><BR></DIV>
  <DIV></DIV>G'day all,
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>I am adding some functionality to system (Windows NT &nbsp;5.2 
  /&nbsp;Microsoft-IIS/6.0)&nbsp;on which I can change very little outside the 
  web tree. The system has php/mapscript 4.4.1 and SUPPORTS=PROJ.</DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>However, when I try :</DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>
  <DIV>$projInObj = ms_newprojectionobj("init=epsg:$from_proj");</DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>I get :</DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>
  <DIV style="MARGIN: 0px"><FONT style="FONT: 12px Arial" face=Arial 
  size=3><B>Fatal error</B>: [MapServer Error]: msProcessProjection(): No such 
  file or directory</FONT></DIV>
  <DIV style="MARGIN: 0px"><BR></DIV>
  <DIV style="MARGIN: 0px">I gather from docs etc this is probably a path error 
  to find the proj directory, which can either be moved to somewhere in the 
  path, or a path setting made, or a PROJ_LIB environment variable set.</DIV>
  <DIV style="MARGIN: 0px"><BR class=webkit-block-placeholder></DIV>
  <DIV style="MARGIN: 0px">Being an apache background myself, I was hoping 
  someone might know the most straightforward ways to:</DIV>
  <DIV style="MARGIN: 0px"><BR class=webkit-block-placeholder></DIV>
  <DIV style="MARGIN: 0px">a) find the proj directory, and&nbsp;</DIV>
  <DIV style="MARGIN: 0px"><BR class=webkit-block-placeholder></DIV>
  <DIV style="MARGIN: 0px">b) address the issue of mapscript not being able to 
  find it: can I use the config parameter without calling a map file? (I only 
  want to reproject points on this page?)</DIV>
  <DIV style="MARGIN: 0px"><BR class=webkit-block-placeholder></DIV>
  <DIV style="MARGIN: 0px">It is all working fine on the development machine, 
  using the ms4w 4.8 platform.</DIV>
  <DIV style="MARGIN: 0px"><BR></DIV></DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>Thanks In advance.</DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>cheers</DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV>Ben</DIV>
  <DIV><BR>
  <DIV><SPAN class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; khtml-text-decorations-in-effect: none; apple-text-size-adjust: auto; orphans: 2; widows: 2">
  <DIV style="MARGIN: 0px">--&nbsp;</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><BR></DIV>
  <DIV style="MARGIN: 0px">Ben Madin</DIV>
  <DIV style="MARGIN: 0px">REMOTE INFORMATION</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><BR></DIV>
  <DIV style="MARGIN: 0px">t : +61 8 9192 5455</DIV>
  <DIV style="MARGIN: 0px">f :&nbsp;+61 8 9192 5535</DIV>
  <DIV style="MARGIN: 0px">m : 0448 887 220</DIV>
  <DIV style="MARGIN: 0px">Broome&nbsp; &nbsp;WA&nbsp; &nbsp;6725</DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><BR></DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><A 
  href="mailto:ben@remoteinformation.com.au">ben@remoteinformation.com.au</A></DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><BR></DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><BR></DIV>
  <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px; FONT: 12px Helvetica"><BR></DIV>
  <DIV style="MARGIN: 0px"><SPAN class=Apple-tab-span 
  style="WHITE-SPACE: pre"><SPAN class=Apple-style-span 
  style="WHITE-SPACE: pre"></SPAN></SPAN>Out here, it pays to know...</DIV><BR 
  class=Apple-interchange-newline></SPAN></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000><pre>This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.</pre></font></td></tr></table>