Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A site focussed on connecting and empowering people who share transport problems of different kinds.
Ruby HTML PLpgSQL CSS JavaScript Python Other

This branch is 25 commits ahead, 3067 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
commonlib @ f427cc6
config
data/NaPTAN
db
doc
lib
public
script
spec
tmp
vendor
.gitignore
.gitmodules
LICENSE.txt
README.txt
Rakefile

README.txt

FixMyTransport/Brief Encounters
--------------------------------

This codebase is for the Brief Encounters milestone of the FixMyTransport project

If using PostGIS, the following commands need to be run following db creation:

createlang  plpgsql [database name]
/usr/share/postgresql-8.3-postgis/lwpostgis.sql
/usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql

Also, SRID 27700 (British National Grid) is incorrect in some installs of PostGIS. After you’ve installed and got a PostGIS template, log in to it and make sure the proj4text column of SRID 27700 includes +datum=OSGB36.

Set the OPTION_USE_SPATIAL_EXTENSIONS option to 1 if you are using PostGIS.

To install Postgres and PostGIS on OSX
--------------------------------------
1) sudo port install postgresql84 
2) sudo port install postgis  

To load a new binary Postgres dump file:
----------------------------------------
1) Create the file from an existing database with pg_dump -p [Postgres port number] --schema=public -Fc YOURDB > YOURDB.sql.dump
2) rake db:load_from_binary FILE=YOURDB.sql.dump
Something went wrong with that request. Please try again.