deletes temporary table
changes territorial_waters_geom column to ts_geom