need to make indexes before polygon indexing

shoudl break this up to put haspoly after