[postgis-users] GEOS touches() problem

Paul Ramsey pramsey at refractions.net
Sat Oct 6 08:43:44 PDT 2007


Check the validity of your inputs with IsValid(). Invalid geometries  
can cause failures in the predicates.
P

On 6-Oct-07, at 6:01 AM, caij at lreis.ac.cn wrote:

> Hi all!
>      Today,I used the function touches() and i came across a  
> problem.It throws an error!
>      NOTICE: TopologyException:side location conflict(x,y,z)
>     and SQL QUERY is like this:
>     select astext(wkb_geometry),ogc_fid from (select  
> ogc_fid,wkb_geometry from daxing where wkb_geometry && (select  
> wkb_geometry from daxing where ogc_fid=23658 ) and (level=6) or  
> (level>6 and isleaf=1) or (level>6 and child_level<6 )) as temprec  
> where touches(wkb_geometry,(select wkb_geometry from daxing where  
> ogc_fid=23658))
>      Expect for ur help!
>      Waiting for u all!
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list