On Fri, Oct 26, 2012 at 10:51 AM, José Pedro Santos <zpsant...@hotmail.com> wrote: > > Hi, > > raster2pgsql don't work also shp2pgsql don't work (I have the Postgis 2.0 > installed in Ubuntu 12.04). I just enable the function but seems that the > pg_wrapper don't work. > > I have all the raster2... and shp2... in /usr/bin but don't work when I try > to call them in the shell.
When you say you have raster2pgsql and shp2pgsql in /usr/bin, do you have executables or just the symlinks you created? If you call shp2pgsql without arguments do you get the help commands? Can you output it to a file? That is instead of: shp2pgsql /home/user/Downloads/Africa_Boundaries/africa.shp teste2.africa | psql -d MyDatabase can you shp2pgsql /home/user/Downloads/Africa_Boundaries/africa.shp teste2.africa > /home/user/Downloads/import_africa.sql ? --Lee -- Lee Hachadoorian Asst Professor of Geography, Dartmouth College http://freecity.commons.gc.cuny.edu/ _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users