code to draw poly from wkt works