<html st="" repl="http://schemas.microsoft.com/repl/" ss="urn:schemas-microsoft-com:office:spreadsheet" z="urn:schemas-microsoft-com:" sp="http://schemas.microsoft.com/sharepoint/" x="urn:schemas-microsoft-com:office:excel" w="urn:schemas-microsoft-com:office:word" xsi="http://www.w3.org/2001/XMLSchema-instance" v="urn:schemas-microsoft-com:vml" xmlns="http://www.w3.org/TR/REC-html40" s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xsd="http://www.w3.org/2001/XMLSchema" q="http://schemas.xmlsoap.org/soap/envelope/" p="urn:schemas-microsoft-com:office:powerpoint" o="urn:schemas-microsoft-com:office:office" oa="urn:schemas-microsoft-com:office:activation" m="http://schemas.microsoft.com/office/2004/12/omml" wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" d="DAV:" c="urn:schemas-microsoft-com:office:component:spreadsheet" pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" b="urn:schemas-microsoft-com:office:publisher" a="urn:schemas-microsoft-com:office:access" rs="urn:schemas-microsoft-com:rowset" rtc="http://microsoft.com/officenet/conferencing" x2="http://schemas.microsoft.com/office/excel/2003/xml" dsss="http://schemas.microsoft.com/office/2006/digsig-setup" dsp="http://schemas.microsoft.com/sharepoint/dsp" ex12t="http://schemas.microsoft.com/exchange/services/2006/types" dir="http://schemas.microsoft.com/sharepoint/soap/directory/" dssi="http://schemas.microsoft.com/office/2006/digsig" spwp="http://microsoft.com/sharepoint/webpartpages" sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" udc="http://schemas.microsoft.com/data/udc" udcxf="http://schemas.microsoft.com/data/udc/xmlfile" ois="http://schemas.microsoft.com/sharepoint/soap/ois/" udcp2p="http://schemas.microsoft.com/data/udc/parttopart" sps="http://schemas.microsoft.com/sharepoint/soap/" ec="http://www.w3.org/2001/04/xmlenc#" dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" ds="http://www.w3.org/2000/09/xmldsig#" mrels="http://schemas.openxmlformats.org/package/2006/relationships" odc="urn:schemas-microsoft-com:office:odc" mver="http://schemas.openxmlformats.org/markup-compatibility/2006" ppda="http://www.passport.com/NameSpace.xsd" udcs="http://schemas.microsoft.com/data/udc/soap" html="http://www.w3.org/TR/REC-html40">
<head>
<style type="text/css">
<!--
li.msonormal { margin-top: 0in; margin-left: 0in; margin-right: 0in; margin-bottom: .0001pt; font-family: Times New Roman,serif; font-size: 12.0pt }
span.emailstyle18 { color: #1F497D; font-family: Calibri,sans-serif }
span.emailstyle17 { color: black; font-family: Arial,sans-serif }
a:visited { color: purple; text-decoration: underline }
span.msohyperlink { color: blue; text-decoration: underline }
span.msohyperlinkfollowed { color: purple; text-decoration: underline }
p.msonormal { margin-top: 0in; margin-left: 0in; margin-right: 0in; margin-bottom: .0001pt; font-family: Times New Roman,serif; font-size: 12.0pt }
a:link { color: blue; text-decoration: underline }
.MsoChpDefault { font-size: 10.0pt }
div.msonormal { margin-top: 0in; margin-left: 0in; margin-right: 0in; margin-bottom: .0001pt; font-family: Times New Roman,serif; font-size: 12.0pt }
-->
</style>
</head>
<body vlink="purple" lang="EN-US" link="blue" style="margin-top: 4px; font-variant: normal; margin-left: 4px; margin-right: 4px; margin-bottom: 1px; line-height: normal">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">Geomoose (</font><u><a href="http://www.geomoose.org/)"><i><font size="3" color="#0000ff" face="Comic Sans MS">http://www.geomoose.org/)</font></i></a></u><font face="Comic Sans MS" size="3"> which is built on top of the OpenLayers LIBs, can also handle the drawing functions. This demo :</font><u><a href="http://www.geomoose.org/demo/geomoose2-webmercator/geomoose.html"><i><font size="3" color="#0000ff" face="Comic Sans MS">http://www.geomoose.org/demo/geomoose2-webmercator/geomoose.html</font></i></a></u><font face="Comic Sans MS" size="3"></font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">Look in the "Sketch Tools" pulldown list.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<br> <br><br>
<p style="margin-bottom: 0; margin-top: 0">
<br>
<br>
>>> "Fawcett, David (MPCA)" <David.Fawcett@state.mn.us> wrote:<br> </p>
<table bgcolor="#f3f3f3" style="margin-top: 0; margin-left: 15px; margin-right: 0; margin-bottom: 0; font-size: 1em" border="0">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<div class="WordSection1">
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif">You might want to look at OpenLayers. <a href="http://www.openlayers.org">www.openlayers.org</a><o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT"></o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif"><o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT">
</o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif">Here is a basic example that allows you to draw some vector features and then select them by drawing a box.<o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT"></o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<a href="http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-feature.html"><SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif">http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-feature.html</span></SPAN></a><SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif"><o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT"></o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif"><o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT">
</o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif">David.<o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT"></o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-SIZE:"11.0pt" ;COLOR:"#1F497D" ;FONT-FAMILY:"Calibri,sans-serif"'><span style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif"><o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt" p="#DEFAULT">
</o style="color: #1F497D; font-family: Calibri,sans-serif; font-size: 11.0pt"></span></SPAN> </p>
<div>
<div style="padding-left: 0in; padding-top: 3.0pt; border-top: solid #B5C4DF 1.0pt; border: none; padding-right: 0in; padding-bottom: 0in">
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-FAMILY:"Tahoma,sans-serif" ;FONT-SIZE:"10.0pt"'><b><span style="font-family: Tahoma,sans-serif; font-size: 10.0pt">From:</span></b><span style="font-family: Tahoma,sans-serif; font-size: 10.0pt"> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Bistrais, Bob<br style="font-size: 10.0pt; font-family: Tahoma,sans-serif"><b>Sent:</b> Thursday, February 17, 2011 8:18 AM<br style="font-size: 10.0pt; font-family: Tahoma,sans-serif"><b>To:</b> mapserver-users<br style="font-size: 10.0pt; font-family: Tahoma,sans-serif"><b>Subject:</b> [mapserver-users] polygon tool<o style="font-size: 10.0pt; font-family: Tahoma,sans-serif" p="#DEFAULT"></o style="font-size: 10.0pt; font-family: Tahoma,sans-serif"></span></SPAN> </p>
</div>
</div>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<o p="#DEFAULT">
</o> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-FAMILY:"Arial,sans-serif" ;FONT-SIZE:"11.0pt"'><span style="font-family: Arial,sans-serif; font-size: 11.0pt">I am trying to create a polygon tool with PHP MapScript and JavaScript. I’d like to allow the user to draw a polygon which will eventually be used to select map features. This kind of thing probably has been done before. Can anyone direct me to some code samples?<o style="font-size: 11.0pt; font-family: Arial,sans-serif" p="#DEFAULT"></o style="font-size: 11.0pt; font-family: Arial,sans-serif"></span></SPAN> </p>
<p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
<SPAN STYLE='FONT-FAMILY:"Arial,sans-serif" ;FONT-SIZE:"11.0pt"'><span style="font-family: Arial,sans-serif; font-size: 11.0pt"><o style="font-size: 11.0pt; font-family: Arial,sans-serif" p="#DEFAULT">
</o style="font-size: 11.0pt; font-family: Arial,sans-serif"></span></SPAN>
</p>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>