def degree(self, vertex):
        try:
            return len(self.vertices[vertex]['edges'])
        except KeyError:
            return 0
Returns True if this geometry crosses the other.
dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/graphs/graphs.py/Graph.degree--crossover with--dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/gdal/geometries.py/OGRGeometry.crosses