def clock_geometry(self,geo):
        if 'type' in geo:
            if geo['type']=='Polygon' or geo['type']=='MultiLineString':
                geo['coordinates'] = self.clockwise_polygon(geo['coordinates'])
            elif geo['type']=='MultiPolygon':
                geo['coordinates'] = map(lambda x:self.clockwise_polygon(x),geo['coordinates'])
            elif geo['type']=='LineString':
                geo['coordinates'] = self.clockwise_ring(geo['coordinates'])
        return geo
dataset/ETHPy150Open project-open-data/esri2open/Install/esri2open/topojson/clockwise.py/Clock.clock_geometry/original