Name
isgeometry — Returns 1 if the argument is a geometry.
Synopsis
isgeometry
(
|
in
x
any
) ; |
Description
Returns 1 if the argument is a geometry.
Parameters
x
The geometry value.
Return Types
Returns int.
Examples
Example 24.147. Simple example
SQL>SELECT isgeometry(st_point(0, 52)); callret VARCHAR ___________________________ 1 No. of rows in result: 1 SQL>SPARQL SELECT ?m WHERE { ?m a <http://dbpedia.org/ontology/City> . FILTER (bif:isgeometry(?m) = 0) } LIMIT 10 m VARCHAR __________________________________________________ http://dbpedia.org/resource/Berg%2C_Upper_Bavaria http://dbpedia.org/resource/Grasbrunn http://dbpedia.org/resource/Putzbrunn http://dbpedia.org/resource/Ottobrunn http://dbpedia.org/resource/Dietramszell http://dbpedia.org/resource/Prutting http://dbpedia.org/resource/Gauting http://dbpedia.org/resource/Lucerne http://dbpedia.org/resource/Hamburg http://dbpedia.org/resource/Bavaria No. of rows in result: 10