add support for polyline and polygon geometries