[postgis-tickets] [PostGIS] #2831: ST_Orientation only applies to polygons and generally needs work

PostGIS trac at osgeo.org
Tue Jul 8 16:02:38 PDT 2014


#2831: ST_Orientation only applies to polygons and generally needs work
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  colivier     
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  sfcgal  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 I assume this is a documentation mistake.  This function is flagged as
 supporting polyhedral surfaces and what not, but when I do this:


 {{{
 SELECT ST_Orientation(ST_Extrude(ST_Buffer(ST_Point(1,2),5), 0,0,-5));
 }}}


 I get :

 {{{
 ERROR:  orientation() only applies to polygons
 }}}

 Also what exactly does the integer output mean.  It's not defined anywhere
 what these units are.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2831>
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