The osm project
install:
-
install python 2.7, along easy_install, zc.buildout ("zc.buildout==1.5.2") and git
-
cd osm
-
buildout
-
purpose: cached GTFS .zip files into [gtfsdb](http://gtfsdb.com} The ./config/app.ini file controls the list of gtfs feeds cached.
-
run: bin/osm_update (optional: -ini .ini | force_update)
-
build OSMOSIS:
-
cd ott/osm/osmosis
-
install.sh
-
cd -
-
git update-index --assume-unchanged .pydevproject
-
NOTE: system packages necessary for things to work may include pre-built Shapely, or else the following system packages:
-
Install these packages
yum install protobuf protobuf-devel tokyocabinet tokyocabinet-devel geos geos-devel libxml2 libxslt libxml2-devel libxslt-devel
-
Or Build and install Protobuf and TokyoCabinet from source (MacOSX):
run:
- bin/test ... this cmd will run osm's unit tests (see: http://docs.zope.org/zope.testrunner/#some-useful-command-line-options-to-get-you-started)
- bin/osm_rename --osm ott/osm/tests/data/test_data_2018.osm -out renamed.osm
- bin/osm_intersections --osm ott/osm/tests/data/test_data_2018.osm -out intersections.osm