postgis support enhancement and test added