Package org.bremersee.geojson
Class GeoJsonFeatureCollection
- java.lang.Object
-
- org.bremersee.common.model.UnknownAware
-
- org.bremersee.geojson.AbstractGeoJsonFeatureCollection<GeoJsonFeature>
-
- org.bremersee.geojson.GeoJsonFeatureCollection
-
- All Implemented Interfaces:
Serializable
public class GeoJsonFeatureCollection extends AbstractGeoJsonFeatureCollection<GeoJsonFeature> implements Serializable
A GeoJSON object with the typeFeatureCollectionis a feature collection object (see rfc7946 section 3.3).- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoJsonFeatureCollection()Default constructor.GeoJsonFeatureCollection(Collection<? extends GeoJsonFeature> features, boolean calculateBounds)Constructs a GeoJSON feature collection with the specified parameters.
-
Method Summary
-
Methods inherited from class org.bremersee.geojson.AbstractGeoJsonFeatureCollection
equals, getBbox, getFeatures, hashCode, setBbox, setFeatures, toString
-
-
-
-
Constructor Detail
-
GeoJsonFeatureCollection
public GeoJsonFeatureCollection()
Default constructor.
-
GeoJsonFeatureCollection
public GeoJsonFeatureCollection(Collection<? extends GeoJsonFeature> features, boolean calculateBounds)
Constructs a GeoJSON feature collection with the specified parameters.- Parameters:
features- the GeoJSON features of the collectioncalculateBounds- iftruethe bounding box will be calculated otherwise the bounding box will benull
-
-