Formats an sf shapefile to a formatted geojson
sf_to_geojson(sf_shape, endpoint = "raster")
The sf shapefile to transform
The GFW endpoint destination for the geojson ("raster" or "event")
A correctly-formatted geojson to be used in get_raster()
or get_event()