mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Adds geom_from_wkb and geom_to_wkb, which mirror the existing geom_from_wkt/geom_to_wkt functions but for WKB representations of geometries. Since QGIS 3.6 we've had good support for binary blob values in expressions and field values, so adding these functions allows users to work with binary blob fields containing WKB representations of geometries (e.g. with a geometry generator showing the encoded geometries)
9 lines
336 B
Plaintext
9 lines
336 B
Plaintext
{
|
|
"name": "geom_to_wkb",
|
|
"type": "function",
|
|
"description": "Returns the Well-Known Binary (WKB) representation of a geometry as a binary blob.",
|
|
"arguments": [ {"arg":"geometry","description":"a geometry"}],
|
|
"examples": [ { "expression":"geom_to_wkb( $geometry )", "returns":"binary blob containing a geometry object"}
|
|
]
|
|
}
|