
ShowLocations |
util.ShowLocations |
This actor takes a set of points and plots them on a map.
It uses the ImageJ macro system
(see http://rsb.info.nih.gov/ij/ for information
on the ImageJ system for image processing).
The 'map' is any image raster file that ImageJ can display.
Point coordinates are mapped to image file raster pixels by specifying
the x and y values of the upper left corner of the image and a
multiplicative scale factor.
The points are given in the input text file (specified by a file name).
A single point location is given per line with the x and y values separated
by any a space or a tab.
Author(s): Dan Higgins - NCEAS
Version:
fileOrURL
The file name or URL of the background map/image.
x,y locations will be plotted on top of this image
This is a string with
any form accepted by File Attribute.
macroString
The ImageJ macro to execute. Note that if the expression "_FILE_" is
included in this string, it is replaced by the fileOrUrl parameter
string, enabling the insertion of the input image file.
x and y data in the input file will replace "_XPOINTS_" and "_YPOINTS_"
X_upperleft
The x-value of upper left corner of image (for scaling)
Y_upperleft
The y-value of upper left corner of image (for scaling)
scale_factor
The scale factor. If (x,y) is the input location of a point, it is
plotted at the pixel nearest to (x-pos, y-pos) where
x-pos = ((x-X_upperleft)*scale_factor
y-pos = ((x-Y_upperleft)*scale_factor