The test data is for Auckland, New Zealand.
- GNU bash
- PostgreSQL 9.1.x or newer (full development and server install)
- PostGIS 2.x or newer (full development and server install)
- gcc, gcc-c++
- cmake
- boost-devel, expat-devel, gdal
- perl, perl-Log-Log4perl, perl-Spreadsheet-ParseExcel
- wget
- ant
- pgRouting
cd database/thirdparty/pgrouting
- to install run
cmake
- make
- sudo make install
- FeatureServer requires the following python modules (use package manager or pip-python to install)
- dxfwrite
- lxml
- Cheetah
- simplejson
- psycopg2
- shortuuid
- mod_python
- Traffic model output, see
database/data/test/traffic/2006
for test data set - Statistics New Zealand census data sets (www.stats.govt.nz), see
database/data/test/census
for test data set - INI file to configure TOTUS
- Copy and modify the INI file
config/sample.ini
- Prepare TOTUS build scripts, run
./prepare.sh -c <INI file>
- Build and deploy TOTUS, run
./build.sh -c <INI file>
If needed, Prepare the PostgreSQL template1 (default for all new databases) by enabling the postGIS and pgRouting extensions:
psql -h localhost -U postgres -d template1 <<EOF
CREATE EXTENSION postgis;
CREATE EXTENSION pgrouting;
EOF
You may copy, distribute and modify the software as long as you track changes/dates in source files. Any modifications to or software including (via compiler) GPL-licensed code must also be made available under the GPL along with build & install instructions.