[Mapserver-users] dynamic point generation with php-mapscript
Dan Barron
dbarron at ddive.com
Thu Apr 3 08:45:16 PST 2003
--=====================_3691234==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
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
--=====================_3691234==.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<body>
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.<br><br>
Dan<br><br>
At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote:<br>
<blockquote type=cite class=cite 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? 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></body>
</html>
--=====================_3691234==.ALT--
More information about the MapServer-users
mailing list