st_as_sf function

Convert a qgis_result object or one of its elements to an sf object