don't close polylines
This commit is contained in:
parent
fbd9b20dfd
commit
ba068f5c93
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class SVGImage:
|
||||||
+ '"/>')
|
+ '"/>')
|
||||||
if isinstance(geom, LineString):
|
if isinstance(geom, LineString):
|
||||||
return ('<path d="' +
|
return ('<path d="' +
|
||||||
' '.join('M %.1f %.1f L %s z' % (geom.coords[0][0], geom.coords[0][1],
|
' '.join('M %.1f %.1f L %s' % (geom.coords[0][0], geom.coords[0][1],
|
||||||
' '.join(('%.1f %.1f' % (c[0], c[1])) for c in geom.coords[1:])))
|
' '.join(('%.1f %.1f' % (c[0], c[1])) for c in geom.coords[1:])))
|
||||||
+ '"/>')
|
+ '"/>')
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue