Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit e2463c2

Browse files
author
Pierre GIRAUD
committed
Merge pull request #283 from pgiraud/export_osm_closed_way
Task boundary is now a closed way
2 parents 36505b0 + e861413 commit e2463c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

osmtm/templates/task.osm.mako

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
<% id = id -1 %>
99
% endfor
1010
<way id="-1">
11-
% for i in range(1, len(polygon.exterior.coords) + 1):
11+
% for i in range(1, len(polygon.exterior.coords)):
1212
<nd ref="-${i + 1}"/>
1313
% endfor
14+
<nd ref="-2"/>
1415
<tag k="josm/ignore" v="true" />
1516
</way>
1617
% endfor

0 commit comments

Comments
 (0)