Opened 12 years ago

Closed 9 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 Changed 12 years ago by pracine

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

comment:2 Changed 11 years ago by mloskot

Cc: mloskot added

comment:3 Changed 11 years ago by mloskot

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 Changed 11 years ago by pracine

Description: modified (diff)

comment:5 Changed 11 years ago by pracine

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

comment:6 Changed 11 years ago by mloskot

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 Changed 11 years ago by pracine

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

comment:8 Changed 10 years ago by pracine

Milestone: WKTRaster 0.1.6PostGIS 2.0.0

comment:9 Changed 10 years ago by pracine

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 Changed 10 years ago by jorgearevalo

Resolution: fixed
Status: newclosed

Done in r6860

comment:11 Changed 9 years ago by pracine

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 Changed 9 years ago by mloskot

Owner: mloskot deleted
Status: reopenednew

I'm sorry, I have to leave this.

comment:13 Changed 9 years ago by pracine

Owner: set to pracine

comment:14 Changed 9 years ago by Bborie Park

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 Changed 9 years ago by Bborie Park

Keywords: gdal2wktraster removed
Priority: highlow
Type: defectenhancement

comment:16 Changed 9 years ago by Bborie Park

Resolution: fixed
Status: assignedclosed

Added in r8418.

Note: See TracTickets for help on using tickets.