[postgis-devel] ST_OrderingEquals what does it do

Obe, Regina robe.dnd at cityofboston.gov
Tue Jul 15 15:19:08 PDT 2008


I was preparing examples for the docs and was surprised to find this returns false
SELECT ST_OrderingEquals(ST_GeomFromText('LINESTRING(0 0, 10 10)'),
  ST_GeomFromText('LINESTRING(0 0, 5 5, 10 10)'));
 
Evidentally I don't understand how Ordering Equals works.  I assumed since the above returns
true for ST_Equals and the line is in the same direction, the above would return true as well.
 
Thanks,
Regina


-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20080715/745e303b/attachment.html>


More information about the postgis-devel mailing list