reverted shapereader.py