Skip to content

Instantly share code, notes, and snippets.

@mattwigway
mattwigway / gist:3492444
Created August 27, 2012 21:32
beans for nyc
<bean class="org.opentripplanner.graph_builder.model.GtfsBundle">
<property name="url" value="http://gtfs.s3.amazonaws.com/pvta_20120820_0735.zip" />
<property name="defaultAgencyId" value="pvta" />
</bean>
<bean class="org.opentripplanner.graph_builder.model.GtfsBundle">
<property name="url" value="http://gtfs.s3.amazonaws.com/port-authority-of-new-york-new-jersey_20110512_0300.zip" />
<property name="defaultAgencyId" value="port-authority-of-new-york-new-jersey" />
</bean>
<bean class="org.opentripplanner.graph_builder.model.GtfsBundle">
<property name="url" value="http://gtfs.s3.amazonaws.com/lanta_20120701_0310.zip" />
@thruflo
thruflo / test_geography.py
Created November 28, 2011 22:59
Example using PostGIS Geography Type with GeoAlchemy.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import code
import logging
from datetime import datetime
from sqlalchemy import create_engine, event
from sqlalchemy import Column, Float, Integer, MetaData, UnicodeText