[postgis-devel] [PostGIS] #494: [wktraster] ST_DumpAsPolygons crashes under MingW compiled wktraster (gdal)

PostGIS trac at osgeo.org
Thu Apr 29 10:35:14 PDT 2010


#494: [wktraster] ST_DumpAsPolygons crashes under MingW compiled wktraster (gdal)
------------------------+---------------------------------------------------
  Reporter:  robe       |       Owner:  pracine        
      Type:  defect     |      Status:  new            
  Priority:  medium     |   Milestone:  WKTRaster 0.1.6
 Component:  wktraster  |     Version:  trunk          
Resolution:             |    Keywords:                 
------------------------+---------------------------------------------------
Comment (by jorgearevalo):

 I think I've fixed in r5582. I run this query:


 {{{
 select st_astext((st_dumpaspolygons(rast, 1)).geom) as geom,
 (st_dumpaspolygons(rast, 1)).val from dummy_rast where rid = 2;
 }}}


 And I get this result (CSV format here)


 {{{
 "geom";"val"
 "POLYGON((3427927.75 5793244,3427927.75 5793243.9,3427927.8
 5793243.9,3427927.8 5793244,3427927.75 5793244))";253
 "POLYGON((3427927.8 5793244,3427927.8 5793243.85,3427927.85
 5793243.85,3427927.85 5793243.75,3427928 5793243.75,3427928
 5793243.8,3427927.95 5793243.8,3427927.95 5793243.85,3427927.9
 5793243.85,3427927.9 5793243.95,3427927.85 5793243.95,3427927.85
 5793244,3427927.8 5793244))";254
 "POLYGON((3427927.85 5793244,3427927.85 5793243.95,3427927.9
 5793243.95,3427927.9 5793244,3427927.85 5793244))";253
 "POLYGON((3427927.9 5793244,3427927.9 5793243.95,3427928
 5793243.95,3427928 5793244,3427927.9 5793244))";254
 "POLYGON((3427927.9 5793243.95,3427927.9 5793243.9,3427927.95
 5793243.9,3427927.95 5793243.95,3427927.9 5793243.95))";253
 "POLYGON((3427927.95 5793243.95,3427927.95 5793243.85,3427928
 5793243.85,3427928 5793243.95,3427927.95 5793243.95))";249
 "POLYGON((3427927.75 5793243.9,3427927.75 5793243.85,3427927.8
 5793243.85,3427927.8 5793243.9,3427927.75 5793243.9))";250
 "POLYGON((3427927.9 5793243.9,3427927.9 5793243.85,3427927.95
 5793243.85,3427927.95 5793243.9,3427927.9 5793243.9))";252
 "POLYGON((3427927.75 5793243.85,3427927.75 5793243.8,3427927.8
 5793243.8,3427927.8 5793243.85,3427927.75 5793243.85))";251
 "POLYGON((3427927.8 5793243.85,3427927.8 5793243.8,3427927.85
 5793243.8,3427927.85 5793243.85,3427927.8 5793243.85))";253
 "POLYGON((3427927.95 5793243.85,3427927.95 5793243.8,3427928
 5793243.8,3427928 5793243.85,3427927.95 5793243.85))";253
 "POLYGON((3427927.75 5793243.8,3427927.75 5793243.75,3427927.8
 5793243.75,3427927.8 5793243.8,3427927.75 5793243.8))";252
 "POLYGON((3427927.8 5793243.8,3427927.8 5793243.75,3427927.85
 5793243.75,3427927.85 5793243.8,3427927.8 5793243.8))";250
 }}}

 I'll test this polygons with Quantum GIS or OpenJump, to see how do they
 look like. So, I leave the ticket open, by now. Related ticket #297.

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