mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
10 lines
601 B
Plaintext
10 lines
601 B
Plaintext
|
{
|
||
|
"function": "crosses",
|
||
|
"description": "Tests whether a geometry crosses another. Returns true if the supplied geometries have some, but not all, interior points in common.",
|
||
|
"arguments": [ {"arg":"geometry a","description":"a geometry"},
|
||
|
{"arg":"geometry b","description":"a geometry"}],
|
||
|
"examples": [ { "expression":"crosses( geom_from_wkt( 'LINESTRING(3 5, 4 4, 5 3)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ) )", "returns":"true"},
|
||
|
{ "expression":"crosses( geom_from_wkt( 'POINT(4 5)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ) )", "returns":"false"}
|
||
|
]
|
||
|
}
|