wkt-geom-0.0.12: A parser of WKT, WKB and eWKB.
Safe HaskellNone
LanguageHaskell2010

Data.Ewkb

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).