We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
asbinary
astext
1 parent 49a4d11 commit 7af21e4Copy full SHA for 7af21e4
src/interface.jl
@@ -469,3 +469,17 @@ Convert `geom` into the `CustomGeom` type if both geom as the CustomGeom package
469
have implemented GeoInterface.
470
"""
471
convert(T, geom) = convert(T, geomtype(geom), geom)
472
+
473
+"""
474
+ astext(geom) -> WKT
475
476
+Convert `geom` into Well Known Text (WKT) representation, such as `POINT (30 10)`.
477
478
+astext(geom) = astext(geomtype(geom), geom)
479
480
481
+ asbinary(geom) -> WKB
482
483
+Convert `geom` into Well Known Binary (WKB) representation, such as `000000000140000000000000004010000000000000`.
484
485
+asbinary(geom) = asbinary(geomtype(geom), geom)
0 commit comments