use hasPoly for polygon index