Export to GeoJSON

Fixes #239.