Prepare geoJSON functions