Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PG raster: tests and data for issue #36689
- Loading branch information
Showing
2 changed files
with
58 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--------------------------- | ||
-- | ||
-- Test github issue 36689 | ||
-- | ||
|
||
BEGIN; | ||
DROP TABLE IF EXISTS "int16_regression_36689"; | ||
CREATE TABLE "int16_regression_36689" ("rid" serial PRIMARY KEY,"rast" raster,"filename" text); | ||
INSERT INTO "int16_regression_36689" ("rast","filename") VALUES ('0100000100555555555555C53F555555555555C5BF0000000000002240000000000000474000000000000000000000000000000000E610000006000600450080370034002E00270021001E003A00360031002D00290025003A00360032002F002D002B003600330031002F002E002C002F002F002F002F002E002D0029002B002D00300031002E00'::raster,'int16.tiff'); | ||
CREATE INDEX ON "int16_regression_36689" USING gist (st_convexhull("rast")); | ||
ANALYZE "int16_regression_36689"; | ||
SELECT AddRasterConstraints('','int16_regression_36689','rast',TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE); | ||
END; | ||
VACUUM ANALYZE "int16_regression_36689"; |