Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
parseByteString :: ByteString -> Either String GeospatialGeometry Source #
Representation of EWKB as Binary
parseHexByteString :: Hex -> Either String GeospatialGeometry Source #
Representation of EWKB as a String in Base16/Hex form i.e. "0101000000000000000000f03f0000000000000040" is POINT 1.0 2.0
toByteString :: EndianType -> SridType -> GeospatialGeometry -> ByteString Source #
Produce the binary representation of EWKB given its EndianType (Little or Big - Intel is Little) and SRID (4326 for example).