postgis/raster/test/regress
Bborie Park 997d2424cf Added a special case to RASTER_GDALWarp() where if the input raster has
no SRID (SRID_UNKNOWN) AND the operation does not involve a
reprojection, then use a catchall/substitute SRID (in this case 4326).
Ticket #2119

git-svn-id: http://svn.osgeo.org/postgis/trunk@10768 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-30 01:12:58 +00:00
..
loader Perl-based pre/post hooks for the raster loader tests 2012-05-30 18:59:13 +00:00
box3d.sql Move single-test data tables within the testfiles, cleanup after run 2011-12-24 09:58:39 +00:00
box3d_expected Dropped casts to box2d and replaced with casts to box3d. Associated ticket is #1330. 2011-12-14 22:57:58 +00:00
bug_test_car5.sql Cleanup created objects 2011-12-24 09:58:03 +00:00
bug_test_car5_expected Switch to evaluating tests using psql with verbosity=terse 2012-02-22 18:59:09 +00:00
check_gdal.sql Changed the string "MISSING GDAL DATA" to "GDAL_DATA not found". 2012-06-21 20:18:18 +00:00
check_gdal_expected Added method that includes the string "MISSING GDAL DATA" in the output 2012-06-21 20:18:12 +00:00
check_raster_columns.sql Fixed to suppress PL/pgSQL notices causing issues due to line # output. Added order by to check_raster_overviews to ensure consistent output. 2011-12-19 04:56:31 +00:00
check_raster_columns_expected Fixed to suppress PL/pgSQL notices causing issues due to line # output. Added order by to check_raster_overviews to ensure consistent output. 2011-12-19 04:56:31 +00:00
check_raster_overviews.sql Fixed to suppress PL/pgSQL notices causing issues due to line # output. Added order by to check_raster_overviews to ensure consistent output. 2011-12-19 04:56:31 +00:00
check_raster_overviews_expected Fixed to suppress PL/pgSQL notices causing issues due to line # output. Added order by to check_raster_overviews to ensure consistent output. 2011-12-19 04:56:31 +00:00
Makefile.in Removed confusion between ST_Resample(raster) and ST_Transform(raster) 2012-11-29 18:59:22 +00:00
README - Added raster extension to new 'raster' directory. 2010-09-26 21:21:03 +00:00
rt_4ma.sql Duplicated and refactored the ST_XXX4ma() functions for ST_MapAlgebra 2012-10-12 16:06:27 +00:00
rt_4ma_expected Duplicated and refactored the ST_XXX4ma() functions for ST_MapAlgebra 2012-10-12 16:06:27 +00:00
rt_addband.sql Rewrote ST_AddBand(raster, ...) array version in C. Ticket is #1363 2012-08-01 23:16:41 +00:00
rt_addband_expected Rewrote ST_AddBand(raster, ...) array version in C. Ticket is #1363 2012-08-01 23:16:41 +00:00
rt_asgdalraster.sql Additional regression tests for ST_AsGDALRaster, ST_GDALDrivers, ST_AsRaster, ST_Resample, ST_Metadata. Syntax cleanup in rt_pg.c and testwkb.c 2012-01-05 20:13:12 +00:00
rt_asgdalraster_expected Additional regression tests for ST_AsGDALRaster, ST_GDALDrivers, ST_AsRaster, ST_Resample, ST_Metadata. Syntax cleanup in rt_pg.c and testwkb.c 2012-01-05 20:13:12 +00:00
rt_asjpeg.sql Updated regression tests to correctly support change of unknown SRID from -1 to 0. 2011-09-30 00:11:55 +00:00
rt_asjpeg_expected fixed logic issues in ST_AsJPEG 2011-06-30 13:28:47 +00:00
rt_aspng.sql Updated regression tests to correctly support change of unknown SRID from -1 to 0. 2011-09-30 00:11:55 +00:00
rt_aspng_expected Updated expected output due to change in message 2011-09-07 13:58:19 +00:00
rt_asraster.sql Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_asraster_expected Added ST_NotSameAlignmentReason(raster, raster). Ticket #1709 2012-11-27 00:58:36 +00:00
rt_astiff.sql Updated regression tests to correctly support change of unknown SRID from -1 to 0. 2011-09-30 00:11:55 +00:00
rt_astiff_expected - Added test testgdalraster.in which properly tests the output of ST_AsGDALRaster. This test makes use of rtgdalraster.py found in raster/scripts/python, which itself requires psycopg2. 2011-05-24 14:27:08 +00:00
rt_band.sql Tweaked tests to use new variants of ST_AddBand and ST_SetValues 2012-08-02 19:27:55 +00:00
rt_band_expected Refactored code and removed the use of SET_VARSIZE for RASTER_band to fix segfault. 2011-06-21 05:05:16 +00:00
rt_band_properties.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_band_properties_expected Added function ST_SetBandIsNoData with tests and doc. Deleted isnodata checking 2011-01-26 16:08:02 +00:00
rt_bandmetadata.sql Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_bandmetadata_expected Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_bytea.sql Set all raster CASTs to be ASSIGNMENT not IMPLICIT. Related ticket is #490. Knowing my luck, I'll be reverting this due to some showstopper. 2012-02-24 05:05:25 +00:00
rt_bytea_expected Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_clip.sql Additional sorting of rt_clip regression test. Ticket is #1848 2012-06-15 15:30:03 +00:00
rt_clip_expected Rewrite of ST_Clip(raster) to be C-based and updated regression test. 2012-10-26 00:28:10 +00:00
rt_count.sql Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_count_expected - remove OUT parameters on those functions that only return a single value. 2011-05-27 23:35:07 +00:00
rt_dimensions.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_dimensions_expected - Added raster extension to new 'raster' directory. 2010-09-26 21:21:03 +00:00
rt_dumpvalues.sql Addition of ST_DumpValues() and regression tests. Ticket #2011 2012-10-17 16:08:16 +00:00
rt_dumpvalues_expected Addition of ST_DumpValues() and regression tests. Ticket #2011 2012-10-17 16:08:16 +00:00
rt_elevation_functions.sql Fixed SQL error in regression test 2012-11-16 03:39:42 +00:00
rt_elevation_functions_expected Added docs and regression test for extent parameter variants of 2012-11-16 01:32:10 +00:00
rt_gdalwarp.sql Added a special case to RASTER_GDALWarp() where if the input raster has 2012-11-30 01:12:58 +00:00
rt_gdalwarp_expected Added a special case to RASTER_GDALWarp() where if the input raster has 2012-11-30 01:12:58 +00:00
rt_georeference.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_georeference_expected Commit of patch provided by David Zwarg in #482 adding the functions ST_SetRotation, ST_Rotation, ST_PixelHeight and ST_PixelWidth. 2011-08-19 14:04:50 +00:00
rt_geos_relationships.sql Combined all raster GEOS dependent spatial relationship regression tests into 2012-10-18 23:52:36 +00:00
rt_geos_relationships_expected Combined all raster GEOS dependent spatial relationship regression tests into 2012-10-18 23:52:36 +00:00
rt_gist_relationships.sql Combined the gist spatial relationship tests into 2012-10-18 23:52:45 +00:00
rt_gist_relationships_expected Combined the gist spatial relationship tests into 2012-10-18 23:52:45 +00:00
rt_hasnoband.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_hasnoband_expected Added regress test files for ST_IsEmpty and ST_HasNoBand (they were missed in previous commit) 2011-01-03 16:17:36 +00:00
rt_histogram.sql Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_histogram_expected Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_intersection.sql Change signature of ST_PixelAsPolygons() and added regression tests. 2012-07-03 22:30:00 +00:00
rt_intersection_expected Change signature of ST_PixelAsPolygons() and added regression tests. 2012-07-03 22:30:00 +00:00
rt_intersects.sql Reintroduced ST_Intersects(geometry, raster) and ST_Intersects(raster, 2012-07-23 17:49:57 +00:00
rt_intersects_expected Reintroduced ST_Intersects(geometry, raster) and ST_Intersects(raster, 2012-07-23 17:49:57 +00:00
rt_invdistweight4ma.sql Duplicated and refactored the ST_XXX4ma() functions for ST_MapAlgebra 2012-10-12 16:06:27 +00:00
rt_invdistweight4ma_expected Duplicated and refactored the ST_XXX4ma() functions for ST_MapAlgebra 2012-10-12 16:06:27 +00:00
rt_io.sql Cleanup after run 2011-12-24 09:58:31 +00:00
rt_io_expected -Fix for ticket 792: Clamp double to known values when pixeltype is other than double in rt_band_set_nodata, rt_band_set_pixel & rt_raster_generate_new_band 2011-03-18 14:06:55 +00:00
rt_isempty.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_isempty_expected Added regress test files for ST_IsEmpty and ST_HasNoBand (they were missed in previous commit) 2011-01-03 16:17:36 +00:00
rt_mapalgebra.sql Corrected handling of NULL raster resulting from NO intersection of input rasters in map algebra. Fixed spelling mistakes. Additional tests for intersections of more than 3 rasters that don't actually intersect in ST_MapAlgebra 2012-10-16 19:55:34 +00:00
rt_mapalgebra_expected Fixed default Y-scale to -1 from 1 2012-10-25 23:06:42 +00:00
rt_mapalgebra_expr.sql Added 2-raster expression variant of ST_MapAlgebra() and regression 2012-10-16 19:55:50 +00:00
rt_mapalgebra_expr_expected Added 2-raster expression variant of ST_MapAlgebra() and regression 2012-10-16 19:55:50 +00:00
rt_mapalgebraexpr.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_mapalgebraexpr_2raster.sql Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_mapalgebraexpr_2raster_expected Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_mapalgebraexpr_expected Tweaked rt_clip queries to have the output ordered. Changed the round() 2012-06-07 15:56:11 +00:00
rt_mapalgebrafct.sql All functions in core API now support a band's isnodata value. 2012-10-22 17:19:28 +00:00
rt_mapalgebrafct_2raster.sql Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_mapalgebrafct_2raster_expected Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL. 2012-03-13 16:13:48 +00:00
rt_mapalgebrafct_expected All functions in core API now support a band's isnodata value. 2012-10-22 17:19:28 +00:00
rt_mapalgebrafctngb.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_mapalgebrafctngb_expected Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_mapalgebrafctngb_userfunc.sql Refactored ST_Slope, ST_Aspect and ST_Hillshade() (also their 2012-11-02 17:22:29 +00:00
rt_mapalgebrafctngb_userfunc_expected Added ST_StdDev4ma raster neighborhood processing function. #1318 2012-02-08 17:23:14 +00:00
rt_metadata.sql Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_metadata_expected Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_nearestvalue.sql Tweaked tests to use new variants of ST_AddBand and ST_SetValues 2012-08-02 19:27:55 +00:00
rt_nearestvalue_expected Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_neighborhood.sql Additional regression tests for ST_Neighborhood and tweaked to support a 2012-09-26 15:56:17 +00:00
rt_neighborhood_expected Added multi-band support for ST_Union. Ticket is #2021 2012-10-02 21:45:41 +00:00
rt_pixelascentroids.sql Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
rt_pixelascentroids_expected Addition of regression tests for ST_PixelAsCentroids and 2012-07-03 22:30:20 +00:00
rt_pixelaspoints.sql Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
rt_pixelaspoints_expected Addition of regression tests for ST_PixelAsCentroids and 2012-07-03 22:30:20 +00:00
rt_pixelaspolygons.sql Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_pixelaspolygons_expected Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_pixelofvalue.sql Addition of ST_PixelOfValue. Ticket is #1889. 2012-06-26 18:17:31 +00:00
rt_pixelofvalue_expected Addition of ST_PixelOfValue. Ticket is #1889. 2012-06-26 18:17:31 +00:00
rt_pixelsize.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_pixelsize_expected Inclusion of missing ST_PixelWidth and ST_PixelHeight functions and regression tests. 2011-08-24 15:23:25 +00:00
rt_pixelvalue.sql Code cleanup in rt_pg/rt_pg.c. Changed point geometry variant of 2012-10-18 21:45:16 +00:00
rt_pixelvalue_expected Added check for SRID match in ST_Value(raster) geometry variant 2012-10-29 22:22:57 +00:00
rt_polygon.sql Make PostgreSQL 8.4 happy with the rt_polygon regression test. 2012-07-30 22:40:40 +00:00
rt_polygon_expected Fixed ST_Polygon regression tests to properly handle different GEOS 2012-07-17 22:38:03 +00:00
rt_quantile.sql Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_quantile_expected Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_rastertoworldcoord.sql Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
rt_rastertoworldcoord_expected Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
rt_reclass.sql Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_reclass_expected Memory bug fixes and additional regression tests for ST_SummaryStats, ST_Histogram, ST_ValueCount, ST_Reclass and ST_Quantile. Ticket is #1432. 2012-01-05 18:59:52 +00:00
rt_rotation.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_rotation_expected Fix regression in OSX (-0 vs 0) 2012-02-11 16:08:26 +00:00
rt_samealignment.sql Added ST_NotSameAlignmentReason(raster, raster). Ticket #1709 2012-11-27 00:58:36 +00:00
rt_samealignment_expected Added ST_NotSameAlignmentReason(raster, raster). Ticket #1709 2012-11-27 00:58:36 +00:00
rt_scale.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_scale_expected Renamed accessors and editors of 'PixelSize' to 'Scale', including tests. 2011-01-03 10:46:41 +00:00
rt_set_band_properties.sql Removed garbage comments 2012-07-25 03:36:30 +00:00
rt_set_band_properties_expected - Added raster extension to new 'raster' directory. 2010-09-26 21:21:03 +00:00
rt_set_properties.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_set_properties_expected - Added raster extension to new 'raster' directory. 2010-09-26 21:21:03 +00:00
rt_setvalues_array.sql Added new variant on existing ST_SetValues where instead of a noset 2D 2012-09-08 01:21:21 +00:00
rt_setvalues_array_expected Added new variant on existing ST_SetValues where instead of a noset 2D 2012-09-08 01:21:21 +00:00
rt_setvalues_geomval.sql Code cleanup in rt_pg/rt_pg.c. Changed point geometry variant of 2012-10-18 21:45:16 +00:00
rt_setvalues_geomval_expected Addition of geomval variants of ST_SetValues() and regression tests. 2012-10-18 21:45:06 +00:00
rt_summarystats.sql Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_summarystats_expected Rewrite of ST_Clip(raster) to be C-based and updated regression test. 2012-10-26 00:28:10 +00:00
rt_tile.sql Rearranged function arguments for ST_Tile(raster) 2012-10-23 23:59:02 +00:00
rt_tile_expected Added news and docs for ST_Tile(raster). Additional regression tests for 2012-10-23 22:44:52 +00:00
rt_union.sql Added RANGE uniontype option for ST_Union(raster) Ticket #2097 2012-11-16 22:59:46 +00:00
rt_union_expected Added RANGE uniontype option for ST_Union(raster) Ticket #2097 2012-11-16 22:59:46 +00:00
rt_upperleft.sql Consolidated create_* and drop_* scripts into respective regression 2012-07-25 03:36:24 +00:00
rt_upperleft_expected - Added raster extension to new 'raster' directory. 2010-09-26 21:21:03 +00:00
rt_utility.sql Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
rt_utility_expected Added SRID check of geometry for ST_World2RasterCoord variants 2012-10-29 22:23:05 +00:00
rt_valuecount.sql Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_valuecount_expected Fixed how the minimum possible value of a pixel type was being 2012-07-04 00:33:00 +00:00
rt_valuepercent.sql Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568. 2012-02-10 23:33:37 +00:00
rt_valuepercent_expected Addition of ST_ValuePercent, sibling of ST_ValueCount. This function provides the ability to determine the percentage of a raster's band that is of a user-specified value. 2011-05-26 20:04:12 +00:00
rt_worldtorastercoord.sql Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
rt_worldtorastercoord_expected Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to 2012-11-26 19:13:04 +00:00
testgdalraster Remove reliance on pwd for raster build and test. 2012-03-07 20:38:53 +00:00
testgdalraster.test - Added test testgdalraster.in which properly tests the output of ST_AsGDALRaster. This test makes use of rtgdalraster.py found in raster/scripts/python, which itself requires psycopg2. 2011-05-24 14:27:08 +00:00
testgdalraster_expected - Added test testgdalraster.in which properly tests the output of ST_AsGDALRaster. This test makes use of rtgdalraster.py found in raster/scripts/python, which itself requires psycopg2. 2011-05-24 14:27:08 +00:00
tickets.sql Exclude raster_columns from geometry_columns (#1122) 2012-01-20 09:11:42 +00:00
tickets_expected Exclude raster_columns from geometry_columns (#1122) 2012-01-20 09:11:42 +00:00

Run 'make check' to run the postgresql-wrappers regression testing.

You must be allowed to create databases and install C-language
function in it.

You must also have installed the wrappers with 'make install'
from top-level dir.