[postgis-tickets] [PostGIS] #1498: ST_CrossProduct ?

PostGIS trac at osgeo.org
Fri Feb 20 04:29:41 PST 2015


#1498: ST_CrossProduct ?
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  pramsey       
     Type:  enhancement  |      Status:  new           
 Priority:  low          |   Milestone:  PostGIS Future
Component:  postgis      |     Version:  trunk         
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by remic):

 I don't know if it is faster,
 but it is totally safe (to precision issue)
 I don't know how the "polygon is constructed",
 I could look if you want
 (which function is it?)
 I don't think using ST_IsCCW is safe because due to precision issue you
 could construct a non-simple polygon, and ST_IsCCW may not like it.

 If it is slower, I could construct the polygon (safe for precision, but
 possibly not simple), and call ST_IsCCW

 Cheers,
 Rémi-C

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1498#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list