Difference between revisions of "Geo Module"

From BaseX Documentation
Jump to navigation Jump to search
Line 10: Line 10:
 
|-
 
|-
 
| '''Summary'''
 
| '''Summary'''
| returns the dimension of given geometry  {{Code|$geometry}}.
+
| Returns the dimension of given geometry  {{Code|$geometry}}.
 
|-
 
|-
 
| '''Errors'''
 
| '''Errors'''
Line 19: Line 19:
  
 
==geo:geometryType==
 
==geo:geometryType==
 +
{| width='100%'
 
|-
 
|-
{| width='100%'
 
 
| width='90' | '''Signatures'''
 
| width='90' | '''Signatures'''
|{{Func|geo:geometryType|$geometry as node()|xs:QName()*}}
+
|{{Func|geo:geometryType|$geometry as node()|xs:QName()?}}
 
|-
 
|-
 
| '''Summary'''
 
| '''Summary'''

Revision as of 21:13, 30 December 2012

Geo Module adds the support of ExPath Geo Module to BaseX. Based on JTS, GML 2 queris are parsed and evaluated to show in the BaseX frontend.

Functions

geo:dimension

Signatures geo:dimension($geometry as node()) as xs:integer()*
Summary Returns the dimension of given geometry $geometry.
Errors
Examples


geo:geometryType

Signatures geo:geometryType($geometry as node()) as xs:QName()?
Summary Returns the name of the geometry type of given geometry $geometry.
Errors
Examples