In the EAP PDF, version 2, the command in section 4.3.2 (very end of page 109):
raster2pgsql -s 4326 -C usgs_srtmN48E086.hgt staging.n48e086 | psql -h localhost -U postgres -p 5437 -d postgis_in_action
is missing a path separator. The command should be, for Linux:
raster2pgsql -s 4326 -C usgs_srtm/N48E086.hgt staging.n48e086 | psql -h localhost -U postgres -p 5437 -d postgis_in_action
or for Windows:
raster2pgsql -s 4326 -C usgs_srtmN48E086.hgt staging.n48e086 | psql -h localhost -U postgres -p 5437 -d postgis_in_action
Also note that the use of port 5437, rather than the usual 5432 is very surprising. The text doesn't explain why we might be using a different port from other examples. Message was edited by:
dconger
|