<pre>>Thanks a lot for taking you time to explain.<br>><br>>So if  Postgis actually not limit only to the simple-feature model the<br>>ST_IsValid,<br>>what kinds of geometries are InValid in PostGIS terms?<br>
><br>>So does this make my example non-compliant with OGC SFA? I'm not<br>>topology expert and asking for the practical reasons, the software<br>>that claims to be OGC-compliant cannot import such data correctly. If<br>
>such structures are indeed not covered by OGC SFA then I cannot do<br>>anything, if they are allowed, than this is a software issue and it is<br>>in fact not compliant.<br></pre><br>You can use the ST_IsSimple to know if a geometry is simple-feature.<br>
<br>If true it is simple-feature.<br><br>After, if you geometry is ST_IsSimpe = true,<br>you can test with ST_IsValid , to detect eventually invalidity for geometry.<br><br>So you can detect if it is a simple-feature valid geometry.<br>
<br clear="all">Andrea.<br><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br><br>