wutzebaer
wutzebaer

Reputation: 14875

Polygon Area Postgres

Can I have a polygon-column in Postgres? Is there a function to calculate the area of the polygon or at least the area of the bounding box? (without postgis)

Thanks

EDIT: area(path(w.poly)) works. Is it the same?

Upvotes: 1

Views: 1582

Answers (1)

Chris Travers
Chris Travers

Reputation: 26464

As you say area(path(w.poly)) works.

It calculates the area of a polygon or other geometric figure. It is correct.

Upvotes: 2

Related Questions