[postgis-users] upload a folder of raster files
Pierre Racine
Pierre.Racine at sbf.ulaval.ca
Wed Sep 5 11:07:39 PDT 2012
Here is my answer to that:
http://geospatialelucubrations.blogspot.ca/2012/09/loading-many-rasters-into-separate.html
Pierre
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of Giannis Giakoumidakis
> Sent: Monday, September 03, 2012 6:12 AM
> To: PostGIS Users Discussion
> Subject: [postgis-users] upload a folder of raster files
>
> I want to upload to a db a big number of raster files, pe 500, inside a folder,
> named in a row (file_1 to file_500), each one to a different table. Any ideas? A
> loop or something of the basic: raster2pgsql -s 4236 -I -C -M file_1.tif -F -t
> public.demelevation | psql -d gisdb
>
> Note that using wildcard (*.tif) doesn't help, I tried but it uploads all files in one
> table as different rows.
>
> My sql knowledge is bad, so any help would be precious. Thanks.
More information about the postgis-users
mailing list