Opened 10 years ago

Closed 9 years ago

#3119 closed defect (fixed)

Wrong documented behavior for ST_LengthSpheroid

Reported by: strk Owned by: robe
Priority: medium Milestone: PostGIS 2.1.9
Component: documentation Version: master
Keywords: Cc:

Description

The LengthSpheroid family of function (ST_LengthSpheroid, ST_Length2DSpheroid) are documented to return 0 if anything but a LINESTRING or MULTILINESTRING is passed as input. Instead polygons are also handled (I think returning perimeter).

Change History (2)

comment:1 by robe, 9 years ago

Milestone: PostGIS 2.2.0PostGIS 2.1.9

comment:2 by dbaston, 9 years ago

Resolution: fixed
Status: newclosed

Applied to trunk at r14873, 2.2 at r14874, and 2.1 at r14875 and r14876. For 2.2 and trunk I added tests showing current behavior w/polygon types.

Note: See TracTickets for help on using tickets.