o2g/osm/handlers/node_handler.py
def node(self, n):
        """Process each node."""
        if n.id not in self.node_ids:
            return

        try:
            self.nodes[n.id] =\
              Node(n.id,
                   n.location.lon,
                   n.location.lat,
                   {t.k: t.v for t in n.tags})
        except o.InvalidLocationError:
            logging.debug('InvalidLocationError at node %s', n.id)
def node(self, n):
        if n.id not in self.node_ids:
            return

        try:
            self.nodes[n.id] =\
              Node(n.id,
                   n.location.lon,
                   n.location.lat,
                   {t.k: t.v for t in n.tags})
        except o.InvalidLocationError:
            logging.debug('InvalidLocationError at node %s', n.id)
def node ( self , n ) : if n . id not in self . node_ids : return try : self . nodes [ n . id ] = Node ( n . id , n . location . lon , n . location . lat , { t . k : t . v for t in n . tags } ) except o . InvalidLocationError : logging . debug ( 'InvalidLocationError at node %s' , n . id )
Process each node.
Process each node .