fixing example and adding output geojson