Re: Do you have XSLT code that solves the Point-in-a-Polygon problem?

"Mukul Gandhi [email protected]" <[email protected]> Wed, 9 Dec 2020 00:12:01 -0000
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
On Tue, Dec 8, 2020 at 11:30 PM Roger L Costello [email protected] <
[email protected]> wrote:

> The Point-in-a-Polygon problem is this:
>
> Given:  v = a lat/long value
>         p = a series of (lat,long) pairs representing a polygon
>
> Determine if v is within p.
>
> Question: Do you have XSLT code which solves the Point-in-a-Polygon
> problem?
>

There are couple of algorithms written in C, described here
http://www.eecs.umich.edu/courses/eecs380/HANDOUTS/PROJ2/InsidePoly.html. I
guess, one should be able to adapt these to XSLT.




-- 
Regards,
Mukul Gandhi
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386
or by email: [email protected]
--~--