as_geolayer function

Get a geolayer object