Opened 14 years ago

Closed 14 years ago

#628 closed defect (fixed)

gdal2raster -F switch broken?

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

Description

Is the -F switch that inserts the file name to raster table broken or am I doing it wrong.

I did this

python gdal2raster.py -r Vietnam\dted\*\*.dt0 -t ch13.vietelev  -s 4326 -k 50x50 -F -I -o vietelev.sql

and to my dissatisfaction it created an invalid sql file with stuff like

INSERT INTO "ch13"."vietnam_elev" ( filename, rast ) VALUES ( ('<type 'file'>')::text, ('0....

Seemed to work fine without the -F switch, but I want the file name too :(

Change History (2)

comment:1 by pracine, 14 years ago

Component: postgispostgis raster
Owner: changed from pramsey to pracine

comment:2 by pracine, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in r6082.

Note: See TracTickets for help on using tickets.