toGeoJSON

prints polygons as geojson