Apache WSGI for Flask Applications

WSGI (Web Server Gateway Interface) is an interface between web servers and web apps for python. A WSGI file enables Apache to communicate with a Flask application, by interpretting the python script. This short guide will get a simple Flask application up and running uisng an apache virtual host and…

Read More

CSV to GeoJSON to MongoDB

A simple tutorial on the use of the python-geojson library. The requirement: to convert a bunch of point, line and polygon coordinates into GeoJSON. The coordinate values exist as arrays stored as a string in a CSV file. I have included an additional step of adding the GeoJSON objects to…

Read More