[postgis-devel] [PostGIS] #1176: [raster] Two raster ST_Intersects
PostGIS
trac at osgeo.org
Mon Sep 12 14:22:30 PDT 2011
#1176: [raster] Two raster ST_Intersects
----------------------------+-----------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: enhancement | Status: assigned
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by dustymugs):
I don't believe your algorithm provides for the situation where two pixels
(one from each raster) touch, such as when two rasters are next to one
another. In addition, if the two rasters only intersect at one pixel,
looping over every pixel to find that one pixel may take far longer than
need be.
By using the grid lines of each raster in an every third line pattern and
determining their intersection points, I can test for overlap, within and
touches quickly and in one pass.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1176#comment:8>
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