[postgis-devel] [PostGIS] #1828: Estimate returned by geography_gist_selectivity results in slow query plan for ST_DWithin

PostGIS trac at osgeo.org
Fri Jun 22 03:52:34 PDT 2012


#1828: Estimate returned by geography_gist_selectivity results in slow query plan
for ST_DWithin
---------------------------+------------------------------------------------
 Reporter:  realityexists  |       Owner:  mcayland     
     Type:  defect         |      Status:  new          
 Priority:  medium         |   Milestone:  PostGIS 2.0.2
Component:  postgis        |     Version:  2.0.x        
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by mcayland):

 And just to confirm this:

 {{{
 postgis20=# select
 _st_expand('0101000020E61000000000000000001C400000000000001C40'::geography,
 8000);
                      _st_expand
 ----------------------------------------------------
  0101000020E61000000000000000001C400000000000001C40
 (1 row)
 }}}

 I guess that's why there is no official ST_Expand(geography, distance)
 function. Paul - I think we need some input from you on this one.

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