implenting draft SHP reader