Package net.sf.eBusx.geo
This package defines
eBus message fields
implementing GeoJSON data types as defined in
GeoJSON specification..
These data types include three fundamental geometry
constructs:
-
Position
: Contains three values: latitude (required), longitude (required), and elevation (optional). -
Line String
: Contains two or more positions. -
Bounding Box
: Contains four postions: two latitudes and two longitudes.
The above types are used to create the following
GeoJSON complex types
:
-
GeoPoint
: Contains a single position. -
GeoMultiPoint
: Contains zero or more positions. -
GeoLineString
: Contains a single line string. -
GeoMultiLineString
: Contains zero or more line strings. -
GeoPolygon
: Contains at least one linear ring. A linear ring is a closed line string containing at least four positions.
GeoJSON types FeatureCollection
, Feature
,
MultiPolygon
, and GeometryCollection
are
not implemented.
For more information on each GeoJSON type please see the type's javadoc page.
-
Class Summary Class Description BoundingBox A bounding box (usually shortened to bbox) is an area defined by two longitudes and two latitudes, where: Latitude is a decimal number between -90.0 and 90.0.BoundingBox.Builder ABuilder
instance is the only was to create aBoundingBox
instance.GeoLineString Array of two or more positions.GeoLineString.Builder Builder used to createGeoLineString
instance.GeoMultiLineString Contains zero or more GeoJSON line strings.GeoMultiLineString.Builder Builder class used to create GeoJSON multi-line string instances.GeoMultiPoint ContainsPosition
array which may be empty.GeoMultiPoint.Builder Builder class used to createGeoMultiPoint
instances.GeoObject Base class for all GeoJSON elements.GeoObject.GeoBuilder<F extends GeoObject> Base class for all GeoJSON object builders.GeoPoint Contains a single GeoJSONposition
.GeoPoint.Builder Builder class used to createGeoPoint
instances.GeoPolygon A polygon is one or more linear rings and a linear ring is aLineString
meeting the following constraints: Has four or more closed positions.GeoPolygon.Builder Builder class used to createGeoPolygon
instances.LineString Contains two or morePosition
s used to define a "line".LineString.Builder Builder class used to createLineString
instances.Position A position is the fundamental geometry construct.Position.Builder Position
instances may be created only by using aBuilder
instance. -
Enum Summary Enum Description GeoObject.GeoType Enumerates GeoJSON geo-spatial data types.