Module Expr Str Import alias If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias orelse Assign NameStore NameLoad ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad orelse TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad NameLoad TryFinally body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad finalbody Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore BinOpMult NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad NameLoad TryFinally body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad finalbody Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call BinOpMult NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If BoolOpAnd Call NameLoad NameLoad Str CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If Call NameLoad NameLoad Str body TryExcept body Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore Num Assign NameStore Call BinOpMult NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad NameLoad Return Call NameLoad Call SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore Num Assign NameStore Call BinOpMult NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad NameLoad Return Call NameLoad Call SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return NameLoad If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str Str body TryExcept body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str body Return Call Call NameLoad NameLoad Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp Call Call NameLoad NameLoad Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Return Call Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str body Return Call Call NameLoad NameLoad ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp Call Call NameLoad NameLoad ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Return Call Call NameLoad NameLoad NameLoad NameLoad orelse If BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str CompareEq AttributeLoad NameLoad attr Str body Return Call Call NameLoad NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad Call SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return Call NameLoad Call SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Assign NameStore AttributeLoad NameLoad attr Assert Call NameLoad NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad Str body Raise Call NameLoad Str orelse Return ListLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Str body Return ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Return ListLoad Call NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Call NameLoad SubscriptLoad NameLoad Slice NameLoad orelse If CompareLt NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Return ListLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Return Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr comprehension NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str Str body Assign NameStore AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr
N/A N/A Support for various GEOS geometry operations
 N/A sys N/A N/A N/A N/A sys version_info N/A 0 3 N/A itertools izip N/A N/A izip zip ctypes byref c_void_p c_double shapely.geos lgeos shapely.geometry.base geom_factory BaseGeometry shapely.geometry asShape asLineString asMultiLineString Point MultiPoint LineString MultiLineString Polygon MultiPolygon GeometryCollection N/A __all__ N/A cascaded_union linemerge operator polygonize polygonize_full transform unary_union triangulate split CollectionOperator N/A object N/A shapeup N/A N/A self ob N/A N/A N/A N/A isinstance ob BaseGeometry N/A N/A ob N/A N/A N/A N/A N/A asShape ob N/A N/A N/A ValueError N/A N/A N/A asLineString ob N/A polygonize N/A N/A self lines N/A N/A N/A Creates polygons from a source of lines

        The source may be a MultiLineString, a sequence of LineString objects,
        or a sequence of objects than can be adapted to LineStrings.
         N/A source N/A N/A getattr lines geoms None lines N/A N/A N/A N/A N/A source N/A iter source N/A N/A N/A TypeError N/A N/A source N/A source N/A N/A obs N/A N/A N/A self shapeup l N/A l source N/A geom_array_type N/A c_void_p N/A len obs N/A geom_array N/A geom_array_type N/A N/A i line N/A enumerate obs N/A N/A N/A geom_array N/A i N/A line _geom N/A product N/A N/A lgeos GEOSPolygonize N/A byref geom_array N/A len obs N/A collection N/A geom_factory product N/A g N/A collection geoms N/A N/A clone N/A N/A lgeos GEOSGeom_clone N/A g _geom N/A g N/A geom_factory clone N/A N/A g _other_owned False N/A N/A g N/A polygonize_full N/A N/A self lines N/A N/A N/A Creates polygons from a source of lines, returning the polygons
        and leftover geometries.

        The source may be a MultiLineString, a sequence of LineString objects,
        or a sequence of objects than can be adapted to LineStrings.

        Returns a tuple of objects: (polygons, dangles, cut edges, invalid ring
        lines). Each are a geometry collection.

        Dangles are edges which have one or both ends which are not incident on
        another edge endpoint. Cut edges are connected at both ends but do not
        form part of polygon. Invalid ring lines form rings which are invalid
        (bowties, etc).
         N/A source N/A N/A getattr lines geoms None lines N/A N/A N/A N/A N/A source N/A iter source N/A N/A N/A TypeError N/A N/A source N/A source N/A N/A obs N/A N/A N/A self shapeup l N/A l source N/A L N/A len obs N/A subs N/A N/A c_void_p L N/A N/A i g N/A enumerate obs N/A N/A N/A subs N/A i N/A g _geom N/A collection N/A N/A lgeos GEOSGeom_createCollection 5 subs L N/A dangles N/A c_void_p N/A cuts N/A c_void_p N/A invalids N/A c_void_p N/A product N/A N/A lgeos GEOSPolygonize_full collection N/A byref dangles N/A byref cuts N/A byref invalids N/A N/A N/A geom_factory product N/A geom_factory dangles N/A geom_factory cuts N/A geom_factory invalids N/A linemerge N/A N/A self lines N/A N/A N/A Merges all connected lines from a source

        The source may be a MultiLineString, a sequence of LineString objects,
        or a sequence of objects than can be adapted to LineStrings.  Returns a
        LineString or MultiLineString when lines are not contiguous.
         N/A source None N/A N/A N/A hasattr lines type N/A N/A lines type MultiLineString N/A N/A source lines N/A N/A N/A hasattr lines __iter__ N/A N/A N/A N/A source N/A asMultiLineString N/A N/A ls coords N/A ls lines N/A N/A N/A AttributeError N/A N/A source N/A asMultiLineString lines N/A N/A source None N/A N/A N/A ValueError N/A Cannot linemerge %s lines N/A result N/A N/A lgeos GEOSLineMerge N/A source _geom N/A N/A geom_factory result N/A cascaded_union N/A N/A self geoms N/A N/A N/A Returns the union of a sequence of geometries

        This is the most efficient method of dissolving many polygons.
         N/A N/A N/A L N/A len geoms N/A N/A N/A TypeError N/A N/A geoms N/A geoms N/A L 1 N/A subs N/A N/A c_void_p L N/A N/A i g N/A enumerate geoms N/A N/A N/A subs N/A i N/A g _geom N/A collection N/A N/A lgeos GEOSGeom_createCollection 6 subs L N/A N/A geom_factory N/A N/A N/A lgeos methods N/A cascaded_union collection N/A unary_union N/A N/A self geoms N/A N/A N/A Returns the union of a sequence of geometries

        This method replaces :meth:`cascaded_union` as the
        prefered method for dissolving many polygons.

         N/A N/A N/A L N/A len geoms N/A N/A N/A TypeError N/A N/A geoms N/A geoms N/A L 1 N/A subs N/A N/A c_void_p L N/A N/A i g N/A enumerate geoms N/A N/A N/A subs N/A i N/A g _geom N/A collection N/A N/A lgeos GEOSGeom_createCollection 6 subs L N/A N/A geom_factory N/A N/A N/A lgeos methods N/A unary_union collection N/A N/A N/A operator N/A CollectionOperator N/A polygonize N/A operator polygonize N/A polygonize_full N/A operator polygonize_full N/A linemerge N/A operator linemerge N/A cascaded_union N/A operator cascaded_union N/A unary_union N/A operator unary_union triangulate N/A N/A geom tolerance edges N/A 0.0 False N/A N/A Creates the Delaunay triangulation and returns a list of geometries

    The source may be any geometry type. All vertices of the geometry will be
    used as the points of the triangulation.

    From the GEOS documentation:
    tolerance is the snapping tolerance used to improve the robustness of
    the triangulation computation. A tolerance of 0.0 specifies that no
    snapping will take place.

    If edges is False, a list of Polygons (triangles) will be returned.
    Otherwise the list of LineString edges is returned.

     N/A func N/A N/A lgeos methods N/A delaunay_triangulation N/A gc N/A geom_factory N/A func N/A geom _geom tolerance N/A int edges N/A N/A g N/A g N/A gc geoms N/A ValidateOp N/A object N/A __call__ N/A N/A self this N/A N/A N/A N/A N/A lgeos GEOSisValidReason N/A this _geom N/A N/A N/A validate N/A ValidateOp transform N/A N/A func geom N/A N/A N/A Applies `func` to all coordinates of `geom` and returns a new
    geometry of the same type from the transformed coordinates.

    `func` maps x, y, and optionally z to output xp, yp, zp. The input
    parameters may iterable types like lists or arrays or single values.
    The output shall be of the same type. Scalars in, scalars out.
    Lists in, lists out.

    For example, here is an identity function applicable to both types
    of input.

      def id_func(x, y, z=None):
          return tuple(filter(None, [x, y, z]))

      g2 = transform(id_func, g1)

    A partially applied transform function from pyproj satisfies the
    requirements for `func`.

      from functools import partial
      import pyproj

      project = partial(
          pyproj.transform,
          pyproj.Proj(init='epsg:4326'),
          pyproj.Proj(init='epsg:26913'))

      g2 = transform(project, g1)

    Lambda expressions such as the one in

      g2 = transform(lambda x, y, z=None: (x+1.0, y+1.0), g1)

    also satisfy the requirements for `func`.
     N/A N/A geom is_empty N/A N/A geom N/A N/A N/A geom type N/A Point LineString LinearRing Polygon N/A N/A N/A N/A N/A N/A geom type N/A Point LineString LinearRing N/A N/A N/A N/A type geom N/A zip N/A func N/A izip N/A geom coords N/A N/A N/A N/A geom type Polygon N/A N/A shell N/A N/A type N/A geom exterior N/A zip N/A func N/A izip N/A N/A geom exterior coords N/A holes N/A list N/A N/A N/A type ring N/A zip N/A func N/A izip N/A ring coords N/A ring N/A geom interiors N/A N/A N/A type geom shell holes N/A N/A N/A TypeError N/A N/A N/A N/A geom type N/A Point LineString LinearRing N/A N/A N/A N/A type geom N/A N/A func c N/A c N/A geom coords N/A N/A N/A N/A geom type Polygon N/A N/A shell N/A N/A type N/A geom exterior N/A N/A func c N/A c N/A N/A geom exterior coords N/A holes N/A list N/A N/A N/A type ring N/A N/A func c N/A c N/A ring coords N/A ring N/A geom interiors N/A N/A N/A type geom shell holes N/A N/A N/A N/A N/A N/A geom type startswith Multi N/A N/A geom type GeometryCollection N/A N/A N/A N/A type geom N/A N/A transform func part N/A part N/A geom geoms N/A N/A N/A ValueError N/A Type %r not recognized N/A geom type N/A nearest_points N/A N/A g1 g2 N/A N/A N/A Returns the calculated nearest points in the input geometries
    
    The points are returned in the same order as the input geometries.
     N/A seq N/A N/A N/A lgeos methods N/A nearest_points N/A g1 _geom N/A g2 _geom N/A N/A seq None N/A N/A N/A g1 is_empty N/A N/A N/A ValueError The first input geometry is empty N/A N/A N/A ValueError The second input geometry is empty N/A x1 N/A c_double N/A y1 N/A c_double N/A x2 N/A c_double N/A y2 N/A c_double N/A N/A N/A lgeos GEOSCoordSeq_getX seq 0 N/A byref x1 N/A N/A N/A lgeos GEOSCoordSeq_getY seq 0 N/A byref y1 N/A N/A N/A lgeos GEOSCoordSeq_getX seq 1 N/A byref x2 N/A N/A N/A lgeos GEOSCoordSeq_getY seq 1 N/A byref y2 N/A p1 N/A Point N/A x1 value N/A y1 value N/A p2 N/A Point N/A x2 value N/A y2 value N/A N/A p1 p2 N/A snap N/A N/A g1 g2 tolerance N/A N/A N/A Snap one geometry to another with a given tolerance

    Vertices of the first geometry are snapped to vertices of the second
    geometry. The resulting snapped geometry is returned. The input geometries
    are not modified.

    Parameters
    ----------
    g1 : geometry
        The first geometry
    g2 : geometry
        The second geometry
    tolerence : float
        The snapping tolerance

    Example
    -------
    >>> square = Polygon([(1,1), (2, 1), (2, 2), (1, 2), (1, 1)])
    >>> line = LineString([(0,0), (0.8, 0.8), (1.8, 0.95), (2.6, 0.5)])
    >>> result = snap(line, square, 0.5)
    >>> result.wkt
    'LINESTRING (0 0, 1 1, 2 1, 2.6 0.5)'
     N/A N/A geom_factory N/A N/A N/A lgeos methods N/A snap N/A g1 _geom N/A g2 _geom tolerance N/A shared_paths N/A N/A g1 g2 N/A N/A N/A Find paths shared between the two given lineal geometries

    Returns a GeometryCollection with two elements:
     - First element is a MultiLineString containing shared paths with the
       same direction for both inputs.
     - Second element is a MultiLineString containing shared paths with the
       opposite direction for the two inputs.

    Parameters
    ----------
    g1 : geometry
        The first geometry
    g2 : geometry
        The second geometry
     N/A N/A N/A isinstance g1 LineString N/A N/A N/A TypeError First geometry must be a LineString N/A N/A N/A isinstance g2 LineString N/A N/A N/A TypeError Second geometry must be a LineString N/A N/A geom_factory N/A N/A N/A lgeos methods N/A shared_paths N/A g1 _geom N/A g2 _geom N/A SplitOp N/A object N/A _split_polygon_with_line N/A N/A poly splitter N/A N/A N/A Split a Polygon with a LineString N/A N/A isinstance poly Polygon N/A N/A isinstance splitter LineString N/A union N/A N/A N/A poly boundary union splitter N/A N/A pg N/A pg N/A polygonize union N/A N/A poly contains N/A N/A pg representative_point N/A staticmethod _split_line_with_line N/A N/A line splitter N/A N/A N/A Split a LineString with another (Multi)LineString or (Multi)Polygon N/A N/A N/A splitter type N/A Polygon MultiPolygon N/A N/A splitter N/A splitter boundary N/A N/A isinstance line LineString N/A N/A N/A isinstance splitter LineString N/A isinstance splitter MultiLineString N/A N/A N/A splitter crosses line N/A N/A N/A N/A line difference splitter N/A N/A N/A N/A splitter relate_pattern line 1******** N/A N/A N/A ValueError Input geometry segment overlaps with the splitter. N/A N/A N/A line N/A staticmethod _split_line_with_point N/A N/A line splitter N/A N/A N/A Split a LineString with a Point N/A N/A isinstance line LineString N/A N/A isinstance splitter Point N/A N/A N/A N/A line relate_pattern splitter 0******** N/A N/A N/A line N/A distance_on_line N/A N/A line project splitter N/A coords N/A list N/A line coords N/A N/A i p N/A enumerate coords N/A N/A pd N/A N/A line project N/A Point p N/A N/A pd distance_on_line N/A N/A N/A N/A LineString N/A coords N/A N/A i 1 N/A LineString N/A coords N/A i N/A N/A N/A distance_on_line pd N/A N/A cp N/A N/A line interpolate distance_on_line N/A ls1_coords N/A coords N/A i N/A N/A N/A ls1_coords append N/A N/A cp coords N/A 0 N/A ls2_coords N/A N/A N/A cp coords N/A 0 N/A N/A N/A ls2_coords extend N/A coords N/A i N/A N/A N/A LineString ls1_coords N/A LineString ls2_coords N/A staticmethod _split_line_with_multipoint N/A N/A line splitter N/A N/A N/A Split a LineString with a MultiPoint N/A N/A isinstance line LineString N/A N/A isinstance splitter MultiPoint N/A chunks N/A line N/A pt N/A splitter geoms N/A N/A new_chunks N/A N/A chunk chunks N/A N/A N/A N/A new_chunks extend N/A N/A SplitOp _split_line_with_point chunk pt N/A chunks new_chunks N/A chunks N/A staticmethod split N/A N/A geom splitter N/A N/A N/A 
        Splits a geometry by another geometry and returns a collection of geometries. This function is the theoretical
        opposite of the union of the split geometry parts. If the splitter does not split the geometry, a collection
        with a single geometry equal to the input geometry is returned.
        The function supports:
          - Splitting a (Multi)LineString by a (Multi)Point or (Multi)LineString or (Multi)Polygon
          - Splitting a (Multi)Polygon by a LineString

        It may be convenient to snap the splitter with low tolerance to the geometry. For example in the case
        of splitting a line by a point, the point must be exactly on the line, for the line to be correctly split.
        When splitting a line by a polygon, the boundary of the polygon is used for the operation.
        When splitting a line by another line, a ValueError is raised if the two overlap at some segment.

        Parameters
        ----------
        geom : geometry
            The geometry to be split
        splitter : geometry
            The geometry that will split the input geom

        Example
        -------
        >>> pt = Point((1, 1))
        >>> line = LineString([(0,0), (2,2)])
        >>> result = split(line, pt)
        >>> result.wkt
        'GEOMETRYCOLLECTION (LINESTRING (0 0, 1 1), LINESTRING (1 1, 2 2))'
         N/A N/A N/A geom type N/A MultiLineString MultiPolygon N/A N/A N/A GeometryCollection N/A i N/A part N/A geom geoms N/A i N/A N/A N/A SplitOp split part splitter geoms N/A N/A N/A N/A geom type LineString N/A N/A N/A N/A splitter type N/A LineString MultiLineString Polygon MultiPolygon N/A N/A split_func N/A SplitOp _split_line_with_line N/A N/A N/A N/A splitter type Point N/A N/A split_func N/A SplitOp _split_line_with_point N/A N/A N/A N/A splitter type MultiPoint N/A N/A split_func N/A SplitOp _split_line_with_multipoint N/A N/A N/A ValueError N/A Splitting a LineString with a %s is not supported N/A splitter type N/A N/A N/A N/A geom type Polygon N/A N/A N/A N/A splitter type LineString N/A N/A split_func N/A SplitOp _split_polygon_with_line N/A N/A N/A ValueError N/A Splitting a Polygon with a %s is not supported N/A splitter type N/A N/A N/A ValueError N/A Splitting %s geometry is not supported N/A geom type N/A N/A GeometryCollection N/A split_func geom splitter N/A staticmethod N/A N/A split N/A SplitOp split