handle multiple geoprimitives