Returns TRUE if the geometry is well formed.
1 geo.isValid
<geo.isValid>
<geom_column /> *
</geo.isValid>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Egeom_column | geometry |
Example
Copy
<select> <columns> <geo.isWktValid>a.the_geom</geo.isWktValid>, -- TRUE <geo.isValid ora_iswkt='y'> <geo.asWkt> <geo.polygon> <coords>0 0,0 1,1 1,1 0,0 0</coords> <srid>4326</srid> </geo.polygon> </geo.asWkt> </geo.isWktValid>, -- FALSE <geo.isValid> <geo.polygon> <coords>0 0,0 1,1 1,1 0,23 0</coords> <srid>4326</srid> </geo.polygon> </geo.isValid>, </columns> <from table='dual' alias='a' /> </select>