File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,21 @@ import { BuildingPart } from '../src/buildingpart.js';
99import { BuildingShapeUtils } from '../src/extras/BuildingShapeUtils.js' ;
1010import { 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+
1227const 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"/>
You can’t perform that action at this time.
0 commit comments