[postgis-devel] [PostGIS] #2126: [raster] Convex hull of an empty raster
PostGIS
trac at osgeo.org
Mon Dec 3 07:08:18 PST 2012
#2126: [raster] Convex hull of an empty raster
-----------------------+----------------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.3
Component: raster | Version: 2.0.x
Keywords: |
-----------------------+----------------------------------------------------
Comment(by dustymugs):
For rasters, it may be that the convex hull is _NOT_ polygonal in three
cases.
Case 1 and Case 2: raster width OR height is zero (but other dimension is
NOT zero)
Possible Answer: LINESTRING along the non-zero dimension from upper-left
Case 3: raster width AND height is zero
Possible Answer: POINT of upper-left.
Granted, I'm just as happy returning POLYGON EMPTY as it is keeping it
simple. But I wonder if raster should be as arbitrary as geometry. I
wonder what ArcGIS, ENVI and ERDAS says...
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2126#comment:3>
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