[PostGIS] #5734: Wrong ST_EstimatedExtent result for geography column
PostGIS
trac at osgeo.org
Wed May 22 05:28:20 PDT 2024
#5734: Wrong ST_EstimatedExtent result for geography column
----------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.4.3
Component: postgis | Version: 3.4.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by strk):
according to logs the box is even calculated:
{{{
DEBUG: [gserialized.c:gserialized_get_gbox_p:100]
gserialized_get_gbox_p: version is 1
DEBUG: [gserialized2.c:lwgeom_from_gserialized2_buffer:1472] Got type 1
(Point), hasz=0 hasm=0 geodetic=1 hasbox=0
DEBUG: [gserialized2.c:gserialized2_get_gbox_p:607] box is calculated
DEBUG: [gserialized_estimate.c:compute_gserialized_stats_mode:1464]
gserialized_datum_get_gbox_p returned box[0.813798 0.813798, 0.296198
0.296198]
}}}
The culprit seems to be ptarray_calculate_gbox_geodetic
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5734#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-tickets
mailing list