Ticket #1403 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

[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: trunk
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

Changed 18 months ago by robe

  • summary changed from Can't use -Y and -F together to [raster] Can't use -Y and -F together in raster2pgsql

Changed 18 months ago by dustymugs

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.

Changed 18 months ago by dustymugs

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

Changed 18 months ago by dustymugs

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.