Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the ST_AREA() and ST_PERIMETER() functions #4451

Closed
dlscanada opened this issue Oct 3, 2022 · 6 comments
Closed

Implement the ST_AREA() and ST_PERIMETER() functions #4451

dlscanada opened this issue Oct 3, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request spatial types sql Issue with SQL

Comments

@dlscanada
Copy link

Can you implement the ST_AREA() function, which can be used for calculating the area of a polygon? It would be very helpful for a couple projects I'm working on.

@timsehn timsehn added enhancement New feature or request sql Issue with SQL spatial types labels Oct 3, 2022
@timsehn
Copy link
Sponsor Contributor

timsehn commented Oct 3, 2022

@jcor11599 can probably bang this one out quick.

@dlscanada
Copy link
Author

I'm also interested in a polygon perimeter function (perhaps named ST_PERIMETER() or similar), by the way

@timsehn
Copy link
Sponsor Contributor

timsehn commented Oct 3, 2022

OK. Perimeter and area.

@timsehn timsehn changed the title Request: Implement the ST_AREA() function for calculating the area of polygons Implement the ST_AREA() and ST_PERIMETER() functions Oct 3, 2022
@timsehn
Copy link
Sponsor Contributor

timsehn commented Oct 4, 2022

As you can see a PR is open and in review. This will be in the next release.

@dlscanada
Copy link
Author

Thanks for doing that so quickly. Very impressive!

@jycor
Copy link
Contributor

jycor commented Oct 4, 2022

PR is merged to main, expect a release sometime this week!

@jycor jycor closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request spatial types sql Issue with SQL
Projects
None yet
Development

No branches or pull requests

3 participants