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 Sergey Fedoseev)

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 Sergey Fedoseev, 9 years ago

Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 by Tim Graham, 9 years ago

Triage Stage: UnreviewedAccepted

I assume this makes sense but a brief description describing the feature is always helpful. :-)

comment:3 by Sergey Fedoseev, 9 years ago

Description: modified (diff)
Has patch: set
Note: See TracTickets for help on using tickets.
Back to Top