This may sound like some ones homework but its really an
question I have.
Imagine you had a square plot of land. You could assign this to a
create a two dimensional graph with an X and Y-axis. Now imagine an
square plot that's a wildlife sanctuary. Now you fly a camera drone
outer plot and photograph all the pelicans nesting there. So your
the outer plot and the inner sanctuary plot. Now you digitize the photo,
enabling you to turn the pelicans into points on the X & Y graph.
take these X & Y points and either put them in a serial file or a
Now you want to filter the data, going through the X, Y pairs, and
only those within the boundaries of the inner sanctuary plot. If you
do that you could count the pelicans, now represented by X, Y
your database, within the sanctuary.
Say the outer plot is X = 20 and Y = 20. And the inner plot goes from
4 to 7
on the X axis and from 6 to 9 on the Y axis.
If you were reading your data into a BASIC program, you could use
If (X > = 4 AND X < = 7) AND (Y > = 6 AND Y < = 9) THEN Count = Count
This would look in the inner sanctuary boundaries, and if the data fell
within its boundaries, you'd increment a counter to count the pelicans.
This is great if the inner plot is rectangular. My question is, what
irregular like a kidney shaped swimming pool? What would the filter code
I'm not asking for you to solve the problem here for me. I'm asking
pointers to stuff on the web that may be applicable to this question.
must be a name for this problem but I really don't know what it is or
to start looking.
Any ideas appreciated.
View this message in context:
Sent from the Users mailing list archive at Nabble.com.