Justin Deoliveira wrote:
> I am working on creating a new sql encoder for postgis based on geoapi
> interfaces only. I would like to maintain all the behavior of the old
> encoder as well. One thing I have come across that is puzzling me is
> encoding of a "Disjoint" filter.
>
> Instead of calling the "Disjoint" postgis function like many of the
> other spatial filters do, it calls "NOT( intersects".
> (SQLEncoderPostgis, line 317) Cory, svn blame points to you :).
>
>  20963    chorner                     out.write("NOT (intersects");
>   
Hi Justin,

I believe the Filter spec says Disjoint is functionally equivalent to  
!Intersects;  I do not recall my reasons for not using disjoint 
directly, but it may have been something crazy like "better support for 
people without GEOS installed".

Feel free to change it to disjoint.

Cheers,
Cory.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to