Copyright | (C) 2014-2018 HS-GeoJSON Project |
---|---|
License | BSD-style (see the file LICENSE.md) |
Maintainer | Andrew Newman |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype GeoMultiPoint = GeoMultiPoint {}
- unGeoMultiPoint :: Iso' GeoMultiPoint [GeoPositionWithoutCRS]
- splitGeoMultiPoint :: GeoMultiPoint -> [GeoPoint]
- mergeGeoPoints :: [GeoPoint] -> GeoMultiPoint
Type
newtype GeoMultiPoint Source #
Instances
Eq GeoMultiPoint Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPoint (==) :: GeoMultiPoint -> GeoMultiPoint -> Bool # (/=) :: GeoMultiPoint -> GeoMultiPoint -> Bool # | |
Show GeoMultiPoint Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPoint showsPrec :: Int -> GeoMultiPoint -> ShowS # show :: GeoMultiPoint -> String # showList :: [GeoMultiPoint] -> ShowS # | |
ToJSON GeoMultiPoint Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPoint toJSON :: GeoMultiPoint -> Value # toEncoding :: GeoMultiPoint -> Encoding # toJSONList :: [GeoMultiPoint] -> Value # toEncodingList :: [GeoMultiPoint] -> Encoding # | |
FromJSON GeoMultiPoint Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPoint parseJSON :: Value -> Parser GeoMultiPoint # parseJSONList :: Value -> Parser [GeoMultiPoint] # |
Lenses
To Points
splitGeoMultiPoint :: GeoMultiPoint -> [GeoPoint] Source #
Split GeoMultiPoint coordinates into multiple GeoPoints
mergeGeoPoints :: [GeoPoint] -> GeoMultiPoint Source #
Merge multiple GeoPoints into one GeoMultiPoint