Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

{
"name": "relate",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["GeometryGroup"],
"description": "Tests the Dimensional Extended 9 Intersection Model (DE-9IM) representation of the relationship between two geometries.",
2022-01-13 08:56:17 -05:00
"variants": [{
"variant": "Relationship variant",
"variant_description": "Returns the Dimensional Extended 9 Intersection Model (DE-9IM) representation of the relationship between two geometries.",
"arguments": [{
"arg": "geometry",
"description": "a geometry"
}, {
"arg": "geometry",
"description": "a geometry"
}],
"examples": [{
"expression": "relate( geom_from_wkt( 'LINESTRING(40 40,120 120)' ), geom_from_wkt( 'LINESTRING(40 40,60 120)' ) )",
"returns": "'FF1F00102'"
}]
}, {
"variant": "Pattern match variant",
"variant_description": "Tests whether the DE-9IM relationship between two geometries matches a specified pattern.",
"arguments": [{
"arg": "geometry",
"description": "a geometry"
}, {
"arg": "geometry",
"description": "a geometry"
}, {
"arg": "pattern",
"description": "DE-9IM pattern to match"
}],
"examples": [{
"expression": "relate( geom_from_wkt( 'LINESTRING(40 40,120 120)' ), geom_from_wkt( 'LINESTRING(40 40,60 120)' ), '**1F001**' )",
2022-04-02 12:53:28 +02:00
"returns": "TRUE"
2022-01-13 08:56:17 -05:00
}]
}],
"tags": ["dimensional", "relationship", "extended", "intersection", "representation", "model", "tests"]
}