Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/l/i/linz2osm-HEAD/linz2osm/convert/processing/__init__.py   linz2osm(Download)
from linz2osm.convert.processing.base import Error
from linz2osm.convert.processing.river_direction import RiverDirection
from linz2osm.convert.processing.line_reverse import ReverseLine
from linz2osm.convert.processing.poly_winding import PolyWindingCW, PolyWindingCCW
from linz2osm.convert.processing.centroid import Centroid, PointOnSurface

src/l/i/linz2osm-HEAD/linz2osm/convert/processing/tests/test_line_reverse.py   linz2osm(Download)
from django.test import TestCase
 
from django.contrib.gis import geos
 
from linz2osm.convert.processing.line_reverse import ReverseLine
    def test_simple(self):
        l = geos.LineString(((0,0), (1,1)))
 
        p = ReverseLine()
        l2 = p.handle(l)