Added a postgres option to connect to a database and pull the shape data that way. Currently just core dumps.