[postgis-tickets] [PostGIS] #5311: ST_Contour bug over the limits of tiles

PostGIS trac at osgeo.org
Mon Jan 9 12:58:59 PST 2023


#5311: ST_Contour bug over the limits of tiles
---------------------+---------------------------
 Reporter:  latot    |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.3.3
Component:  postgis  |    Version:  3.3.x
 Keywords:           |
---------------------+---------------------------
 Hi all, ST_Contour works right when we have one tile, or one big raster
 and we execute it over GDAL, but in postgis is different, we have super
 big rasters!, and we handle it splitting them in small cute ones.

 Well, the ST_Contour algorithm does not like it, actually the output of
 one big raster is pretty different from the same in small pieces, the
 difference is that the contour lines will be spplited/broken... D:

 The distance between the lines can depends on the raster it self, is not
 an easy fix to get the right contour from the data, if there is contour
 lines that are more closer between them than the separation caused by this
 causes that we can't recognize the contour lines... D:

 I'll upload 3 images, one from the contour generated by postgis, the other
 two, one with one raster, and the other one with the other, obvs the
 contour should follow the lines and don't cause what is in the images.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5311>
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