The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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 (265) [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.