Added parameter 'has_geometry' on Location to filter on locations with geometry.