spatialite-sys 0.2.0

Low-level bindings to the SpatiaLite SQLite geospatial extension
Documentation
1
2
3
4
5
6
7
asbinary
:memory: #use in-memory database
SELECT Hex(AsBinary(GeomFromText("Point(1 2)", 4326)))
1 # rows (not including the header row)
1 # columns
Hex(AsBinary(GeomFromText("Point(1 2)", 4326)))
0101000000000000000000F03F0000000000000040