raster2psql -?

Also check the docs.

http://postgis.refractions.net/documentation/manual-svn/using_raster.xml.html#RT_Raster_Loader

By the looks of it you were using the python-based loader, which was replaced by a C-based loader for 2.0. As part of the replacement, the switches were changed to be in-line with those for shp2pgsql.

-bborie

On 04/02/2012 10:19 AM, JamesH wrote:
Hi all,

I am trying to load a .img raster through raster2pgsql. Recently upgraded to
version beta4 and I believe the commands have changed.

Previously I have used something like (when in postgresql\9.1\bin)
raster2pgsql -r C:\Users\james\height_newcastle.img -t public.height -s
27700 -o C:\Users\james\height/sql

But this is now returning as "unable to read raster file: -o"
Looking through the documentation I have recognised to change -r to -R and
-s is still the same but the -t has changed and -o does not exist in the
help.

What should I be doing to produce the sql file?

Kind Regards,
James

--
View this message in context: 
http://postgis.17.n6.nabble.com/raster2pgsql-tp4679577p4679577.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkp...@ucdavis.edu
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to