Fix incorrect rounding of coordinates in get_poly.py
Send error 500 on error when getting wkt