dconger (6) [Avatar] Offline
#1
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
regina.leo (255) [Avatar] Offline
#2
Re: Missing path separator in section 4.3.2
okay this is something that will be fixed in final release. the incldued code file should be right though. The issue has to do with how the code include works in the manning custom docbook and so its been cutting off our slashes.