[postgis-tickets] [PostGIS] #5072: ST_GeomFromTWKB rounding issue with negative xyprecision
PostGIS
trac at osgeo.org
Sun Jan 30 23:07:52 PST 2022
#5072: ST_GeomFromTWKB rounding issue with negative xyprecision
----------------------------+---------------------------
Reporter: Aurélien Mino | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.0
Component: postgis | Version: 3.1.x
Resolution: | Keywords:
----------------------------+---------------------------
Comment (by nicklas):
This looks like a floating point precision issue. It is interesting that
it has changed over versions. I see the same when comparing 3.0 and 3.2
that they differs.
I think this is something that has changed in a higher level in the code
base. I cannot see any changes in the twkb code that should cause this.
The hex-string from creating twkb is identical so it is on the decoding
side. At least earlier we have ignored thos floating point differenties
since it can depend on a lot of things.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5072#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list