mod. using the shapereader

modifications to @pelson using the shapereader, relates to #201