[postgis-devel] [PostGIS] #870: [raster] Optimize ST_DumpAsWKTPolygons

PostGIS trac at osgeo.org
Mon Mar 28 07:47:33 PDT 2011


#870: [raster] Optimize ST_DumpAsWKTPolygons
-------------------------+--------------------------------------------------
 Reporter:  dzwarg       |       Owner:  jorgearevalo 
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by jorgearevalo):

  * owner:  dzwarg => jorgearevalo
  * status:  new => assigned


Comment:

 Actually, there's no need of double loop. The first loop's intention was
 to count the valid features (polygons with a pixel value different from
 NODATA). But applying a spatial filter forces OGR_L_GetFeatureCount to
 take that filter into account, and OGR_L_GetNextFeature to return only
 valid features. We only need one loop.

 Working on it...

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