Package | Description |
---|---|
org.geotools.grid | |
org.geotools.grid.hexagon | |
org.geotools.grid.oblong | |
org.geotools.grid.ortholine |
Modifier and Type | Class and Description |
---|---|
class |
DefaultGridFeatureBuilder
A basic implementation of
GridFeatureBuilder which will create a SimpleFeatureType having two properties:
element - TYPE Polygon
id - TYPE Integer
The attribute names can also be referred to using DEFAULT_GEOMETRY_ATTRIBUTE_NAME and DefaultGridFeatureBuilder.ID_ATTRIBUTE_NAME
Grid elements will be assigned sequential id values starting with 1. |
Modifier and Type | Method and Description |
---|---|
boolean |
PolygonBuilder.buildGrid(GridFeatureBuilder gridFeatureBuilder,
double vertexSpacing,
ListFeatureCollection fc) |
static SimpleFeatureSource |
Grids.createHexagonalGrid(ReferencedEnvelope bounds,
double sideLen,
double vertexSpacing,
GridFeatureBuilder builder)
Creates a vector grid of hexagonal elements represented by 'densified' polygons.
|
static SimpleFeatureSource |
Lines.createOrthoLines(ReferencedEnvelope bounds,
Collection<OrthoLineDef> lineDefs,
double vertexSpacing,
GridFeatureBuilder lineFeatureBuilder)
Creates a grid of ortho-lines.
|
static SimpleFeatureSource |
Grids.createSquareGrid(ReferencedEnvelope bounds,
double sideLen,
double vertexSpacing,
GridFeatureBuilder builder)
Creates a vector grid of square elements represented by 'densified' polygons.
|
Modifier and Type | Method and Description |
---|---|
static SimpleFeatureSource |
Hexagons.createGrid(ReferencedEnvelope bounds,
double sideLen,
double vertexSpacing,
HexagonOrientation orientation,
GridFeatureBuilder gridFeatureBuilder)
Creates a new grid of tesselated hexagons within a bounding rectangle with grid elements
represented by densified polygons (ie. additional vertices added to each edge).
|
static SimpleFeatureSource |
Hexagons.createGrid(ReferencedEnvelope bounds,
double sideLen,
HexagonOrientation orientation,
GridFeatureBuilder gridBuilder)
Creates a new grid of tesselated hexagons within a bounding rectangle with grid elements
represented by simple (ie. undensified) polygons.
|
Modifier and Type | Method and Description |
---|---|
static SimpleFeatureSource |
Oblongs.createGrid(ReferencedEnvelope bounds,
double width,
double height,
double vertexSpacing,
GridFeatureBuilder gridFeatureBuilder)
Creates a new grid of oblongs within a bounding rectangle with grid elements represented by
densified polygons (ie. additional vertices added to each edge).
|
static SimpleFeatureSource |
Oblongs.createGrid(ReferencedEnvelope bounds,
double width,
double height,
GridFeatureBuilder gridBuilder)
Creates a new grid of oblongs within a bounding rectangle with grid elements represented by
simple (ie. undensified) polygons.
|
Modifier and Type | Class and Description |
---|---|
class |
OrthoLineFeatureBuilder
A basic implementation of
LineFeatureBuilder which will create a SimpleFeatureType having two properties:
element - TYPE LineString
id - TYPE Integer
The attribute names can also be referred to using LineFeatureBuilder#DEFAULT_GEOMETRY_ATTRIBUTE_NAME and OrthoLineFeatureBuilder.ID_ATTRIBUTE_NAME
Line elements will be assigned sequential id values starting with 1. |
Modifier and Type | Method and Description |
---|---|
void |
OrthoLineBuilder.buildGrid(Collection<OrthoLineDef> lineDefs,
GridFeatureBuilder lineFeatureBuilder,
double vertexSpacing,
ListFeatureCollection fc)
Creates line features according to the provided
OrthoLineDef objects and places them
into the provided ListFeatureCollection . |
Copyright © 1996–2019 Geotools. All rights reserved.