basic error checking on postgis template creation.