Opened 16 years ago

Closed 13 years ago

#153 closed enhancement (fixed)

[raster] raster2pgsql: check for same pixelsize when loading using wildcard

Reported by: pracine Owned by: Bborie Park
Priority: low Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc: mloskot

Description (last modified by pracine)

It is now possible to load rasters with different pixelsize in the same table when using the wildcard in gdal2wktraster.py (one raster could have a pizelsize of 30m and another one a pixelsize of 15m).

gdal2wktraster.py should check that pixelsizes from different raster are identical or at least warns the user that he is triying to load rasters with different pixeltypes.

Change History (16)

comment:1 by pracine, 16 years ago

Milestone: postgis 1.4.1wktraster 0.1.6
Owner: changed from pierre to pracine
Reporter: changed from pierre to pracine
Status: newassigned

comment:2 by mloskot, 16 years ago

Cc: mloskot added

comment:3 by mloskot, 15 years ago

Pierre,

This report is incomplete. I don't understand what changes you are referring to. Has there been broken anything recently or it's a lack of a feature? Give exact command you use.

comment:4 by pracine, 15 years ago

Description: modified (diff)

comment:5 by pracine, 15 years ago

Summary: gdal2wktraster.py: check for same pixelsize when loading using wildcard[wktraster]: gdal2wktraster.py: check for same pixelsize when loading using wildcard

comment:6 by mloskot, 15 years ago

Summary: [wktraster]: gdal2wktraster.py: check for same pixelsize when loading using wildcard[wktraster] gdal2wktraster.py: check for same pixelsize when loading using wildcard

comment:7 by pracine, 15 years ago

Owner: changed from pracine to mloskot
Priority: mediumhigh
Status: assignednew
Version: trunk

comment:8 by pracine, 14 years ago

Milestone: WKTRaster 0.1.6PostGIS 2.0.0

comment:9 by pracine, 14 years ago

Summary: [wktraster] gdal2wktraster.py: check for same pixelsize when loading using wildcard[raster] gdal2wktraster.py: check for same pixelsize when loading using wildcard

comment:10 by jorgearevalo, 14 years ago

Resolution: fixed
Status: newclosed

Done in r6860

comment:11 by pracine, 13 years ago

Resolution: fixed
Status: closedreopened

Probably we should just warn the user in this case as it is not necessarily prohibited for some applications to have raster with different pixel sizes.

comment:12 by mloskot, 13 years ago

Owner: mloskot removed
Status: reopenednew

I'm sorry, I have to leave this.

comment:13 by pracine, 13 years ago

Owner: set to pracine

comment:14 by Bborie Park, 13 years ago

Owner: changed from pracine to Bborie Park
Status: newassigned
Summary: [raster] gdal2wktraster.py: check for same pixelsize when loading using wildcard[raster] raster2pgsql: check for same pixelsize when loading using wildcard

Need to at least have warning message in raster2pgsql C-based loader

comment:15 by Bborie Park, 13 years ago

Keywords: gdal2wktraster removed
Priority: highlow
Type: defectenhancement

comment:16 by Bborie Park, 13 years ago

Resolution: fixed
Status: assignedclosed

Added in r8418.

Note: See TracTickets for help on using tickets.