public class GriddedPointGenerator extends PointFeatureSource
GriddedPointGenerator
creates point features from a
set of co-located Grid
objects. The user selects an
area of interest, and the generator converts all data values in
that area into point features whose earth locations are derived
from the grids' earth transform and whose attributes are the data
values at the grid point.area, featureList
Constructor and Description |
---|
GriddedPointGenerator(Grid[] gridArray,
EarthTransform2D trans)
Creates a new generator.
|
Modifier and Type | Method and Description |
---|---|
protected void |
select()
Selects a set of features from the data source based on the
current area.
|
render, render
getArea, getAttributeCount, getAttributeNameMap, getAttributes, getFilter, iterator, select, setAttributes, setFilter
public GriddedPointGenerator(Grid[] gridArray, EarthTransform2D trans)
gridArray
- the array of grids to use for data, each of the
same dimensions and earth transform.trans
- the earth transform for the grids.protected void select() throws java.io.IOException
AbstractFeatureSource
select
in class AbstractFeatureSource
java.io.IOException
- if an error occurred accessing the data source.