geos.GEOSRelate ⇒ StringPointer
⏏
Calculate the DE9IM string for this geometry pair. The result is a 9-character string containing dimension symbols in the set "012F".
Kind: global property of geos
Returns: StringPointer
- DE9IM string. Caller is responsible for freeing with GEOSFree(). NULL on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | First geometry in pair |
g2 | GEOSGeometry | Second geometry in pair |
geos.GEOSRelateBoundaryNodeRule ⇒ StringPointer
⏏
Calculate the DE9IM string for this geometry pair, using the supplied GEOSRelateBoundaryNodeRules.
Kind: global property of geos
Returns: StringPointer
- DE9IM string. Caller is responsible for freeing with GEOSFree(). NULL on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | First geometry in pair |
g2 | GEOSGeometry | Second geometry in pair |
bnr | number | A member of the GEOSRelateBoundaryNodeRules enum |
geos.GEOSRelateBoundaryNodeRule_r ⇒ StringPointer
⏏
Calculate the DE9IM string for this geometry pair, using the supplied GEOSRelateBoundaryNodeRules.
Kind: global property of geos
Returns: StringPointer
- DE9IM string. Caller is responsible for freeing with GEOSFree(). NULL on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | First geometry in pair |
g2 | GEOSGeometry | Second geometry in pair |
bnr | number | A member of the GEOSRelateBoundaryNodeRules enum |
geos.GEOSRelatePattern ⇒ number
⏏
Calculate the DE9IM string for a geometry pair and compare against a DE9IM pattern. Returns true if the computed matrix matches the pattern. The pattern is a 9-character string containing symbols in the set "012TF*". "012F" match the corresponding dimension symbol; "T" matches any non-empty dimension; "*" matches any dimension.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | First geometry in pair |
g2 | GEOSGeometry | Second geometry in pair |
imPattern | StringPointer | DE9IM pattern to match |
geos.GEOSRelatePatternMatch ⇒ number
⏏
Compare a DE9IM string to a pattern and return true if they are consistent.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
intMatrix | StringPointer | DE9IM string (contains symbols "012F") |
imPattern | StringPointer | Pattern to match to (may also contain symbols "T" and "*") |
geos.GEOSRelatePatternMatch_r ⇒ number
⏏
Compare a DE9IM string to a pattern and return true if they are consistent.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
intMatrix | StringPointer | DE9IM string (contains symbols "012F") |
imPattern | StringPointer | Pattern to match to (may also contain symbols "T" and "*") |
geos.GEOSRelatePattern_r ⇒ number
⏏
Calculate the DE9IM string for a geometry pair and compare against a DE9IM pattern. Returns true if the computed matrix matches the pattern. The pattern is a 9-character string containing symbols in the set "012TF*". "012F" match the corresponding dimension symbol; "T" matches any non-empty dimension; "*" matches any dimension.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | First geometry in pair |
g2 | GEOSGeometry | Second geometry in pair |
imPattern | StringPointer | DE9IM pattern to match |
geos.GEOSRelate_r ⇒ StringPointer
⏏
Calculate the DE9IM string for this geometry pair. The result is a 9-character string containing dimension symbols in the set "012F".
Kind: global property of geos
Returns: StringPointer
- DE9IM string. Caller is responsible for freeing with GEOSFree(). NULL on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | First geometry in pair |
g2 | GEOSGeometry | Second geometry in pair |