Opened 6 months ago
Last modified 4 weeks ago
#35705 assigned New feature
Add rotate geographic database function
Description ¶
Currently, Django’s GIS module supports translating and scaling geometries using Translate and Scale functions, but it lacks a Rotate function equivalent to PostGIS’s ST_Rotate. Adding a Rotate function would enhance the module's capabilities, allowing users to rotate geometries directly within Django ORM without resorting to raw SQL.
This function could accept an angle in radians (or optionally degrees) and support rotation around the origin (or optionally a specified point).
Relevant links:
According to the ticket's flags, the next step(s) to move this issue forward are:
- For anyone except the patch author to review the patch using the patch review checklist and either mark the ticket as "Ready for checkin" if everything looks good, or leave comments for improvement and mark the ticket as "Patch needs improvement".
Change History (11)
comment:1 by , 6 months ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | 5.1 → dev |
comment:2 by , 6 months ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 5 months ago
Has patch: | set |
---|
comment:4 by , 5 months ago
Patch needs improvement: | set |
---|
comment:5 by , 3 months ago
Patch needs improvement: | unset |
---|
comment:6 by , 2 months ago
Patch needs improvement: | set |
---|
comment:7 by , 5 weeks ago
Patch needs improvement: | unset |
---|
comment:8 by , 5 weeks ago
Patch needs improvement: | set |
---|
comment:9 by , 4 weeks ago
Patch needs improvement: | unset |
---|
comment:10 by , 4 weeks ago
Needs tests: | set |
---|
comment:11 by , 4 weeks ago
Needs tests: | unset |
---|
Even if we don't plan to support the entire range of PostGIS functions, as it's rather easy to create your own
GeomOutputGeoFunc
subclass (without resorting to raw SQL), I would rather be positive about adding this one. Patch welcome.