put geojson code in place for barrier script