mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
Additional tests for ST_Neighborhood()
git-svn-id: http://svn.osgeo.org/postgis/trunk@10322 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
d6da0c36f5
commit
9735b2f561
|
@ -74,4 +74,11 @@ SELECT
|
|||
ST_Neighborhood(rast, 1, -9, 3, 3, 3, FALSE)
|
||||
FROM raster_neighborhood;
|
||||
|
||||
SELECT
|
||||
ST_Neighborhood(rast, 1, 4, 4, 1, 1)
|
||||
FROM raster_neighborhood;
|
||||
SELECT
|
||||
ST_Neighborhood(rast, 1, 4, 4, 1, 2)
|
||||
FROM raster_neighborhood;
|
||||
|
||||
DROP TABLE IF EXISTS raster_neighborhood;
|
||||
|
|
|
@ -11,3 +11,5 @@ NOTICE: Pixel has no neighbors for band at distance 1 x 1
|
|||
NOTICE: Pixel has no neighbors for band at distance 1 x 1
|
||||
NOTICE: Pixel has no neighbors for band at distance 3 x 3
|
||||
{{0,0,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,0}}
|
||||
{{1,1,NULL},{1,1,1},{NULL,1,1}}
|
||||
{{1,1,1,NULL,1},{1,1,1,1,1},{1,NULL,1,1,1}}
|
||||
|
|
Loading…
Reference in a new issue