Opened 12 years ago

Closed 12 years ago

#2233 closed enhancement (invalid)

[raster]: change error could not run alignment test to a warning

Reported by: robe Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: master
Keywords: Cc:

Description

Can we change the ERROR: could not run aligntment test to a warning.

Leo pointed out people new to raster who are using it for non-georeference storage will think their load failed because it shows as an ERROR.

Change History (3)

comment:1 by Bborie Park, 12 years ago

Can I get the output? There are only two possible error messages that would cause an alignment test failure.

SELECT ST_SameAlignment(
	ST_MakeEmptyRaster(5, 5, 0, 0, 1, -1, 0, 0, 0),
	ST_MakeEmptyRaster(1, 1, 0, 0, 1, -1, 0, 0, 0)
)

comment:2 by robe, 12 years ago

Sorry forgot to mention when loading with raster2pgsql when you are loading a non-georeferenced raster. I'll have him repeat what he was running and post the exact error.

comment:3 by robe, 12 years ago

Milestone: PostGIS 2.0.4PostGIS 2.1.0
Resolution: invalid
Status: newclosed

I'll mark this as invalid. Might have been because I had on the server he was loading a very old version of 2.1.0SVN and I upgraded it to test the ST_Resize issue and now I all I see is an:

INFO: Using default geotransform matrix (0, 1, 0, 0, 0, -1) for raster

when loading the same file he was loading. I'll reopen if it has something to do with the flags he was using.

Note: See TracTickets for help on using tickets.