Interesting idea - would be more flexible and powerful too. Still I'd rather do simple text based geometry as eventually this should be a CGI? This is the only one I've found so far - does my head in to look at it :) - Within Polygon Algorithm<http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html#The%20Method>