[postgis-tickets] [PostGIS] #3629: Getting failus on encoded line

PostGIS trac at osgeo.org
Mon Sep 12 01:13:01 PDT 2016


#3629: Getting failus on encoded line
-----------------------------+---------------------------
 Reporter:  robe             |      Owner:  pramsey
     Type:  defect           |     Status:  new
 Priority:  medium           |  Milestone:  PostGIS 2.2.3
Component:  postgis          |    Version:  2.2.x
 Keywords:  windows, 32-bit  |
-----------------------------+---------------------------
 This seems to be happening only for the 32-bit windows runs.


 {{{
  in_encodedpolyline .. failed (diff expected obtained:
 /projects/postgis/tmp/2.2.3dev_pg9.5_geos3.5.0_gdal2.1.1w32/test_42_diff)
 -----------------------------------------------------------------------------
 --- in_encodedpolyline_expected 2016-09-06 18:58:07 -0400
 +++
 /projects/postgis/tmp/2.2.3dev_pg9.5_geos3.5.0_gdal2.1.1w32/test_42_out
 2016-09-12 04:05:08 -0400
 @@ -1,2 +1,2 @@
  linefromencodedpolyline_01|SRID=4326;LINESTRING(-120.2 38.5,-120.95
 40.7,-126.453 43.252)
 -linefromencodedpolyline_02|SRID=4326;LINESTRING(-120.234472 38.5,-120.95
 40.734352,-126.453 43.252)
 +linefromencodedpolyline_02|SRID=4326;LINESTRING(-120.23447
 38.5,-120.950002 40.73435,-126.453 43.252002)
 -----------------------------------------------------------------------------
 }}}

 Looks like a floating point precision issue

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