add second option to create a GeoJSON