[postgis-devel] [PostGIS] #1273: ST_Equals( mypoint, postgis_addbbox(mypoint) ) = FALSE
PostGIS
trac at osgeo.org
Wed Nov 9 05:58:10 PST 2011
#1273: ST_Equals( mypoint, postgis_addbbox(mypoint) ) = FALSE
---------------------+------------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
So, postgis_addbbox uses lwgeom_add_bbox over a deserialized geometry,
which is then re-serialized, while ST_Equals uses gserialized_get_bbox_p
over the serialized geometry.
lwgeom_add_bbox in turn calls lwgeom_calculate_gbox_p.
gserialized_get_bbox_p also calls lwgeom_calculate_gbox_p.
This is the theory. But something goes wrong in between.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1273#comment:5>
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-devel
mailing list