[postgis-tickets] [PostGIS] #2396: liblwgeom CUnit tests fail on big-endian architectures.

PostGIS trac at osgeo.org
Sun Aug 4 09:45:47 PDT 2013


#2396: liblwgeom CUnit tests fail on big-endian architectures.
---------------------+------------------------------------------------------
 Reporter:  mnencia  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 Well 1478 seems to be the endian issue since:


 {{{
 SELECT ST_OrderingEquals(ST_GeomFromEWKT('00200000040000000100000000'),
 ST_GeomFromEWKT('01040000200100000000000000'))
 }}}

 returns true for me (can you verify it returns true for you?_ so they are
 the same geometry. Looks like 1755 is same endian issue.  So painful
 solution I would guess is to make our tests endian agnostic.


 pramsey -- are you around to venture an opinion on this issue?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2396#comment:14>
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