Opened 13 years ago
Closed 12 years ago
#1683 closed enhancement (wontfix)
Add ST_Translate(geography, ...)
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.1.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
I think it'd make sense to add ST_Translate support for "geography". First implementation could just be doing roundtrip reprojection.
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
I actually forgot the use case that got me open this ticket. Feel free to close if you don't feel the need of it.
comment:3 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I don't feel the need for it.
Note:
See TracTickets
for help on using tickets.
This is a lot less obvious that something like ST_Buffer, because translate is very sensitive to what the cartesian system actually is. A translate that ends up round-tripping into polar stereographic, for example, could provide very surprising results to people!
A more deterministic variation would be to make ST_Project accept geometry types other than point. The whole object would be moved the desired distance and direction, which is what people translating generally want, no?