Splitt gis and ts index into 2 indexes