#25869: add support for GEOSWKTWriter_setRoundingPrecision and
GEOSWKTWriter_setTrim
-----------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: New feature | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by sir-sigurd):
* has_patch: 0 => 1
Old description:
New description:
It would be useful to have support of
[http://geos.osgeo.org/doxygen/classgeos_1_1io_1_1WKTWriter.html#a55b7fd9ffcec35f7a4f823a0c9464dce
GEOSWKTWriter_setRoundingPrecision] and
[http://geos.osgeo.org/doxygen/classgeos_1_1io_1_1WKTWriter.html#a53f742121d0757cd4ca83795ffab1c3f
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.
--
Comment:
PR -- https://github.com/django/django/pull/5775
--
Ticket URL: <https://code.djangoproject.com/ticket/25869#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.7528b3670b215dd190690fa5fb182bc0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.