Opened 10 years ago
Closed 10 years ago
#25869 closed New feature (fixed)
add support for GEOSWKTWriter_setRoundingPrecision and GEOSWKTWriter_setTrim
| 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 (7)
comment:1 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:3 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Has patch: | set |
comment:5 by , 10 years ago
| Patch needs improvement: | unset |
|---|
comment:6 by , 10 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
I assume this makes sense but a brief description describing the feature is always helpful. :-)