[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Do you have XSLT code that solves the Point-in-a-
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|