[postgis-devel] [PostGIS] #650: st_dumpaspolygon create int values

PostGIS trac at osgeo.org
Mon Oct 25 11:36:29 PDT 2010


#650: st_dumpaspolygon create int values
----------------------------+-----------------------------------------------
 Reporter:  etiennebr       |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 1.5.3
Component:  postgis raster  |     Version:  1.5.X        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 SELECT ST_AsBinary((ST_DumpAsPolygons(rast)).geom),
         (ST_DumpAsPolygons(rast)).val
 FROM smallr

 Returns grouped values at the integer value. Is it possible to specify to
 return three digits values ?

 Using let'say
 SELECT ST_Value(rast,10,15)
 FROM smallr

 Returns 32B floats values

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/650>
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