run_geoquery function

Get a geographic vector from a query