[postgis-tickets] [PostGIS] #3713: Data loss on big encoded polyline

PostGIS trac at osgeo.org
Sat Feb 18 14:57:43 PST 2017


#3713: Data loss on big encoded polyline
----------------------+---------------------------
  Reporter:  323942   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.3.3
 Component:  postgis  |    Version:  2.3.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by woodbri):

 The encode and decode function take a precision=5 argument. This means
 that it truncates the floating point numbers at that number of significant
 decimal point digits. So if you encode and decode a linestring you will
 not get back "exactly" the same linestring. This is the definition of the
 encoding and decoding functions. So there is no error here other then
 understanding what the function is doing.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3713#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