Opened 7 years ago

Closed 6 years ago

#2831 closed defect (fixed)

ST_Orientation only applies to polygons and generally needs work

Reported by: robe Owned by: colivier
Priority: medium Milestone: PostGIS 2.2.0
Component: sfcgal Version: master
Keywords: Cc:


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.

Attachments (1)

2831.patch (608 bytes) - added by vmo 7 years ago.
fixes the doc

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by vmo

Attachment: 2831.patch added

fixes the doc

comment:1 Changed 6 years ago by colivier

Commited in trunk as r13712

comment:2 Changed 6 years ago by colivier

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.