Skip to content

Commit ca66e23

Browse files
authored
Update gabledroofbug.test.js
1 parent 90eaeef commit ca66e23

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/gabledroofbug.test.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ import { BuildingPart } from '../src/buildingpart.js';
99
import { BuildingShapeUtils } from '../src/extras/BuildingShapeUtils.js';
1010
import { TextEncoder } from 'node:util';
1111

12+
const data1 = `<?xml version="1.0" encoding="UTF-8"?>
13+
<osm version="0.6" generator="openstreetmap-cgimap 2.0.1 (167560 spike-08.openstreetmap.org)" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
14+
<way id="285102551" visible="true" version="1" changeset="22625223" timestamp="2014-05-29T19:08:20Z" user="okilimu" uid="212111">
15+
<nd ref="2887853929"/>
16+
<nd ref="2887853752"/>
17+
<nd ref="2887853750"/>
18+
<nd ref="2887853758"/>
19+
<nd ref="2887853757"/>
20+
<nd ref="2887853916"/>
21+
<nd ref="2887853929"/>
22+
<tag k="building" v="yes"/>
23+
<tag k="roof:shape" v="gabled"/>
24+
</way>
25+
</osm>`;
26+
1227
const data = `<osm version="0.6" generator="openstreetmap-cgimap 2.0.1 (2514279 spike-07.openstreetmap.org)" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
1328
<node id="8091790599" visible="true" version="2" changeset="153088398" timestamp="2024-06-23T22:54:13Z" user="canavan" uid="2603792" lat="50.9208920" lon="7.1707447"/>
1429
<node id="8091790600" visible="true" version="2" changeset="153088398" timestamp="2024-06-23T22:54:13Z" user="canavan" uid="2603792" lat="50.9208175" lon="7.1706533"/>

0 commit comments

Comments
 (0)