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 GeoMultiLine = GeoMultiLine {}
- unGeoMultiLine :: Iso' GeoMultiLine [LineString GeoPositionWithoutCRS]
- splitGeoMultiLine :: GeoMultiLine -> [GeoLine]
- mergeGeoLines :: [GeoLine] -> GeoMultiLine
Type
newtype GeoMultiLine Source #
Instances
Eq GeoMultiLine Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiLine (==) :: GeoMultiLine -> GeoMultiLine -> Bool # (/=) :: GeoMultiLine -> GeoMultiLine -> Bool # | |
Show GeoMultiLine Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiLine showsPrec :: Int -> GeoMultiLine -> ShowS # show :: GeoMultiLine -> String # showList :: [GeoMultiLine] -> ShowS # | |
ToJSON GeoMultiLine Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiLine toJSON :: GeoMultiLine -> Value # toEncoding :: GeoMultiLine -> Encoding # toJSONList :: [GeoMultiLine] -> Value # toEncodingList :: [GeoMultiLine] -> Encoding # | |
FromJSON GeoMultiLine Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiLine parseJSON :: Value -> Parser GeoMultiLine # parseJSONList :: Value -> Parser [GeoMultiLine] # |
Lenses
To Points
splitGeoMultiLine :: GeoMultiLine -> [GeoLine] Source #
Split GeoMultiLine coordinates into multiple GeoLines
mergeGeoLines :: [GeoLine] -> GeoMultiLine Source #
Merge multiple GeoLines into one GeoMultiLine