Togeojson feature

See discussion at #1775.