Plain Language Code Description
First, a little description about the concept as I see it:
A number of randomly placed and directed transects are placed in a set of polygons, based on user specified transect density and transect length.
The random transect placement is executed by:
At this point, the script automatically places the transects:
Illustrated Sample Run
Here's an illustrated view of how this works. There are about 1.5 megabytes of images here, so please be patient:
Here's a sample set of bounding polygons (bounded in bright green), overlaid on the Glyndon airphoto moasic:
The user activates the script, using a button on the interface (currently
marked with a T). A menu item could also be used.
The script inquires which of the polygon themes loaded into the view is
the theme that defines the regions:
The script then inquires about the desired transect density (of length
per area). Currently this is being requested in metres/hectare, but could
easily be another unit:
The script then inquires about the desired length per transect. Since it
is unlikely that the ideal number of transects for a given polygon will be
a whole number, the number per polygon is currently rounded up (although
it can be rounded down or dealt with a variety of other possible
fashions):
With all the user specified parameters now entered, the script calculates
and places the transects.
Here's a view of all the transects (shown in bright pink) placed over the
sample bounding regions overlaid on the Glyndon airphoto mosaic:
Here's the same transects overlaid on the lower resolution digital
orthophoto:
Here's a closeup view of one transect overlaid on the Glyndon airphoto
mosaic:
Here's the same transect (100 metres long) overlaid on the low resolution
digital orthophoto, which is really uninterpretable this close in:
That's about it for now. I'll be getting started on the classifier tool
shortly.