convert points linestrings and polygons