On 11/09/2010, at 2:35 AM, P Kishor wrote: >> accuracy. The point-in-poly approach seems to get tripped by and >> ignore vertical and horizontal lines. Karl's and my both naive and >> not-so solutions produce identical results as they are all >> point-in-poly approaches.
I am not sure I understand this comment. It's worked for me. >> >> See the attached images. The black lines make the irregular poly, the >> dark orange are the selected elements, the light orange elements are >> those that should have also been selected but were skipped. No vertical or horizontal lines here? I think the difference between the two sets of selected pixels may relate to convention as to where the centre of the pixel is. I would test with point sets, not pixels. Karl _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
