diff --git a/geotrek/core/static/core/multipath.js b/geotrek/core/static/core/multipath.js index beea2d01a7..46afac820e 100644 --- a/geotrek/core/static/core/multipath.js +++ b/geotrek/core/static/core/multipath.js @@ -335,7 +335,7 @@ L.Handler.MultiPath = L.Handler.extend({ // reset state this.steps = []; - this.computed_paths = []; + //this.computed_paths = []; this.all_edges = []; this.marker_source = this.marker_dest = null; @@ -508,18 +508,6 @@ L.Handler.MultiPath = L.Handler.extend({ var computed_paths = Geotrek.shortestPath(this.graph, this.steps); - let csrftoken = this.getCookie('csrftoken'); - - // var sent_steps_old = [] - // this.steps.forEach((step) => { - // var sent_step = { - // path_length: step.path_length, - // percent_distance: step.percent_distance, - // edge_id: step.polyline.properties.id, - // } - // sent_steps_old.push(sent_step) - // }) - var sent_steps = [] this.steps.forEach((step) => { var sent_step = { @@ -529,12 +517,10 @@ L.Handler.MultiPath = L.Handler.extend({ sent_steps.push(sent_step) }) - console.log('computePaths:', 'graph', this.graph, 'steps', this.steps) - fetch(window.SETTINGS.urls['trek_geometry'], { method: 'POST', headers: { - "X-CSRFToken": csrftoken, + "X-CSRFToken": this.getCookie('csrftoken'), content_type: "application/json" }, body: JSON.stringify({ @@ -545,15 +531,9 @@ L.Handler.MultiPath = L.Handler.extend({ .then(data => { console.log('response:', data) - var refacto_computed_path = { - 'from_pop': this.steps[0], - 'to_pop': this.steps[1], - } - var test_computed_path = { 'computed_paths': computed_paths, 'geojson': data.geojson, - 'trek': data.geojson, } console.log("geojson", data.geojson/* , "trek", data.trek */) @@ -609,7 +589,7 @@ L.Handler.MultiPath = L.Handler.extend({ _onComputedPaths: function(new_computed_paths) { // var self = this; // var old_computed_paths = this.computed_paths; - this.computed_paths = new_computed_paths['computed_paths']; + //this.computed_paths = new_computed_paths['computed_paths']; // compute and store all edges of the new paths (usefull for further computation) this.all_edges = this._extractAllEdges(new_computed_paths['computed_paths']); @@ -617,7 +597,7 @@ L.Handler.MultiPath = L.Handler.extend({ this.fire('computed_paths', { 'computed_paths': new_computed_paths['computed_paths'], 'new_edges': this.all_edges, - 'trek': new_computed_paths['trek'], + 'geojson': new_computed_paths['geojson'], // 'old': old_computed_paths, // 'marker_source': this.marker_source, // 'marker_dest': this.marker_dest @@ -839,7 +819,7 @@ L.Handler.MultiPath = L.Handler.extend({ this.showPathGeom(topology.layer); // Hard-coded polyline - L.geoJson(data.trek, {color:"blue", weight: 10}).addTo(self.map); + //L.geoJson(data.geojson, {color:"blue", weight: 10}).addTo(self.map); this.fire('computed_topology', {topology:topology.serialized}); diff --git a/geotrek/core/static/core/topology_helper.js b/geotrek/core/static/core/topology_helper.js index b1b23e01b7..9d9864edd1 100644 --- a/geotrek/core/static/core/topology_helper.js +++ b/geotrek/core/static/core/topology_helper.js @@ -259,44 +259,71 @@ Geotrek.TopologyHelper = (function() { * @param data : computed_path */ function buildTopologyFromComputedPath(idToLayer, data) { - if (!data.computed_paths) { - return { - layer: null, - serialized: null - } - } + // if (!data.computed_paths) { + // return { + // layer: null, + // serialized: null + // } + // } + var geojson = data['geojson'] + var pathLayer = L.geoJson(geojson, {color:"blue", weight: 10}) var computed_paths = data['computed_paths'] , edges = data['new_edges'] , offset = 0.0 // TODO: input for offset , data = [] , layer = L.featureGroup(); + console.log("computed_paths", computed_paths) console.debug('----'); console.debug('Topology has ' + computed_paths.length + ' sub-topologies.'); - for (var i = 0; i < computed_paths.length; i++ ) { - var cpath = computed_paths[i], - paths = $.map(edges[i], function(edge) { return edge.id; }), - polylines = $.map(edges[i], function(edge) { return idToLayer(edge.id); }); + // for (var i = 0; i < computed_paths.length; i++ ) { + // var cpath = computed_paths[i], + // paths = $.map(edges[i], function(edge) { return edge.id; }), + // polylines = $.map(edges[i], function(edge) { return idToLayer(edge.id); }); + + // var topo = buildSubTopology(paths, + // polylines, + // cpath.from_pop.ll, + // cpath.to_pop.ll, + // offset); + // if (topo === null) break; - var topo = buildSubTopology(paths, - polylines, - cpath.from_pop.ll, - cpath.to_pop.ll, - offset); - if (topo === null) break; + // data.push(topo); + // console.debug('subtopo[' + i + '] : ' + JSON.stringify(topo)); - data.push(topo); - console.debug('subtopo[' + i + '] : ' + JSON.stringify(topo)); + // // Geometry for each sub-topology + // var group_layer = buildGeometryFromTopology(topo, idToLayer); + // // group_layer.from_pop = cpath.from_pop; + // // group_layer.to_pop = cpath.to_pop; + // // group_layer.step_idx = i; + // layer.addLayer(group_layer); + // } - // Geometry for each sub-topology - var group_layer = buildGeometryFromTopology(topo, idToLayer); - group_layer.from_pop = cpath.from_pop; - group_layer.to_pop = cpath.to_pop; - group_layer.step_idx = i; - layer.addLayer(group_layer); + var latlngs = [] + for (var i = 0; i < geojson.coordinates.length - 1; i++) { + var currentCoords = geojson.coordinates[i] + var nextCoords = geojson.coordinates[i + 1] + var newCoords = [ + { + lat: currentCoords[1], + lng: currentCoords[0], + }, + { + lat: nextCoords[1], + lng: nextCoords[0], + }, + ] + latlngs.push(newCoords) } + console.log("latlngs", latlngs) + + var group_layer = L.multiPolyline(latlngs); + group_layer.step_idx = 0 + layer.addLayer(group_layer); + + console.log(pathLayer) console.debug('----'); return { diff --git a/geotrek/core/views.py b/geotrek/core/views.py index 56b08721cb..1540b5621d 100644 --- a/geotrek/core/views.py +++ b/geotrek/core/views.py @@ -835,11 +835,3 @@ def post(self, request): 'coordinates': merged_line_string.coords, }, }) - - trek = { - "type": "LineString", - "coordinates": [ - [5.8921902,44.6888518,1451.0],[5.8920368,44.688848,1450.0],[5.8918196,44.6888427,1450.0],[5.8916025,44.6888373,1450.0],[5.8913771,44.6887051,1450.0],[5.8913211,44.6886722,1450.0],[5.8911518,44.6885729,1449.0],[5.8909265,44.6884407,1447.0],[5.8907777,44.6884446,1446.0],[5.8907187,44.6885704,1444.0],[5.8906597,44.6886963,1442.0],[5.8906033,44.6888946,1440.0],[5.890547,44.6890929,1439.0],[5.890488,44.6893027,1437.0],[5.890429,44.6895124,1435.0],[5.8901876,44.6895086,1433.0],[5.8902719,44.6896295,1431.0],[5.8902885,44.6896336,1430.0],[5.8903788,44.68967,1429.0],[5.8905075,44.6897414,1428.0],[5.8905388,44.6897847,1428.0],[5.890582,44.6898403,1427.0],[5.8904582,44.6898609,1427.0],[5.8903831,44.68988,1426.0],[5.8903027,44.6898952,1426.0],[5.8902007,44.6899295,1426.0],[5.8901364,44.6899524,1425.0],[5.890072,44.6899867,1425.0],[5.890013,44.6900134,1425.0],[5.8899647,44.6900287,1425.0],[5.8898681,44.6900439,1424.0],[5.889793,44.6900478,1424.0],[5.8896858,44.6900401,1424.0],[5.8895946,44.6900211,1424.0],[5.8895007,44.6899951,1424.0],[5.889498,44.6899944,1424.0],[5.8894122,44.6899677,1424.0],[5.889321,44.6899448,1424.0],[5.8892459,44.6899181,1424.0],[5.88916,44.689899,1423.0],[5.889101,44.6898761,1423.0],[5.8890313,44.6898533,1423.0],[5.8889776,44.6898342,1423.0],[5.8889079,44.6898037,1423.0],[5.8888489,44.6897732,1423.0],[5.8887684,44.6897465,1423.0],[5.8886665,44.6897198,1423.0],[5.8885753,44.6896969,1423.0],[5.8884627,44.689674,1423.0],[5.88835,44.689674,1423.0],[5.8882052,44.6896664,1423.0],[5.8880711,44.6896511,1423.0],[5.8879316,44.6896244,1422.0],[5.8877599,44.6895977,1421.0],[5.8876204,44.6895749,1421.0],[5.8875024,44.6895482,1420.0],[5.8873469,44.6895062,1418.0],[5.8872074,44.6894643,1417.0],[5.8870679,44.6894261,1416.0],[5.8869553,44.6893804,1415.0],[5.8868694,44.6893308,1413.0],[5.8867782,44.6892659,1412.0],[5.8866978,44.6892011,1410.0],[5.8866012,44.689102,1408.0],[5.8864993,44.6890181,1407.0],[5.8863813,44.6889265,1406.0],[5.8863062,44.6888769,1405.0],[5.8862042,44.6888007,1403.0],[5.8860916,44.6887282,1402.0],[5.8860058,44.688671,1401.0],[5.8859199,44.68861,1400.0],[5.8858341,44.6885375,1399.0],[5.8857322,44.6884765,1398.0],[5.8856463,44.6884079,1396.0],[5.8855551,44.6883583,1395.0],[5.8854892,44.688321,1394.0],[5.8854126,44.6883059,1392.0],[5.8853212,44.6883461,1390.0],[5.8851847,44.6884668,1389.0],[5.8851528,44.6885146,1388.0],[5.8850831,44.6885985,1386.0],[5.8850402,44.6886596,1383.0],[5.8849919,44.6887015,1381.0],[5.8849436,44.6887549,1379.0],[5.8849007,44.6888197,1378.0],[5.8848578,44.6888846,1376.0],[5.8848149,44.6889608,1375.0],[5.8847773,44.6890295,1373.0],[5.8847344,44.6891134,1372.0],[5.8847129,44.6891897,1370.0],[5.8846968,44.6892659,1369.0],[5.8846754,44.6893422,1368.0],[5.8846378,44.6894071,1367.0],[5.8845842,44.6894604,1365.0],[5.8845359,44.6895062,1364.0],[5.8844393,44.6895596,1363.0],[5.8843535,44.6895863,1361.0],[5.8842838,44.6896092,1360.0],[5.8842087,44.6896359,1359.0],[5.8841014,44.6896626,1358.0],[5.8839995,44.6896855,1356.0],[5.8838922,44.6897236,1355.0],[5.8838117,44.6897388,1354.0],[5.8837473,44.6897617,1353.0],[5.8836776,44.6897732,1352.0],[5.8836025,44.6897808,1350.0],[5.883522,44.6897961,1349.0],[5.8834523,44.6898266,1348.0],[5.883404,44.6898609,1347.0],[5.8833611,44.6898914,1345.0],[5.8832806,44.689941,1344.0],[5.883227,44.6899906,1343.0],[5.8831787,44.6900401,1341.0],[5.8831465,44.6900706,1341.0],[5.8831143,44.690105,1339.0],[5.8830768,44.6901393,1338.0],[5.8830339,44.6901774,1337.0],[5.8830329,44.6901792,1336.0],[5.8830124,44.6902156,1335.0],[5.8830017,44.6902766,1335.0],[5.8830017,44.6903262,1334.0],[5.8830017,44.6903719,1332.0],[5.882991,44.6904177,1331.0],[5.8829641,44.6904558,1330.0],[5.8828837,44.690555,1328.0],[5.8828032,44.6906274,1327.0],[5.8827066,44.690738,1325.0],[5.8826369,44.6908219,1323.0],[5.8825833,44.690902,1321.0],[5.8824921,44.6910393,1319.0],[5.8824867,44.691108,1317.0],[5.8824599,44.6911766,1315.0],[5.8824438,44.6912605,1314.0],[5.8824384,44.6913368,1312.0],[5.8824277,44.6914054,1311.0],[5.8824062,44.6914741,1309.0],[5.8823794,44.6915465,1308.0],[5.8823633,44.6916113,1307.0],[5.8823633,44.6916914,1306.0],[5.8823633,44.6918058,1305.0],[5.8824116,44.6918745,1304.0],[5.8824706,44.6919469,1304.0],[5.8825243,44.6920041,1303.0],[5.8826101,44.6920766,1302.0],[5.8827013,44.6921147,1302.0],[5.8827925,44.6921491,1301.0],[5.8828837,44.6921719,1300.0],[5.882948,44.6922558,1299.0],[5.8829856,44.6923588,1298.0],[5.8830285,44.6924274,1297.0],[5.8830285,44.6924846,1296.0],[5.8830339,44.6925685,1295.0],[5.8830446,44.6926181,1294.0],[5.88305,44.6926868,1293.0],[5.88305,44.6927478,1291.0],[5.8830124,44.6928012,1290.0],[5.8829749,44.6928736,1289.0],[5.8829856,44.6929308,1289.0],[5.8830285,44.6929995,1288.0],[5.8830661,44.6930452,1288.0],[5.8831197,44.693091,1287.0],[5.883168,44.6931215,1286.0],[5.8832324,44.6931787,1285.0],[5.8832431,44.6932207,1284.0],[5.8832055,44.6932473,1283.0],[5.8830768,44.6932397,1282.0],[5.8829856,44.6932321,1280.0],[5.8828676,44.6932283,1279.0],[5.8827549,44.6932283,1277.0],[5.882653,44.6932283,1276.0],[5.8825886,44.6932397,1274.0],[5.8825082,44.6932626,1273.0],[5.882476,44.6933351,1272.0],[5.8824331,44.6934266,1272.0],[5.8824277,44.6935105,1272.0],[5.8824652,44.6935677,1273.0],[5.8825135,44.6936478,1273.0],[5.8826881,44.6937303,1274.0],[5.8828571,44.6938504,1274.0],[5.8830261,44.6939705,1275.0],[5.8830797,44.6940582,1276.0],[5.8830985,44.6942413,1278.0],[5.8831173,44.6944243,1279.0],[5.8832299,44.6946112,1281.0],[5.8833962,44.6947027,1283.0],[5.8835625,44.6947179,1285.0],[5.8837449,44.6946493,1287.0],[5.8838844,44.6945501,1290.0],[5.8840239,44.694451,1292.0],[5.8841553,44.6942927,1295.0],[5.8842867,44.6941345,1297.0],[5.8843887,44.6940239,1299.0],[5.8845603,44.6941269,1302.0],[5.8846622,44.6943137,1304.0],[5.8846944,44.6944052,1306.0],[5.8847964,44.6944014,1308.0],[5.8848178,44.6942718,1309.0],[5.8848446,44.6940906,1311.0],[5.8848715,44.6939095,1312.0],[5.884909,44.6937322,1314.0],[5.8849466,44.6935548,1315.0],[5.8850056,44.6934061,1317.0],[5.8851665,44.693593,1318.0],[5.8852416,44.6937417,1319.0],[5.8853167,44.6938904,1320.0],[5.8853972,44.6940105,1321.0],[5.8854776,44.6941307,1322.0],[5.8855205,44.694287,1324.0],[5.8855635,44.6944434,1325.0],[5.8856815,44.6946302,1326.0],[5.8858558,44.6947713,1328.0],[5.8860302,44.6949124,1330.0],[5.8861482,44.6950459,1331.0],[5.8862662,44.6951793,1333.0],[5.8863842,44.6953128,1335.0],[5.88647,44.6955073,1337.0],[5.8865559,44.6957018,1339.0],[5.8865773,44.6959229,1341.0],[5.8866578,44.6960526,1343.0],[5.8867383,44.6961822,1345.0],[5.8868724,44.6962394,1347.0],[5.8869904,44.6962051,1350.0],[5.8870548,44.6960602,1352.0],[5.887264,44.6959306,1353.0],[5.8873981,44.6959801,1355.0],[5.8874249,44.6961822,1357.0],[5.8875751,44.6962852,1359.0],[5.8877924,44.6963767,1361.0],[5.8880096,44.6964682,1363.0],[5.8881706,44.6965731,1364.0],[5.8883315,44.696678,1366.0],[5.8884978,44.6967314,1368.0],[5.8886641,44.6967847,1371.0],[5.8888626,44.6968839,1373.0],[5.8890181,44.6969754,1376.0],[5.8891737,44.6971508,1379.0],[5.8893293,44.6973262,1382.0],[5.8895036,44.6974692,1385.0],[5.889678,44.6976122,1389.0],[5.8898577,44.6977476,1392.0],[5.8900374,44.6978829,1395.0],[5.8901742,44.6979916,1398.0],[5.890311,44.6981003,1401.0],[5.8905148,44.6981664,1404.0],[5.8907187,44.6982325,1407.0],[5.8909225,44.6982986,1409.0],[5.8911478,44.6983787,1411.0],[5.8913731,44.6984587,1414.0],[5.8915341,44.6984816,1416.0],[5.891695,44.6985045,1417.0],[5.8919437,44.6985245,1419.0],[5.8919848,44.6985135,1421.0],[5.8920041,44.6984949,1422.0],[5.8920106,44.698475,1423.0],[5.8920001,44.6984419,1425.0],[5.8919898,44.6983656,1425.0],[5.8921548,44.6984415,1426.0],[5.8923197,44.6985173,1427.0],[5.8924852,44.6985671,1427.0],[5.8926681,44.6986118,1428.0],[5.8928961,44.6986473,1428.0],[5.8930978,44.6986655,1428.0],[5.8932996,44.6986836,1428.0],[5.8934754,44.6987123,1428.0],[5.8935803,44.6987384,1427.0],[5.8938566,44.698788,1427.0],[5.8941329,44.6988375,1426.0],[5.8944093,44.698887,1426.0],[5.8946856,44.6989365,1425.0],[5.8949442,44.6990199,1425.0],[5.8952028,44.6991032,1424.0],[5.8954614,44.6991865,1423.0],[5.895729,44.6992976,1423.0],[5.8959517,44.6993929,1423.0],[5.8961743,44.6994883,1423.0],[5.8963123,44.6995452,1422.0],[5.8964503,44.6996021,1422.0],[5.8966022,44.699681,1422.0],[5.8968022,44.699764,1422.0],[5.8969605,44.6998094,1422.0],[5.8971189,44.6998548,1422.0],[5.8973456,44.6999651,1422.0],[5.897569,44.7000412,1422.0],[5.89773,44.7000564,1421.0],[5.8978909,44.7000717,1421.0],[5.8981162,44.7001136,1421.0],[5.8983227,44.7001575,1420.0],[5.8985293,44.7002013,1420.0],[5.8987117,44.7002452,1420.0],[5.898894,44.700289,1420.0],[5.899063,44.700371,1419.0],[5.899232,44.700453,1419.0],[5.8994287,44.7005114,1419.0],[5.8996254,44.7005699,1418.0],[5.8997935,44.7006198,1418.0],[5.8998221,44.7006284,1417.0],[5.9000447,44.7006646,1417.0],[5.9002673,44.7007008,1416.0],[5.9004944,44.7007644,1415.0],[5.9007215,44.7008279,1414.0],[5.9009486,44.7008915,1413.0],[5.9011981,44.7009201,1412.0],[5.9014475,44.7009486,1411.0],[5.9016084,44.7009639,1409.0],[5.9017694,44.7009792,1408.0],[5.9020483,44.7010363,1407.0],[5.9023273,44.7010935,1405.0],[5.9024936,44.7011069,1403.0],[5.9026599,44.7011202,1402.0],[5.9028691,44.7010783,1400.0],[5.9030908,44.7010236,1398.0],[5.9033125,44.700969,1395.0],[5.9035343,44.7009143,1393.0],[5.9037542,44.7009315,1391.0],[5.9039741,44.7009486,1388.0],[5.9042263,44.7009868,1386.0],[5.9044784,44.7010249,1384.0],[5.9046793,44.7010416,1383.0],[5.9049153,44.70095,1383.0],[5.9049153,44.70095,1383.0],[5.9050548,44.7008166,1383.0],[5.9051943,44.7006831,1384.0],[5.9052318,44.7004696,1385.0],[5.9052694,44.7002561,1386.0],[5.9051514,44.7001798,1388.0],[5.9050065,44.7002828,1389.0],[5.9048617,44.7003857,1391.0],[5.9046865,44.7002739,1391.0],[5.9045112,44.700162,1392.0],[5.904336,44.7000502,1393.0],[5.9041622,44.699919,1393.0],[5.9039884,44.6997878,1394.0],[5.9038146,44.6996567,1395.0],[5.9036407,44.6995255,1395.0],[5.9034669,44.6993943,1396.0],[5.9033436,44.6992113,1396.0],[5.9032202,44.6990283,1397.0],[5.9030968,44.6988453,1397.0],[5.9029734,44.6986622,1398.0],[5.9027696,44.698525,1398.0],[5.9025657,44.6983877,1398.0],[5.9025067,44.698258,1399.0],[5.9024477,44.6981284,1399.0],[5.9023511,44.6979835,1399.0],[5.9022546,44.6978386,1400.0],[5.9020783,44.697673,1400.0],[5.9019021,44.6975074,1401.0],[5.9017258,44.6973418,1402.0],[5.9015495,44.6971762,1403.0],[5.9013733,44.6970106,1405.0],[5.901197,44.696845,1407.0],[5.9010208,44.6966794,1409.0],[5.9008491,44.6965406,1410.0],[5.9006774,44.6964018,1412.0],[5.9005058,44.696263,1413.0],[5.9003341,44.6961242,1415.0],[5.9001625,44.6959854,1417.0],[5.8999801,44.6959167,1418.0],[5.8997977,44.6958481,1420.0],[5.8996153,44.6957006,1421.0],[5.8994329,44.6955532,1423.0],[5.8992505,44.6954057,1424.0],[5.8990681,44.6952583,1425.0],[5.8988857,44.6951108,1427.0],[5.8987033,44.6949634,1429.0],[5.8985236,44.694795,1431.0],[5.8983439,44.6946265,1433.0],[5.8981642,44.6944581,1435.0],[5.8979845,44.6942897,1436.0],[5.8978048,44.6941213,1438.0],[5.8976251,44.6939528,1440.0],[5.8974132,44.6938623,1442.0],[5.8972013,44.6937717,1444.0],[5.8969894,44.6936811,1446.0],[5.8967775,44.6935906,1447.0],[5.8966114,44.693406,1449.0],[5.8964453,44.6932214,1450.0],[5.8962793,44.6930368,1452.0],[5.8961132,44.6928523,1453.0],[5.8959471,44.6926677,1454.0],[5.8958559,44.6926257,1455.0],[5.8957325,44.6925685,1456.0],[5.8955877,44.6925342,1457.0],[5.8954697,44.6924999,1457.0],[5.8954321,44.6924427,1457.0],[5.8953034,44.6924656,1457.0],[5.8951693,44.6924618,1457.0],[5.8950512,44.6924389,1457.0],[5.89496,44.6923893,1456.0],[5.8948259,44.6922711,1455.0],[5.8947026,44.6921109,1454.0],[5.8945738,44.6920003,1453.0],[5.894502,44.6919513,1453.0],[5.8942876,44.6919083,1452.0],[5.8943217,44.6917982,1451.0],[5.8943217,44.6916139,1451.0],[5.8943217,44.6914296,1451.0],[5.8943217,44.6912452,1450.0],[5.8943031,44.6910795,1450.0],[5.8942845,44.6909138,1450.0],[5.8942804,44.690772,1450.0],[5.8942762,44.6906302,1450.0],[5.8943003,44.6905332,1450.0],[5.8943034,44.6905196,1450.0],[5.8943223,44.6904218,1450.0],[5.8943274,44.6903983,1450.0],[5.8943264,44.6903037,1451.0],[5.8943016,44.6901908,1451.0],[5.8942096,44.6899856,1451.0],[5.8941176,44.6897803,1452.0],[5.8940492,44.6896533,1452.0],[5.8939808,44.6895263,1452.0],[5.8938898,44.6894277,1452.0],[5.8938607,44.6894006,1452.0],[5.8938116,44.6894532,1452.0],[5.8937345,44.6894021,1452.0],[5.8935994,44.6893299,1452.0],[5.8933763,44.6892272,1452.0],[5.8931531,44.6891245,1452.0],[5.8928828,44.6890403,1451.0],[5.8926124,44.688956,1451.0],[5.8923942,44.6888881,1451.0] - ] - } -