<!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.2800.1543" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2>Hi all....</FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2>View my build proyects, in 
CHILE... with MapServer and Postgis... and more functions... is very goods. 
</FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2>LINK....</FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2><A 
href="http://datum.siigsa.cl">http://datum.siigsa.cl</A></FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2>the very important is ... 
the data catografics, is in repository "geo-datawarehouse".... postgres 
7.4.8.... size 4,6 GB now.&nbsp; AND model relational&nbsp;oriented a objects 
data,</FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2>after suscribe in the site 
and upload your shape, and contents.</FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2>bye.</FONT></DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="MS Sans Serif" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV>-- </DIV>
<DIV>&nbsp;</DIV>
<DIV>Patricio Cifuentes Ithal<BR>Ingeniero en Informática</DIV>
<DIV>&nbsp;</DIV>
<DIV>Informática<BR>SIIGSA<BR>(56-2) 204 60 22</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=dark.peony@GMAIL.COM href="mailto:dark.peony@GMAIL.COM">d c</A> 
</DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=MAPSERVER-USERS@lists.umn.edu 
  href="mailto:MAPSERVER-USERS@lists.umn.edu">MAPSERVER-USERS@lists.umn.edu</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 05, 2006 1:57 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS] drawing a 
  point in MapScript</DIV>
  <DIV><BR></DIV>Hi,<BR><BR>I'm having a problem with rendering a point with 
  PHP&nbsp; Mapscript.<BR>I'm wondering what I'm&nbsp; doing wrong.&nbsp;&nbsp; 
  I'm&nbsp; trying to&nbsp; simulate the <BR>following Mapfile code (which works 
  well in Mapfile mode):<BR><BR>LAYER&nbsp; <BR>&nbsp;&nbsp;&nbsp; TYPE POINT 
  <BR>&nbsp;&nbsp;&nbsp; STATUS DEFAULT <BR>&nbsp;&nbsp;&nbsp; &nbsp; FEATURE 
  <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; POINTS&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; -64.4333333 -64.7833333&nbsp;&nbsp; 
  <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END <BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; TEXT "HELLO WORLD" <BR>&nbsp;&nbsp;&nbsp; END 
  <BR>&nbsp;&nbsp;&nbsp; CLASS <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 
  255 0 0&nbsp; <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SYMBOL 'cross' 
  <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABEL <BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE bitmap <BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; END <BR>&nbsp;&nbsp;&nbsp; END <BR>&nbsp;&nbsp;&nbsp; 
  TOLERANCE 5 <BR>&nbsp;&nbsp;&nbsp; PROJECTION <BR>&nbsp;&nbsp; "proj=latlong" 
  <BR>&nbsp;&nbsp; "datum=WGS84" <BR>&nbsp;&nbsp;&nbsp; END <BR>END 
  <BR><BR><BR>/********* PHP CODE ***********/<BR><BR>$map = 
  ms_newMapObj("Ant.map");<BR>&nbsp; <BR>&nbsp; $layer = 
  ms_newLayerObj($map);<BR>&nbsp; $layer-&gt;name = 'point';<BR>&nbsp; 
  $layer-&gt;type = MS_LAYER_POINT;<BR>&nbsp; $layer-&gt;status = MS_DEFAULT; 
  <BR>&nbsp; $layer-&gt;setProjection("proj=latlong,datum=WGS84");<BR><BR>&nbsp; 
  $pt = ms_newPointObj();<BR>&nbsp; 
  $pt-&gt;setXY(-64.4333333,-64.7833333);<BR>&nbsp; $ln = 
  ms_newLineObj();<BR>&nbsp; $ln-&gt;add($pt);<BR>&nbsp; <BR>&nbsp; $shp = 
  ms_newShapeObj(MS_SHAPE_POINT); <BR>&nbsp; $shp-&gt;text = 'HELLO 
  WORLD';<BR>&nbsp; $shp-&gt;add($ln);<BR>&nbsp; <BR>&nbsp; 
  $layer-&gt;addFeature($shp);<BR><BR><BR>&nbsp; $class1 = 
  ms_newClassObj($layer); &nbsp;<BR>&nbsp; $class1-&gt;name = 
  'pointclass';<BR>&nbsp; $class1-&gt;label-&gt;type = MS_BITMAP; <BR>&nbsp; 
  $class1-&gt;label-&gt;color-&gt;setRGB(255,0,0);<BR>&nbsp; 
  $class1-&gt;label-&gt;set('position',MS_AUTO);<BR>&nbsp; $class1-&gt;status = 
  MS_ON;<BR>&nbsp; $class1-&gt;settext = 'HELLO WORLD';<BR>&nbsp; <BR>&nbsp; 
  <BR>&nbsp; $style = ms_newStyleObj($class1); <BR>&nbsp; $style-&gt;symbolname 
  = 'cross';<BR>&nbsp; $style-&gt;color-&gt;setRGB(255,0,0); <BR>&nbsp; 
  $style-&gt;size = 10;<BR>&nbsp; 
  $style-&gt;outlinecolor-&gt;setRGB(255,255,255);<BR>&nbsp; 
  <BR>&nbsp;&nbsp;&nbsp; &nbsp;<BR>&nbsp; $image=$map-&gt;draw();<BR>&nbsp; 
  <BR>&nbsp; $image-&gt;saveImage('C:/ms4w/Apache/htdocs/tmp/'.$image_name); 
  <BR><BR>I'm followig (except for the projection bit) the code proposed 
  in<BR>Beginning Mapserver and a tutorial I found on the Net. The code<BR>seems 
  identical.<BR><BR>What am I doing wrong? 
<BR><BR>Dan<BR></BLOCKQUOTE></BODY></HTML>