Opened 11 years ago
Closed 11 years ago
#2527 closed defect (fixed)
[raster] raster2pgsql needs a flag to skip band is NODATA check
Reported by: | dustymugs | Owned by: | dustymugs |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.1.1 |
Component: | raster | Version: | 2.1.x |
Keywords: | history. | Cc: |
Description
I'm loading GRIB files as out-db rasters with 2.1.0 and hit a sub-optimal situation where the raster load takes forever.
ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/DF.gr2/DC.ndfd/AR.conus/VP.001-003/ds.wdir.bin
I need to double-check but from what I can tell, the problem has to do with rt_band_check_is_nodata(band).
The fix should be applied for both 2.0 and 2.1 as the loader hasn't changed much between versions.
Change History (3)
comment:1 by , 11 years ago
Status: | new → assigned |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Keywords: | history. added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Since the raster is being loaded as out-db, a convenient work-around is to load the whole file as one raster and then use ST_Tile().