Opened 13 years ago

Closed 13 years ago

#1403 closed defect (fixed)

[raster] Can't use -Y and -F together in raster2pgsql

Reported by: robe Owned by: pracine
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

This might be just a windows issue, but I can do this

raster2pgsql.exe -I -C -F -s 26986 -t 200x200 bostonaerials2008\*.jpg  -l 2,4 aerials.boston | psql -U postgres -d postgis20_sampler -h localhost -p 5441

— and this —

raster2pgsql.exe -I -C -Y -s 26986 -t 200x200 bostonaerials2008\*.jpg  -l 2,4 aerials.boston | psql -U postgres -d postgis20_sampler -h localhost -p 5441

But if I try to combine the include filename and use copy mode, I get an error forgot the exact error.

Can't do this:

raster2pgsql.exe -I -C -Y -F -s 26986 -t 200x200 bostonaerials2008\*.jpg  -l 2,4 aerials.boston | psql -U postgres -d postgis20_sampler -h localhost -p 5441

Change History (4)

comment:1 by robe, 13 years ago

Summary: Can't use -Y and -F together[raster] Can't use -Y and -F together in raster2pgsql

comment:2 by dustymugs, 13 years ago

This may be a Windows issue. Strange though that in linux, the combination of -Y and -F has no problems. If you can post the error, that'd be super.

comment:3 by dustymugs, 13 years ago

I think I found the problem. It only happens for when you use -l for overviews. Fixed in r8530

comment:4 by dustymugs, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.