| Copyright | (C) 2014-2018 HS-GeoJSON Project |
|---|---|
| License | BSD-style (see the file LICENSE.md) |
| Maintainer | Andrew Newman |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Geospatial.Internal.GeoFeatureCollection
Description
See Section 2.3 Feature Collection Objects of the GeoJSON spec
- data GeoFeatureCollection a = GeoFeatureCollection {}
- boundingbox :: forall a. Lens' (GeoFeatureCollection a) (Maybe BoundingBoxWithoutCRS)
- geofeatures :: forall a a. Lens (GeoFeatureCollection a) (GeoFeatureCollection a) [GeoFeature a] [GeoFeature a]
Types
data GeoFeatureCollection a Source #
See Section 2.3 Feature Collection Objects of the GeoJSON spec
Constructors
| GeoFeatureCollection | |
Fields | |
Instances
| Eq a => Eq (GeoFeatureCollection a) Source # | |
| Show a => Show (GeoFeatureCollection a) Source # | |
| ToJSON a => ToJSON (GeoFeatureCollection a) Source # | Encode FeatureCollection objects to GeoJSON |
| FromJSON a => FromJSON (GeoFeatureCollection a) Source # | Decode FeatureCollection objects from GeoJSON |
Lenses
boundingbox :: forall a. Lens' (GeoFeatureCollection a) (Maybe BoundingBoxWithoutCRS) Source #
geofeatures :: forall a a. Lens (GeoFeatureCollection a) (GeoFeatureCollection a) [GeoFeature a] [GeoFeature a] Source #