Opened 9 years ago
Last modified 9 years ago
#25869 closed New feature
add support for GEOSWKTWriter_setRoundingPrecision and GEOSWKTWriter_setTrim — at Version 3
Reported by: | Sergey Fedoseev | Owned by: | Sergey Fedoseev |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
It would be useful to have support of GEOSWKTWriter_setRoundingPrecision and GEOSWKTWriter_setTrim functions that allow to control output of fractional part in WKT.
I think that GEOSGeometry.wkt
should be trimmed because this trailing zeroes are quite annoying:
In [81]: print Point(1, 1) POINT (1.0000000000000000 1.0000000000000000)
but this probably should go in another ticket.
Change History (3)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 9 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Note:
See TracTickets
for help on using tickets.
I assume this makes sense but a brief description describing the feature is always helpful. :-)