| Package | Description |
|---|---|
| gov.usgs.earthquake.nshmp.geo.json |
Helper classes for generating and working with GeoJson.
|
| Modifier and Type | Method and Description |
|---|---|
Feature.Builder |
Feature.Builder.bbox(double[] bbox)
Set the optional
bbox (bounding box) field of this feature. |
Feature.Builder |
Feature.Builder.id(int id)
Set the optional
id field of this feature as an integer. |
Feature.Builder |
Feature.Builder.id(String id)
Set the optional
id field of this feature as a string. |
static Feature.Builder |
Feature.lineString(LocationList line)
Create a single-use line string feature builder.
|
static Feature.Builder |
Feature.point(Location location)
Create a single-use point feature builder.
|
static Feature.Builder |
Feature.polygon(LocationList exterior,
LocationList... interiors)
Create a single-use polygon feature builder.
|
Feature.Builder |
Feature.Builder.properties(Map<String,?> properties)
Set the properties of this feature.
|