@property
    def dims(self):
        return capi.get_dims(self.ptr)
Returns the dimension of this Geometry (0=point, 1=line, 2=surface).
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/geos/geometry.py/GEOSGeometry.dims