[Mapserver-users] OT: Point in Poly

Lowther, David W dlowther@ou.edu
Fri, 7 Mar 2003 14:29:37 -0600


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_01C2E4E8.45DD1EA0
Content-Type: text/plain

Hi List,

I am looking for point in poly code. Specifically, I would like to pass a
point, and a poly to a routine and return whether the point is inside or
outside the polygon and how far from the polygon the point is. If its in,
then how far inside, if its out, then how far outside.
 
Can anyone point me in the right direction to locate the pieces of this?

Thanks,

David Lowther
Software Engineer
GEO Information Systems
University of Oklahoma
dlowther@ou.edu
(405) 325-3131
http://www.geo.ou.edu <http://www.geo.ou.edu> 




------_=_NextPart_001_01C2E4E8.45DD1EA0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>OT: Point in Poly </TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi List,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am looking for point in poly code. =
Specifically, I would like to pass a point, and a poly to a routine and =
return whether the point is inside or outside the polygon and how far =
from the polygon the point is. If its in, then how far inside, if its =
out, then how far outside.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Can anyone point me in the right =
direction to locate the pieces of this?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">David Lowther</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Software Engineer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">GEO Information Systems</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">University of Oklahoma</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">dlowther@ou.edu</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(405) 325-3131</FONT>
<BR><A HREF=3D"http://www.geo.ou.edu"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Arial">http://www.geo.ou.edu</FONT></U></A>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C2E4E8.45DD1EA0--
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users