Re: Function? How to find if xy values are within a coordinates of polygon?

From: Date: Wed, 11 Jul 2001 22:01:56 +0000
Subject: Re: Function? How to find if xy values are within a coordinates of polygon?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57502@lists.php.net to get a copy of this message
"Sed" <sed@sed.is> wrote in message news:009301c10a46$3db4eba0$0100a8c0@mamma... > I'm making a map (image) which you can click on and the script finds the > area-code based on where you click on the map. > > Before I spend time on writing my own code to find if xy values are > within a certain coordinates of a polygon, do you know of any build in > function to do it? I have browsed lightly through the PHP-manual but not > found any. http://www.google.com/search?sourceid=navclient&q=point+inside+polygon #1 match is http://www.dfanning.com/tips/point_in_polygon.html -- Lasse

« previous php.general (#57502) next »