This document contains code for a web application that serves geographic vector data stored in a Postgres database. It includes code to:
1) Connect to a Postgres database and import vector data from a shapefile into a table with a geometry column.
2) Define routes in a Sinatra application to serve pre-rendered web pages with the vector data visualized using SVG and embedded in HTML.
3) Include JavaScript code to pan and zoom the vector data visualization in the browser.