@@ -49,13 +49,44 @@ const initialData = `<osm version="0.6" generator="openstreetmap-cgimap 2.1.0 (1
4949<tag k="ref:GB:uprn" v="906700381676"/>
5050<tag k="takeaway" v="yes"/>
5151</way>
52- </osm>
53- ` ;
52+ </osm>` ;
5453
5554// Step 2: get the bounding box data for the buiding from the API
5655const mapData = `<?xml version="1.0" encoding="UTF-8"?>
5756<osm version="0.6" generator="openstreetmap-cgimap 2.1.0 (1885089 spike-08.openstreetmap.org)" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
58- <bounds minlat="55.8550736" minlon="4.3312518" maxlat="55.8551787" maxlon="4.3313915"/>
57+ <bounds minlat="55.8550736" minlon="4.3312518" maxlat="55.8551787" maxlon="4.3313915"/>
58+ <node id="13116569240" visible="true" version="1" changeset="171414308" timestamp="2025-09-03T15:51:12Z" user="zuzak" uid="237340" lat="55.8551787" lon="-4.3313915"/>
59+ <node id="13116569241" visible="true" version="1" changeset="171414308" timestamp="2025-09-03T15:51:12Z" user="zuzak" uid="237340" lat="55.8550939" lon="-4.3314236"/>
60+ <node id="13116569242" visible="true" version="1" changeset="171414308" timestamp="2025-09-03T15:51:12Z" user="zuzak" uid="237340" lat="55.8551585" lon="-4.3312202"/>
61+ <node id="13116569244" visible="true" version="1" changeset="171414308" timestamp="2025-09-03T15:51:12Z" user="zuzak" uid="237340" lat="55.8550736" lon="-4.3312518"/>
62+ <node id="13116569245" visible="true" version="1" changeset="171414308" timestamp="2025-09-03T15:51:12Z" user="zuzak" uid="237340" lat="55.8551741" lon="-4.3313520"/>
63+ <node id="13116569248" visible="true" version="1" changeset="171414308" timestamp="2025-09-03T15:51:12Z" user="zuzak" uid="237340" lat="55.8551621" lon="-4.3312507"/>
64+ <way id="1426868383" visible="true" version="2" changeset="175381161" timestamp="2025-12-02T00:38:17Z" user="philipcullen" uid="8857">
65+ <nd ref="13116569242"/>
66+ <nd ref="13116569248"/>
67+ <nd ref="13116569245"/>
68+ <nd ref="13116569240"/>
69+ <nd ref="13116569241"/>
70+ <nd ref="13116569244"/>
71+ <nd ref="13116569242"/>
72+ <tag k="addr:city" v="Glasgow"/>
73+ <tag k="addr:country" v="GB"/>
74+ <tag k="addr:housenumber" v="183"/>
75+ <tag k="addr:postcode" v="G51 4DJ"/>
76+ <tag k="addr:street" v="Shieldhall Road"/>
77+ <tag k="amenity" v="fast_food"/>
78+ <tag k="brand" v="Greggs"/>
79+ <tag k="brand:wikidata" v="Q3403981"/>
80+ <tag k="brand:wikipedia" v="en:Greggs"/>
81+ <tag k="building" v="yes"/>
82+ <tag k="building:levels" v="2"/>
83+ <tag k="contact:website" v="https://www.greggs.co.uk/shop-finder?shop-code=1884"/>
84+ <tag k="cuisine" v="sandwich;bakery"/>
85+ <tag k="fhrs:id" v="47551"/>
86+ <tag k="name" v="Greggs"/>
87+ <tag k="ref:GB:uprn" v="906700381676"/>
88+ <tag k="takeaway" v="yes"/>
89+ </way>
5990</osm>
6091` ;
6192
0 commit comments