Drawing on a Grouped Image Object
Posted: Sat Mar 30, 2013 12:35 am
I'm developing a stack to calculate distances of foothill trails in satellite images. I'm using it to find the actual distances between geocaches in the undeveloped areas near where I live. I'm using a satellite image in a group so that I can have horizontal and vertical scrollbars since some of the images are quite large. I have the basics of the stack working fine except for one issue.
I have the satellite image in an image object and over that I'm placing another image object. This is so that I can draw line segments along the trails in the the sat image. The stack accumulates the lengths of the line segments and applies a scale factor base on the scale of the satellite image to derive a distance for the line segment.
With the sat image grouped, I can't find a way to access the image layer to draw the line segments. If I place an image object over the grouped sat image, I can draw the lines fine but if I scroll the sat image, the image that contains the line segments is no longer registered correctly. It doesn't move with the sat image. I can have the sat image and the line segment image in the group and they will move together properly when scrolled but I can't get at the line segment layer to draw the lines. Is there a way to draw lines (I'm using drag) on an image layer that's in a group?
I have the satellite image in an image object and over that I'm placing another image object. This is so that I can draw line segments along the trails in the the sat image. The stack accumulates the lengths of the line segments and applies a scale factor base on the scale of the satellite image to derive a distance for the line segment.
With the sat image grouped, I can't find a way to access the image layer to draw the line segments. If I place an image object over the grouped sat image, I can draw the lines fine but if I scroll the sat image, the image that contains the line segments is no longer registered correctly. It doesn't move with the sat image. I can have the sat image and the line segment image in the group and they will move together properly when scrolled but I can't get at the line segment layer to draw the lines. Is there a way to draw lines (I'm using drag) on an image layer that's in a group?