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

Subject: Re: [xsl] Do you have XSLT code that solves the Point-in-a-Polygon problem?
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 9 Dec 2020 00:11:50 -0000
On Tue, Dec 8, 2020 at 11:30 PM Roger L Costello costello@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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

Current Thread