Difference between revisions of "Geo Module"

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

Revision as of 21:10, 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