[Mapserver-users] dynamic point generation with php-mapscript

Van Ulden, Joost jvanulde at nrcan.gc.ca
Fri Apr 4 12:36:34 EST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2FAD0.BCE48670
Content-Type: text/plain;
	charset="iso-8859-1"

Actually, I would have to defer that to the group... I have not done it
myself.
 
Cheers,
 
Joost

-----Original Message-----
From: Paul Dymecki [mailto:millardymecki at sympatico.ca]
Sent: Thursday, April 03, 2003 7:50 PM
To: Van Ulden, Joost; 'Dan Barron'; MapServer List (E-mail)
Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript


Joost,
     Do you have a way of querying a dynamic point?  I'm assumeing not since
there is no associated dbf file.  In case a query is needed i guess adding
to a shape file would be needed?
thx,
Paul

----- Original Message ----- 
From: Van Ulden,  <mailto:jvanulde at nrcan.gc.ca> Joost 
To: 'Dan Barron' <mailto:dbarron at ddive.com>  ; Paul Dymecki
<mailto:millardymecki at sympatico.ca>  ; MapServer List (E-mail)
<mailto:mapserver-users at lists.gis.umn.edu>  
Sent: Thursday, April 03, 2003 1:52 PM
Subject: RE: [Mapserver-users] dynamic point generation with php-mapscript

Hello Paul, I have attached a template where I do just what you asked for.
Please contact me if you have any questions.
 
Regards,
 
Joost van Ulden

-----Original Message-----
From: Dan Barron [mailto:dbarron at ddive.com]
Sent: Thursday, April 03, 2003 8:45 AM
To: Paul Dymecki; MapServer List (E-mail)
Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript


You can create a dummy point layer in your map file, then in php query the
database for your points, create new point objects using ms_newPointObj(),
set the XY coordinates, and draw the point on the layer.  If you want some
specific code examples, I can send along snippet.

Dan

At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote:


Content-Transfer-Encoding: 7bit

Hi,
I was wondering if anyone would know some good examples of generateing
dynamic points with php mapscript?  Ie just pulling from points from a
database and displaying them without a shape file?
any hints would be apprcited,
thanks,
Paul


------_=_NextPart_001_01C2FAD0.BCE48670
Content-Type: text/html;
	charset="iso-8859-1"

<!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.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=771233517-04042003><FONT face=Arial color=#0000ff 
size=2>Actually, I would have to defer that to the group... I have not done it 
myself.</FONT></SPAN></DIV>
<DIV><SPAN class=771233517-04042003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=771233517-04042003><FONT face=Arial color=#0000ff 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=771233517-04042003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=771233517-04042003><FONT face=Arial color=#0000ff 
size=2>Joost</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Paul Dymecki 
  [mailto:millardymecki at sympatico.ca]<BR><B>Sent:</B> Thursday, April 03, 2003 
  7:50 PM<BR><B>To:</B> Van Ulden, Joost; 'Dan Barron'; MapServer List 
  (E-mail)<BR><B>Subject:</B> Re: [Mapserver-users] dynamic point generation 
  with php-mapscript<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Joost,</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; Do you have a way of 
  querying a dynamic point?&nbsp; I'm assumeing not since there is no associated 
  dbf file.&nbsp; In case a query is needed i guess adding to a shape file would 
  be needed?</FONT></DIV>
  <DIV><FONT face=Arial size=2>thx,</FONT></DIV>
  <DIV><FONT face=Arial size=2>Paul</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 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=jvanulde at nrcan.gc.ca href="mailto:jvanulde at nrcan.gc.ca">Van Ulden, 
    Joost</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=dbarron at ddive.com 
    href="mailto:dbarron at ddive.com">'Dan Barron'</A> ; <A 
    title=millardymecki at sympatico.ca 
    href="mailto:millardymecki at sympatico.ca">Paul Dymecki</A> ; <A 
    title=mapserver-users at lists.gis.umn.edu 
    href="mailto:mapserver-users at lists.gis.umn.edu">MapServer List (E-mail)</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, April 03, 2003 1:52 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] dynamic 
    point generation with php-mapscript</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=545215118-03042003><FONT face=Arial color=#0000ff 
    size=2>Hello Paul, I have attached a template where I do just what you asked 
    for.&nbsp; Please contact me if you have any questions.</FONT></SPAN></DIV>
    <DIV><SPAN class=545215118-03042003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=545215118-03042003><FONT face=Arial color=#0000ff 
    size=2>Regards,</FONT></SPAN></DIV>
    <DIV><SPAN class=545215118-03042003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=545215118-03042003><FONT face=Arial color=#0000ff 
    size=2>Joost van Ulden</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> Dan Barron 
      [mailto:dbarron at ddive.com]<BR><B>Sent:</B> Thursday, April 03, 2003 8:45 
      AM<BR><B>To:</B> Paul Dymecki; MapServer List (E-mail)<BR><B>Subject:</B> 
      Re: [Mapserver-users] dynamic point generation with 
      php-mapscript<BR><BR></FONT></DIV>You can create a dummy point layer in 
      your map file, then in php query the database for your points, create new 
      point objects using ms_newPointObj(), set the XY coordinates, and draw the 
      point on the layer.&nbsp; If you want some specific code examples, I can 
      send along snippet.<BR><BR>Dan<BR><BR>At 11:07 AM 4/3/2003 -0500, Paul 
      Dymecki wrote:<BR>
      <BLOCKQUOTE class=cite cite="" type="cite">Content-Transfer-Encoding: 
        7bit<BR><BR><FONT face=arial size=2>Hi,</FONT><BR><FONT face=arial 
        size=2>I was wondering if anyone would know some good examples of 
        generateing dynamic points with php mapscript?&nbsp; Ie just pulling 
        from points from a database and displaying them without a shape 
        file?</FONT><BR><FONT face=arial size=2>any hints would be 
        apprcited,</FONT><BR><FONT face=arial size=2>thanks,</FONT><BR><FONT 
        face=arial 
size=2>Paul</FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2FAD0.BCE48670--



More information about the mapserver-users mailing list