Opened 16 years ago
Last modified 13 years ago
#10222 closed
[patch] Add line_merge to GEOS geometries under django.contrib.gis — at Initial Version
Description ¶
In the C API of GEOS, GEOSLineMerge returns a new geometry that is the result of having merged contiguous line strings in a geometry collection or multi-line string geometry.
Example:
>>> geomcoll = fromstr('MULTILINESTRING((1 1, 3 3), (3 3, 4 2))') >>> print geomcoll.line_merge() LINESTRING(1 1, 3 3, 4 2)
Note:
See TracTickets
for help on using tickets.
Patch to add line_merge to geos geometries, with test case