@property
    def nds(self):
        for nd_id in self.nd_ids:
            try:
                yield self.osm.nodes[nd_id]
            except KeyError:
                if self.tolerant:
                    pass
                else:
                    raise KeyError( "Way references undefined node '%s'"%nd_id )
dataset/ETHPy150Open bmander/graphserver/pygs/graphserver/ext/osm/osm.py/Way.nds/original