{"id":4107,"date":"2025-03-17T06:40:07","date_gmt":"2025-03-17T06:40:07","guid":{"rendered":"https:\/\/trekking.parcoforestecasentinesi.it\/track\/nature-trail-in-campigna-en-2\/"},"modified":"2025-03-17T06:40:07","modified_gmt":"2025-03-17T06:40:07","slug":"nature-trail-in-campigna-en-2","status":"publish","type":"track","link":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/","title":{"rendered":"Nature Trail in Campigna"},"content":{"rendered":"\t\t\t<!-- Fallback featured image (same markup used by grid_track) -->\n\t\t<section class=\"wm_featured_image_page_header_fallback l-section wpb_row height_small with_img with_overlay wm_header_section\">\n\t\t\t<div class=\"l-section-img loaded wm-header-image\" style=\"background-image: url('https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/Resize\/1440x500\/16958_1440x500.jpg');\"><\/div>\n\t\t\t<div class=\"l-section-h i-cf wm_header_wrapper\"><\/div>\n\t\t<\/section>\n\t\t<div class=\"wm_content_wrapper\">\n\t\t<!-- 1. Featured Image -->\n\t\t\n\t\t<!-- 2. Title -->\n\t\t\t\t\t<h1 class=\"wm_title\">\n\t\t\t\tNature Trail in Campigna\t\t\t<\/h1>\n\t\t\n\t\t<!-- 2.5. Not Accessible Message -->\n\t\t\n\t\t<!-- 3. Taxonomies -->\n\t\t\t\t\t<div class=\"wm_taxonomies\">\n\t\t\t\t\t\t\t\t\t<span class=\"wm_taxonomy_item\">\n\t\t\t\t\t\t<span class=\"wm_taxonomy_name\">Trekking<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\n\t\t<!-- 4. Main content + optional sidebar (same layout as single_poi) -->\n\t\t\t\t\t<div class=\"wm_detail_with_sidebar\">\n\t\t\t\t<div class=\"wm_detail_main_content\">\n\t\t\t\t\n\t\t\t\t<!-- 4. Map -->\n\t\t\t\t\t\t\t\t\t<div class=\"wm_map\">\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tid=\"wm-leaflet-map-track-75556\"\n\t\t\t\t\t\t\tclass=\"wm_leaflet_map\"\n\t\t\t\t\t\t\tdata-geometry='{&quot;type&quot;:&quot;LineString&quot;,&quot;coordinates&quot;:[[11.74128,43.87149,1120],[11.74124,43.87152,1120],[11.74106,43.87154,1120],[11.74101,43.87158,1120],[11.74091,43.8716,1120],[11.74068,43.87157,1134],[11.74053,43.87159,1134],[11.74039,43.87156,1134],[11.74027,43.87159,1134],[11.74022,43.87163,1134],[11.7402,43.8717,1134],[11.74002,43.87194,1143],[11.739953856,43.87198043,1143],[11.739941086,43.872032413,1143],[11.739933794,43.872085831,1143],[11.739941801,43.872213264,1143],[11.740103193,43.872310397,1143],[11.740314422,43.872432171,1143],[11.74045,43.87248,1143],[11.74051,43.87258,1143],[11.74049,43.8728,1176],[11.74045,43.87293,1176],[11.74037,43.87306,1176],[11.74023,43.87315,1176],[11.73984,43.87334,1176],[11.73972,43.87344,1176],[11.73961,43.87365,1196],[11.73937,43.87392,1192],[11.73907,43.87402,1192],[11.73883,43.87404,1192],[11.73865,43.87415,1192],[11.73843,43.87425,1192],[11.73833,43.87432,1182],[11.73807,43.87439,1182],[11.73796,43.87445,1182],[11.73776,43.87451,1182],[11.73745,43.87464,1207],[11.73687,43.875,1192],[11.73668,43.8752,1192],[11.73657,43.87536,1192],[11.73647,43.87557,1210],[11.73647,43.87569,1210],[11.73651,43.87577,1210],[11.73662,43.87597,1210],[11.7367,43.87599,1210],[11.73686,43.87617,1210],[11.73695,43.87622,1210],[11.7373,43.87659,1244],[11.73765,43.87692,1244],[11.73774,43.87714,1244],[11.73777,43.87732,1252],[11.73785,43.87748,1252],[11.73785,43.87775,1252],[11.73773,43.87801,1252],[11.73765,43.87807,1252],[11.73732,43.87816,1256],[11.73717,43.87818,1264],[11.73694,43.87817,1264],[11.73663,43.87825,1264],[11.73545,43.87892,1261],[11.73493,43.87916,1269],[11.73453,43.87932,1263],[11.734,43.8795,1263],[11.73349,43.87955,1269],[11.73296,43.87947,1269],[11.7325,43.87932,1269],[11.73217,43.87925,1282],[11.73182,43.87933,1282],[11.73154,43.87944,1282],[11.73088,43.87961,1292],[11.73033,43.87972,1292],[11.72991,43.87977,1292],[11.72866,43.88017,1305],[11.7287,43.88014,1305],[11.72858,43.87993,1324],[11.72885,43.87972,1304],[11.72915,43.87919,1320],[11.72946,43.87901,1320],[11.72968,43.87886,1320],[11.73011,43.87866,1298],[11.73052,43.87857,1298],[11.73188,43.87854,1278],[11.73232,43.87837,1262],[11.73267,43.87806,1266],[11.73287,43.87758,1266],[11.733,43.87733,1266],[11.73352,43.87703,1233],[11.73386,43.87692,1233],[11.73417,43.87694,1233],[11.73478,43.87693,1222],[11.73498,43.87689,1222],[11.73544,43.87679,1222],[11.73576,43.87661,1222],[11.73595,43.87639,1227],[11.73611,43.87576,1210],[11.73626,43.87555,1210],[11.7364,43.87547,1210],[11.73636,43.8754,1192],[11.73639,43.87535,1192],[11.73648,43.87505,1192],[11.73642,43.87484,1192],[11.73644,43.87472,1192],[11.73642,43.87468,1192],[11.73635,43.87462,1192],[11.73634,43.87457,1192],[11.73672,43.87408,1190],[11.73697,43.87391,1190],[11.73714,43.87383,1182],[11.73722,43.87373,1182],[11.73744,43.87348,1175],[11.73761,43.87316,1175],[11.73776,43.87275,1175],[11.73793,43.87266,1200],[11.73822,43.87257,1200],[11.73838,43.87254,1154],[11.73857,43.87245,1154],[11.73873,43.87235,1154],[11.73882,43.87232,1154],[11.73888,43.87232,1154],[11.73898,43.87231,1154],[11.73915,43.87238,1154],[11.73934,43.8724,1154],[11.73944,43.87238,1154],[11.73955,43.87234,1143],[11.739695148,43.872239539,1143],[11.739755119,43.872225573,1143],[11.73984547,43.872213226,1143],[11.739880933,43.872207678,1143],[11.739941801,43.872213264,1143]]}'\n\t\t\t\t\t\t\tdata-related-pois='[]'><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_download_links wm_download_links--map\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"wm_download_link\" href=\"https:\/\/geohub.webmapp.it\/api\/ec\/track\/download\/75556.gpx\" download>\n\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-download\"><\/i>\n\t\t\t\t\t\t\t\t\t\tDownload GPX\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<!-- 5. Description -->\n\t\t\t\t\t\t\t\t\t<div class=\"wm_description\">\n\t\t\t\t\t\t<h2>Welcome to Campigna<\/h2>\r\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Traduzione\"><span lang=\"en\">In the Park visitor\u2019s imagination there are animals such as the wolf, the deer or the eagle which appear emblematic of the characteristics and value of this area. Actually, there is a tree, the <em>Abies alba<\/em> silver fir, which admirably sums up the high naturalness of these places and the presence of testimonies of millennial history. <\/span><\/p>\r\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Traduzione\"><span lang=\"en\">The story starring the majestic tree starts from the Monks of Camaldoli, who first equipped themselves with a Forest Code in 1080, devoting a lot of attention to silver fir, determining the transformation of large portions of the mixed deciduous and coniferous forest into almost pure forest formations of <em>Abies alba<\/em>. The columnar and slender posture towards the sky, the evergreen being and therefore a symbol of the continuity of life even in the \u201cdead\u201d season, the exceptional dimensions, are all characteristics that have certainly contributed to creating a mystical and particular charm in the Camaldolese. <\/span><\/p>\r\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Traduzione\"><span lang=\"en\">But what interested men, monks or foresters, was also the precious wood of this tree, whose trunks were particularly sought after for shipbuilding in the shipyards of Pisa and Livorno and used in the construction of the Florence Cathedral. The Nature Path winds inside the Fosso Abetio which, as the toponym says, is an ancient reforestation of silver fir. The observation points will help us to reveal some secrets of this plant symbol of nature and culture.&nbsp; <\/span><\/p>\r\n<ul>\r\n<li class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Traduzione\"><span lang=\"en\"><a href=\"https:\/\/www.parcoforestecasentinesi.it\/sites\/default\/files\/INGLESE%20PIE%20A3%20CAMPIGNA%20corretto_0.pdf\">Download the  description of the path.<\/a><\/span><\/li>\r\n<\/ul>\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<!-- 6. Gallery -->\n\t\t\t\t\t\t\t\t\t<div class=\"wm_gallery\">\n\t\t\t\t\t\t<div class=\"swiper-container wm_swiper\">\n\t\t\t\t\t\t\t<div class=\"swiper-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-slide\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16420.jpg\" data-lightbox=\"track-gallery\" data-title=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16420.jpg\" alt=\"\" loading=\"lazy\">\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-slide\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16637.jpg\" data-lightbox=\"track-gallery\" data-title=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16637.jpg\" alt=\"\" loading=\"lazy\">\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-slide\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16636.jpg\" data-lightbox=\"track-gallery\" data-title=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/16636.jpg\" alt=\"\" loading=\"lazy\">\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"swiper-pagination\"><\/div>\n\t\t\t\t\t\t\t<div class=\"swiper-button-prev\"><\/div>\n\t\t\t\t\t\t\t<div class=\"swiper-button-next\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t\t<!-- 7a. Welcome points (osm2cai only: POIs with identifier punto-accoglienza) -->\n\t\t\t\t\n\t\t\t\t<!-- 7b. Related POIs -->\n\t\t\t\t\n\t\t\t\t<!-- 8. Track Navigation -->\n\t\t\t\t\n\t\t\t\t\t\t\t\t<\/div><!-- .wm_detail_main_content -->\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<aside class=\"wm_detail_sidebar\">\n\t\t\t\t\t\t<div class=\"wm_info_details\">\n\t\t\t\t\t\t\t<h2 class=\"wm_info_details_title\">Information<\/h2>\n\t\t\t\t\t\t\t<div class=\"wm_info_details_grid\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-route\" aria-hidden=\"true\"><\/i> Distance:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">3.5 km<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-clock\" aria-hidden=\"true\"><\/i> Duration Forward:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">120 min<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-clock\" aria-hidden=\"true\"><\/i> Duration Backward:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">60 min<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"><\/i> Ascent:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">200 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-arrow-down\" aria-hidden=\"true\"><\/i> Descent:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">178 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-plus\" aria-hidden=\"true\"><\/i> Start Elevation:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">1127 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wm_info_detail_item\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_label\"><i class=\"fa fa-minus\" aria-hidden=\"true\"><\/i> End Elevation:<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"wm_info_detail_value\">1148 m<\/span>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/aside>\n\t\t\t\t\t\t\t<\/div><!-- .wm_detail_with_sidebar -->\n\t\t\t<\/div>\n\n\t<script>\n\t\tdocument.addEventListener('DOMContentLoaded', function() {\n\t\t\t\t\t\t\t\/\/ Set featured image in page-header section\n\t\t\t\tvar fallbackEl = document.querySelector('.wm_featured_image_page_header_fallback');\n\t\t\t\t\/\/ Try both the original selector and a permissive one (some themes use .page-header on non-header tags).\n\t\t\t\tvar pageHeader = document.querySelector('header.page-header') || document.querySelector('.page-header');\n\t\t\t\tif (pageHeader) {\n\t\t\t\t\tvar wmFeaturedImageUrl = 'https:\/\/ecmedia.s3.eu-central-1.amazonaws.com\/EcMedia\/Resize\/1440x500\/16958_1440x500.jpg';\n\t\t\t\t\tpageHeader.style.backgroundImage = 'url(' + wmFeaturedImageUrl + ')';\n\t\t\t\t\tpageHeader.style.backgroundSize = 'cover';\n\t\t\t\t\tpageHeader.style.backgroundPosition = 'center';\n\t\t\t\t\tpageHeader.style.backgroundRepeat = 'no-repeat';\n\t\t\t\t\tif (fallbackEl) {\n\t\t\t\t\t\t\/\/ Hide fallback only if the theme actually ended up applying a background image.\n\t\t\t\t\t\tvar computedBg = window.getComputedStyle(pageHeader).backgroundImage;\n\t\t\t\t\t\tif (computedBg && computedBg !== 'none') {\n\t\t\t\t\t\t\tfallbackEl.style.display = 'none';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\tif (typeof Swiper !== 'undefined') {\n\t\t\t\tvar swiperContainers = document.querySelectorAll('.wm_swiper');\n\t\t\t\tswiperContainers.forEach(function(container) {\n\t\t\t\t\tvar config = {\n\t\t\t\t\t\tslidesPerView: 1,\n\t\t\t\t\t\tspaceBetween: 10,\n\t\t\t\t\t\tfreeMode: true,\n\t\t\t\t\t\tloop: true\n\t\t\t\t\t};\n\n\t\t\t\t\tvar paginationEl = container.querySelector('.swiper-pagination');\n\t\t\t\t\tif (paginationEl) {\n\t\t\t\t\t\tconfig.pagination = {\n\t\t\t\t\t\t\tel: paginationEl,\n\t\t\t\t\t\t\tclickable: true\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tvar nextEl = container.querySelector('.swiper-button-next');\n\t\t\t\t\tvar prevEl = container.querySelector('.swiper-button-prev');\n\t\t\t\t\tif (nextEl && prevEl) {\n\t\t\t\t\t\tconfig.navigation = {\n\t\t\t\t\t\t\tnextEl: nextEl,\n\t\t\t\t\t\t\tprevEl: prevEl\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tnew Swiper(container, config);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t\/\/ Initialize Leaflet map for Track\n\t\t\t\t\t\t\tvar mapElement = document.getElementById('wm-leaflet-map-track-75556');\n\t\t\t\tif (mapElement && typeof wmInitLeafletMap !== 'undefined') {\n\t\t\t\t\tvar geometryJson = mapElement.getAttribute('data-geometry');\n\t\t\t\t\tvar relatedPoisJson = mapElement.getAttribute('data-related-pois');\n\t\t\t\t\tvar defaultImageUrl = 'https:\/\/trekking.parcoforestecasentinesi.it\/wp-content\/plugins\/wm-package\/assets\/default_image.png';\n\t\t\t\t\twmInitLeafletMap('wm-leaflet-map-track-75556', geometryJson, relatedPoisJson, defaultImageUrl);\n\t\t\t\t}\n\t\t\t\n\t\t\t\/\/ Handle GPX generation from GeoJSON\n\t\t\tvar gpxGenerateLinks = document.querySelectorAll('.wm_download_link--generate');\n\t\t\tgpxGenerateLinks.forEach(function(link) {\n\t\t\t\tlink.addEventListener('click', function(e) {\n\t\t\t\t\te.preventDefault();\n\n\t\t\t\t\tvar trackFeatureJson = this.getAttribute('data-track-feature');\n\t\t\t\t\tvar trackName = this.getAttribute('data-track-name') || 'track';\n\n\t\t\t\t\tif (!trackFeatureJson) {\n\t\t\t\t\t\tconsole.error('Track feature data not found');\n\t\t\t\t\t\talert('Error: Track data not available');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Function to generate and download GPX\n\t\t\t\t\tfunction generateAndDownloadGPX() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tvar trackFeature = JSON.parse(trackFeatureJson);\n\n\t\t\t\t\t\t\t\/\/ Check if togpx is available\n\t\t\t\t\t\t\tif (typeof togpx === 'undefined') {\n\t\t\t\t\t\t\t\tconsole.error('togpx library not loaded');\n\t\t\t\t\t\t\t\talert('Error: GPX generation library not available. Please refresh the page.');\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/ Generate GPX from GeoJSON\n\t\t\t\t\t\t\tvar gpxString = togpx(trackFeature);\n\n\t\t\t\t\t\t\tif (!gpxString || gpxString.trim() === '') {\n\t\t\t\t\t\t\t\tconsole.error('Failed to generate GPX');\n\t\t\t\t\t\t\t\talert('Error: Failed to generate GPX file');\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/ Clean track name for filename (remove spaces and special chars)\n\t\t\t\t\t\t\tvar cleanName = trackName.replace(\/\\s+\/g, '').replace(\/[^a-zA-Z0-9-_]\/g, '') || 'track';\n\n\t\t\t\t\t\t\t\/\/ Create blob and download\n\t\t\t\t\t\t\tvar blob = new Blob([gpxString], {\n\t\t\t\t\t\t\t\ttype: 'application\/gpx+xml'\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tvar url = window.URL.createObjectURL(blob);\n\t\t\t\t\t\t\tvar a = document.createElement('a');\n\t\t\t\t\t\t\ta.href = url;\n\t\t\t\t\t\t\ta.download = cleanName + '.gpx';\n\t\t\t\t\t\t\tdocument.body.appendChild(a);\n\t\t\t\t\t\t\ta.click();\n\t\t\t\t\t\t\tdocument.body.removeChild(a);\n\t\t\t\t\t\t\twindow.URL.revokeObjectURL(url);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tconsole.error('Error generating GPX:', error);\n\t\t\t\t\t\t\talert('Error: Failed to generate GPX file');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Wait for togpx library to be loaded if not already available\n\t\t\t\t\tif (typeof togpx !== 'undefined') {\n\t\t\t\t\t\tgenerateAndDownloadGPX();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ Wait a bit for the library to load\n\t\t\t\t\t\tvar attempts = 0;\n\t\t\t\t\t\tvar checkInterval = setInterval(function() {\n\t\t\t\t\t\t\tattempts++;\n\t\t\t\t\t\t\tif (typeof togpx !== 'undefined') {\n\t\t\t\t\t\t\t\tclearInterval(checkInterval);\n\t\t\t\t\t\t\t\tgenerateAndDownloadGPX();\n\t\t\t\t\t\t\t} else if (attempts > 20) {\n\t\t\t\t\t\t\t\tclearInterval(checkInterval);\n\t\t\t\t\t\t\t\talert('Error: GPX generation library failed to load. Please refresh the page.');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 100);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t<\/script>\n\n\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"class_list":["post-4107","track","type-track","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nature Trail in Campigna - PNFC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nature Trail in Campigna - PNFC\" \/>\n<meta property=\"og:url\" content=\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/\" \/>\n<meta property=\"og:site_name\" content=\"PNFC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/\",\"url\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/\",\"name\":\"Nature Trail in Campigna - PNFC\",\"isPartOf\":{\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website\"},\"datePublished\":\"2025-03-17T06:40:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tracks\",\"item\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Nature Trail in Campigna\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website\",\"url\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/\",\"name\":\"PNFC\",\"description\":\"Parco Nazionale Foreste Casentinesi\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/trekking.parcoforestecasentinesi.it\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nature Trail in Campigna - PNFC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/","og_locale":"en_US","og_type":"article","og_title":"Nature Trail in Campigna - PNFC","og_url":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/","og_site_name":"PNFC","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/","url":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/","name":"Nature Trail in Campigna - PNFC","isPartOf":{"@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website"},"datePublished":"2025-03-17T06:40:07+00:00","breadcrumb":{"@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/nature-trail-in-campigna-en-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/"},{"@type":"ListItem","position":2,"name":"Tracks","item":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/track\/"},{"@type":"ListItem","position":3,"name":"Nature Trail in Campigna"}]},{"@type":"WebSite","@id":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/#website","url":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/","name":"PNFC","description":"Parco Nazionale Foreste Casentinesi","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/track\/4107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/track"}],"about":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/types\/track"}],"wp:attachment":[{"href":"https:\/\/trekking.parcoforestecasentinesi.it\/en\/wp-json\/wp\/v2\/media?parent=4107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}