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 ABuilderinstance is the only was to create aBoundingBoxinstance.GeoCircle Defines a GeoJSON circle by the center point, radius, and radius units.GeoCircle.Builder Builder class used to create GeoJSON circle instance.GeoCollection A collection of GeoJSON objects of different types.GeoCollection.Builder Builder class used to create GeoJSON collection instance.GeoEllipse Defines a GeoJSON ellipse by the center point, major and minor axes, and degrees of rotation with axis units and rotation units.GeoEllipse.Builder Builder class used to create GeoJSON ellipse instance.GeoLineString Array of two or more positions.GeoLineString.Builder Builder used to createGeoLineStringinstance.GeoMultiLineString Contains zero or more GeoJSON line strings.GeoMultiLineString.Builder Builder class used to create GeoJSON multi-line string instances.GeoMultiPoint ContainsPositionarray which may be empty.GeoMultiPoint.Builder Builder class used to createGeoMultiPointinstances.GeoMultiPolygon Contains zero or more GeoJSON polygons.GeoMultiPolygon.Builder Builder class used to create GeoJSON multi-polygon instances.GeoObject Base class for all GeoJSON elements.GeoObject.GeoBuilder<F extends GeoObject,B extends GeoObject.GeoBuilder<F,?>> Base class for all GeoJSON object builders.GeoPoint Contains a single GeoJSONposition.GeoPoint.Builder Builder class used to createGeoPointinstances.GeoPolygon A polygon is one or more linear rings and a linear ring is aLineStringmeeting the following constraints: Has four or more closed positions.GeoPolygon.Builder Builder class used to createGeoPolygoninstances.LineString Contains two or morePositions used to define a "line".LineString.Builder Builder class used to createLineStringinstances.Position A position is the fundamental geometry construct.Position.Builder Positioninstances may be created only by using aBuilderinstance. -
Enum Summary Enum Description GeoObject.GeoType Enumerates GeoJSON geo-spatial data types.