toGeoJSON

prints lines as geojson