{"id":19558477,"url":"https://github.com/maxious/actbus-data","last_synced_at":"2025-07-23T14:04:54.515Z","repository":{"id":146719605,"uuid":"1499948","full_name":"maxious/ACTBus-data","owner":"maxious","description":"Data workflow management for ACT bus data","archived":false,"fork":false,"pushed_at":"2012-11-24T12:54:33.000Z","size":3020,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T02:48:58.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bus.lambdacomplex.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxious.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-19T13:31:02.000Z","updated_at":"2013-10-02T12:56:48.000Z","dependencies_parsed_at":"2023-03-24T07:11:35.517Z","dependency_job_id":null,"html_url":"https://github.com/maxious/ACTBus-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxious/ACTBus-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxious%2FACTBus-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxious%2FACTBus-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxious%2FACTBus-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxious%2FACTBus-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxious","download_url":"https://codeload.github.com/maxious/ACTBus-data/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxious%2FACTBus-data/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266691580,"owners_count":23969182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T04:47:16.877Z","updated_at":"2025-07-23T14:04:54.491Z","avatar_url":"https://github.com/maxious.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== Introduction === \n\nThis distribution contains everything required to build a basic google transit \nfeed for Canberra, Australia. \n\nRequirements: BASH, Python 2.5, PHP, Ruby + ruby-devel, libpq/postgresql-devel, libxml2-devel, libxslt-devel\nRuby Gems: postgres json nokogiri\n\nSuburb Geocoding Based on Australian Bureau of Statistics data.\nStreet Geocoding Based on work of OpenStreetMap contributors\n\n=== PostGIS setup ===\nInstall postGIS, make a new database using postgis template\nFrom the shell:\n# createdb -T template_postgis my_spatial_db\nFrom SQL:\npostgres=# CREATE DATABASE my_spatial_db TEMPLATE=template_postgis\n\nOr upgrade existing database to postgis\npsql -d bus \u003c /usr/share/pgsql/contrib/postgis-1.5/postgis.sql \n\nMake sure it has SRID 4326 (WGS84) and SRID 900913\nINSERT INTO spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text)VALUES (900913,'EPSG',900913,'PROJCS[\"WGS84 / Simple Mercator\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]],PRIMEM[\"Greenwich\", 0.0],UNIT[\"degree\", 0.017453292519943295],AXIS[\"Longitude\", EAST],AXIS[\"Latitude\", NORTH]],PROJECTION[\"Mercator_1SP_Google\"],PARAMETER[\"latitude_of_origin\", 0.0],PARAMETER[\"central_meridian\", 0.0],PARAMETER[\"scale_factor\", 1.0],PARAMETER[\"false_easting\", 0.0],PARAMETER[\"false_northing\", 0.0],UNIT[\"m\", 1.0],AXIS[\"x\", EAST],AXIS[\"y\", NORTH],AUTHORITY[\"EPSG\",\"900913\"]]','+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs');\nINSERT INTO spatial_ref_sys ( auth_name, auth_srid, srid, proj4text ) VALUES ( 'EPSG', 4326, 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' );\n\nDownload \"State Suburbs ASGS Non ABS Structures Ed 2011 Digital Boundaries \nin ESRI Shapefile Format\" from http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1270.0.55.003July%202011?OpenDocument\n\nUse shp2pgsql tool http://postgis.refractions.net/documentation/manual-1.3/ch04.html#id2571948\nshp2pgsql -D -I ~/Downloads/SSC_2011_AUST.shp suburbs \u003e suburbs.sql\npsql -d bus \u003c suburbs.sql \n\nDownload OSM ways from XAPI http://open.mapquestapi.com/xapi/\nhttp://open.mapquestapi.com/xapi/api/0.6/way[highway=*][bbox=148.99,-35.48,149.19,-35.119]\n\nUse tool from http://wiki.openstreetmap.org/wiki/Osm2pgsql (or another OSM import tool like osmosis)\nosm2pgsql -d bus -U postgres cbrroads.osm \n\n=== Running ===\nrun get.sh in source-html to get html timetables\nrun make.sh to get GTFS timetables and enchance them\nuse compile_gtfs from https://github.com/kurtraschke/gtfs if you want a sqlite version\nuse http://code.google.com/p/gtfsdb/ if you want sql/python geo-alchemy version\n\n=== Changes ===\nroutes.txt:\nAdd short_name,long_name\nAdd route_color to match offical line brandings (red/blue/gold/green/brown expresso)\n\nstops.txt:\nAdd stop_codes which don't change (GeoPo)\nAdd street/suburb to zone_info field\nSet bus station flag on bus stations (stop_type)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxious%2Factbus-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxious%2Factbus-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxious%2Factbus-data/lists"}