SPATIAL DATABASE FOR GPS WILDLIFE TRACKING DATA, F. Urbano and F. Cagnacci (eds.)
DOI: 10.1007/978-3-319-03743-1_4, Springer International Publishing Switzerland 2014

Inthe book,the exercisesare presentedsequentially;thereforethe databasecreatedin previouschaptersis neededto be able to run thecodeofeachfollowingchapter(exceptforChapter10,whichisnot neededforChapters11and12,andChapter11thatisnotneededfor Chapter12;Chapters1and13donotpresentanycode).
Inthetwofiles
db_dump.sql
db_dump_rasterconstraints.sql

youcanfinda(plainSQL)dumpofthedatabasebuiltinChapters 2,3,4,5,6,7,8and9.Itcanbeusedbyreaderswhowanttostudy singlechapterswithoutgoingthroughthewholebook.

TorestorethedatabaseinyourPostgreSQL9.2orlaterdatabase,first createanew,emptydatabase,thenconnecttoitandrun
db_dump.sql

Thisdumpdoesnotincludetheuserpermissions.Moreover,duetoa knownissuewithPostGIS,therestorationoftheconstraintontheraster tablehastobedonebyrunningthesecondfile:
db_dump_rasterconstraints.sql