def next(self): """:: >>> test_vect = Vector(test_vector_name) >>> test_vect.open(mode='r') >>> test_vect.next() Point(10.000000, 6.000000) >>> test_vect.next() Point(12.000000, 6.000000) >>> test_vect.close() .. """ return read_next_line(self.c_mapinfo, self.table, self.writeable, is2D=not self.is_3D())
def next(self): """:: >>> cens = Vector('census') >>> cens.open(mode='r') >>> cens.next() Boundary(v_id=None) >>> cens.next() Boundary(v_id=None) >>> cens.close() .. """ return read_next_line(self.c_mapinfo, self.table, self.writable, is2D=not self.is_3D())