// License: GPL. For details, see LICENSE file. package org.openstreetmap.beboj.client.data; import org.openstreetmap.josm.Main; import org.openstreetmap.josm.data.coor.LatLon; import org.openstreetmap.josm.data.osm.Node; import org.openstreetmap.josm.data.osm.OsmPrimitive; import org.openstreetmap.josm.data.osm.Way; import org.openstreetmap.josm.gui.layer.OsmDataLayer; public class SampleDataSet { public static void loadSampleDataSet() { // data: www.openstreetmap.de (cc-by-sa) OsmDataLayer l = Main.main.getEditLayer(); Node n1178281545 = new Node(new LatLon(51.1222947,1.3074854)); Node n810359889 = new Node(new LatLon(51.1266023,1.3117126)); Node n789748361 = new Node(new LatLon(51.1296502,1.3219162)); Node n789748358 = new Node(new LatLon(51.1298047,1.3215148)); Node n789748355 = new Node(new LatLon(51.129985,1.3210073)); Node n819908215 = new Node(new LatLon(51.1298739,1.3211789)); Node n292390858 = new Node(new LatLon(51.1297154,1.3209035)); Node n292390857 = new Node(new LatLon(51.1297433,1.3208533)); Node n292390854 = new Node(new LatLon(51.1297877,1.3207126)); Node n292390855 = new Node(new LatLon(51.1297705,1.320787)); Node n292390853 = new Node(new LatLon(51.1299349,1.3205684)); Node n292390850 = new Node(new LatLon(51.1300699,1.3206285)); Node n819908167 = new Node(new LatLon(51.1293388,1.3210815)); Node n292390851 = new Node(new LatLon(51.1300319,1.3206039)); Node n292390848 = new Node(new LatLon(51.1301134,1.3208147)); Node n1178281596 = new Node(new LatLon(51.1230244,1.3066256)); Node n789748205 = new Node(new LatLon(51.129297,1.3215195)); Node n1178281482 = new Node(new LatLon(51.1221875,1.3074896)); Node n470516361 = new Node(new LatLon(51.1295755,1.3207342)); Node n789748221 = new Node(new LatLon(51.1296098,1.3218411)); Node n292390847 = new Node(new LatLon(51.1300695,1.320919)); Node n292390846 = new Node(new LatLon(51.1300897,1.3206915)); Node n292390832 = new Node(new LatLon(51.1298448,1.3210925)); Node n292390835 = new Node(new LatLon(51.1296823,1.3217224)); Node n789748212 = new Node(new LatLon(51.1292223,1.3217432)); Node n292390834 = new Node(new LatLon(51.1298557,1.321292)); Node n789748715 = new Node(new LatLon(51.1294346,1.3214476)); Node n789748172 = new Node(new LatLon(51.1295797,1.3221395)); Node n789748169 = new Node(new LatLon(51.1294922,1.321925)); Node n789748165 = new Node(new LatLon(51.1293777,1.3217962)); Node n789748704 = new Node(new LatLon(51.129502,1.3209434)); Node n696029560 = new Node(new LatLon(51.1258838,1.312753)); Node n789748160 = new Node(new LatLon(51.1292902,1.3219142)); Node n789748710 = new Node(new LatLon(51.1293,1.321233)); Node n696029562 = new Node(new LatLon(51.1260525,1.3128194)); Node n789748191 = new Node(new LatLon(51.1293171,1.3219786)); Node n789748184 = new Node(new LatLon(51.1294383,1.3220644)); Node n819908120 = new Node(new LatLon(51.129513,1.3218332)); Node n789748187 = new Node(new LatLon(51.1293642,1.3219571)); Node n789748180 = new Node(new LatLon(51.1293979,1.3221181)); Node n789748723 = new Node(new LatLon(51.129475,1.3216622)); Node n789748720 = new Node(new LatLon(51.1293875,1.3215227)); Node n789748176 = new Node(new LatLon(51.1294316,1.3222254)); Node n789748725 = new Node(new LatLon(51.1297241,1.321276)); Node n789748247 = new Node(new LatLon(51.1301686,1.3205751)); Node n789748245 = new Node(new LatLon(51.1302494,1.3207575)); Node n789748242 = new Node(new LatLon(51.130108,1.3209721)); Node n1178281675 = new Node(new LatLon(51.1229198,1.3067025)); Node n789748251 = new Node(new LatLon(51.1300878,1.3205214)); Node n789748249 = new Node(new LatLon(51.130135,1.3206287)); Node n469819943 = new Node(new LatLon(51.1229729,1.308425)); Node n469819942 = new Node(new LatLon(51.1232942,1.3078085)); Node n469819941 = new Node(new LatLon(51.1234218,1.3078239)); Node n469819940 = new Node(new LatLon(51.1234342,1.3076329)); Node n789748229 = new Node(new LatLon(51.1296165,1.3220664)); Node n469819939 = new Node(new LatLon(51.1229479,1.3068479)); Node n789748225 = new Node(new LatLon(51.1295492,1.3219698)); Node n469819950 = new Node(new LatLon(51.122317,1.3072986)); Node n789748239 = new Node(new LatLon(51.1299128,1.3215836)); Node n469819949 = new Node(new LatLon(51.1222904,1.308471)); Node n469819948 = new Node(new LatLon(51.1228631,1.3084972)); Node n469819946 = new Node(new LatLon(51.1228599,1.3086315)); Node n789748235 = new Node(new LatLon(51.1298389,1.3217589)); Node n789748232 = new Node(new LatLon(51.1296839,1.3220557)); Node n469819944 = new Node(new LatLon(51.1229711,1.3086259)); Node n789748277 = new Node(new LatLon(51.1299464,1.3206716)); Node n789748273 = new Node(new LatLon(51.1300837,1.3207691)); Node n789748275 = new Node(new LatLon(51.1300407,1.3209077)); Node n789748284 = new Node(new LatLon(51.1297579,1.3205214)); Node n789748281 = new Node(new LatLon(51.1298118,1.3204893)); Node n819908071 = new Node(new LatLon(51.1295955,1.3218091)); Node n819908067 = new Node(new LatLon(51.1294454,1.3208581)); Node n789748271 = new Node(new LatLon(51.1300205,1.3205322)); Node n789748307 = new Node(new LatLon(51.1290981,1.3214763)); Node n789748305 = new Node(new LatLon(51.1291654,1.3213797)); Node n789748310 = new Node(new LatLon(51.1292866,1.3217016)); Node n789748315 = new Node(new LatLon(51.1292731,1.3215407)); Node n789748312 = new Node(new LatLon(51.1293203,1.3216372)); Node n789748319 = new Node(new LatLon(51.1292125,1.3215836)); Node n789748289 = new Node(new LatLon(51.1295694,1.3205536)); Node n789748294 = new Node(new LatLon(51.1293876,1.3206502)); Node n789748299 = new Node(new LatLon(51.1292462,1.3207897)); Node n789748302 = new Node(new LatLon(51.1291789,1.3210579)); Node n789748579 = new Node(new LatLon(51.1293123,1.3212284)); Node n789748338 = new Node(new LatLon(51.1294819,1.3207897)); Node n789748341 = new Node(new LatLon(51.1294482,1.3206931)); Node n789748583 = new Node(new LatLon(51.1292972,1.3214459)); Node n696029691 = new Node(new LatLon(51.1259665,1.313374)); Node n789748343 = new Node(new LatLon(51.1295694,1.3206395)); Node n789748581 = new Node(new LatLon(51.1292976,1.3213815)); Node n789748347 = new Node(new LatLon(51.1297512,1.320618)); Node n696029680 = new Node(new LatLon(51.1257978,1.3133075)); Node n789748350 = new Node(new LatLon(51.1299128,1.3207789)); Node n789748323 = new Node(new LatLon(51.1291923,1.3215085)); Node n1178281648 = new Node(new LatLon(51.12219,1.3073259)); Node n1178281651 = new Node(new LatLon(51.1233193,1.3075955)); Node n789748326 = new Node(new LatLon(51.1292395,1.3214119)); Node n789748330 = new Node(new LatLon(51.1292664,1.3211974)); Node n819908013 = new Node(new LatLon(51.1293583,1.3209773)); Node n789748334 = new Node(new LatLon(51.1293337,1.3209506)); Way w64003110 = new Way(); w64003110.addNode(n789748160); w64003110.addNode(n789748165); w64003110.addNode(n789748169); w64003110.addNode(n789748172); w64003110.addNode(n789748176); w64003110.addNode(n789748180); w64003110.addNode(n789748184); w64003110.addNode(n789748187); w64003110.addNode(n789748191); w64003110.addNode(n789748160); Way w64003114 = new Way(); w64003114.addNode(n789748704); w64003114.addNode(n789748710); w64003114.addNode(n789748715); w64003114.addNode(n789748720); w64003114.addNode(n789748723); w64003114.addNode(n789748725); w64003114.addNode(n789748704); Way w64003112 = new Way(); w64003112.addNode(n789748221); w64003112.addNode(n789748225); w64003112.addNode(n789748229); w64003112.addNode(n789748232); w64003112.addNode(n789748235); w64003112.addNode(n789748239); w64003112.addNode(n789748242); w64003112.addNode(n789748245); w64003112.addNode(n789748247); w64003112.addNode(n789748249); w64003112.addNode(n789748251); w64003112.addNode(n789748271); w64003112.addNode(n789748273); w64003112.addNode(n789748275); w64003112.addNode(n789748277); w64003112.addNode(n789748281); w64003112.addNode(n789748284); w64003112.addNode(n789748289); w64003112.addNode(n789748294); w64003112.addNode(n789748299); w64003112.addNode(n789748302); w64003112.addNode(n789748305); w64003112.addNode(n789748307); w64003112.addNode(n789748212); w64003112.addNode(n789748310); w64003112.addNode(n789748312); w64003112.addNode(n789748315); w64003112.addNode(n789748319); w64003112.addNode(n789748323); w64003112.addNode(n789748326); w64003112.addNode(n789748330); w64003112.addNode(n789748334); w64003112.addNode(n789748338); w64003112.addNode(n789748341); w64003112.addNode(n789748343); w64003112.addNode(n789748347); w64003112.addNode(n789748350); w64003112.addNode(n789748355); w64003112.addNode(n789748358); w64003112.addNode(n789748361); w64003112.addNode(n789748221); Way w55400292 = new Way(); w55400292.addNode(n696029562); w55400292.addNode(n696029691); w55400292.addNode(n696029680); w55400292.addNode(n696029560); w55400292.addNode(n696029562); Way w26658037 = new Way(); w26658037.addNode(n292390847); w26658037.addNode(n292390848); w26658037.addNode(n292390846); w26658037.addNode(n292390850); w26658037.addNode(n292390851); w26658037.addNode(n292390853); w26658037.addNode(n292390854); w26658037.addNode(n292390855); w26658037.addNode(n292390857); w26658037.addNode(n292390858); Way w39219533 = new Way(); w39219533.addNode(n469819939); w39219533.addNode(n1178281675); w39219533.addNode(n1178281596); w39219533.addNode(n1178281651); w39219533.addNode(n469819940); w39219533.addNode(n469819941); w39219533.addNode(n469819942); w39219533.addNode(n469819943); w39219533.addNode(n469819944); w39219533.addNode(n469819946); w39219533.addNode(n469819948); w39219533.addNode(n469819949); w39219533.addNode(n1178281545); w39219533.addNode(n1178281482); w39219533.addNode(n1178281648); w39219533.addNode(n469819950); w39219533.addNode(n469819939); Way w26658029 = new Way(); w26658029.addNode(n292390835); w26658029.addNode(n292390834); w26658029.addNode(n819908215); w26658029.addNode(n292390832); w26658029.addNode(n292390858); w26658029.addNode(n470516361); w26658029.addNode(n819908067); w26658029.addNode(n819908013); w26658029.addNode(n819908167); w26658029.addNode(n789748579); w26658029.addNode(n789748581); w26658029.addNode(n789748583); w26658029.addNode(n789748205); w26658029.addNode(n819908120); w26658029.addNode(n819908071); w26658029.addNode(n292390835); for (OsmPrimitive osm : new OsmPrimitive[] { n1178281545,n810359889,n789748361,n789748358,n789748355,n819908215,n292390858,n292390857,n292390854,n292390855,n292390853,n292390850, n819908167,n292390851,n292390848,n1178281596,n789748205,n1178281482,n470516361,n789748221,n292390847,n292390846,n292390832,n292390835, n789748212,n292390834,n789748715,n789748172,n789748169,n789748165,n789748704,n696029560,n789748160,n789748710,n696029562,n789748191, n789748184,n819908120,n789748187,n789748180,n789748723,n789748720,n789748176,n789748725,n789748247,n789748245,n789748242,n1178281675, n789748251,n789748249,n469819943,n469819942,n469819941,n469819940,n789748229,n469819939,n789748225,n469819950,n789748239,n469819949, n469819948,n469819946,n789748235,n789748232,n469819944,n789748277,n789748273,n789748275,n789748284,n789748281,n819908071,n819908067, n789748271,n789748307,n789748305,n789748310,n789748315,n789748312,n789748319,n789748289,n789748294,n789748299,n789748302,n789748579, n789748338,n789748341,n789748583,n696029691,n789748343,n789748581,n789748347,n696029680,n789748350,n789748323,n1178281648,n1178281651, n789748326,n789748330,n819908013,n789748334,w64003110,w64003114,w64003112,w55400292,w26658037,w39219533,w26658029}) { l.data.addPrimitive(osm); } } }