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:
  1. Position: Contains three values: latitude (required), longitude (required), and elevation (optional).
  2. Line String: Contains two or more positions.
  3. 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.