Various algorighms for geographical data.  I use them for my bus/transit projects.