<commit_before><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>rws2gpx</title>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet.css" />
    <script src="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet-src.js"></script>

    <style type="text/css">
        html, body { width: 100%; height: 100%; margin: 0; }
        #map { width: 100%; height: 100%; }
    </style>
</head>

<body>
    <div id="map"></div>
    <script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>

    <script type="text/javascript">
        var map = L.map('map').setView([52.5, 4], 8);

        L.tileLayer('http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
            maxZoom: 19,
            attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>'
        }).addTo(map);

        var markers = L.geoJson(null, {
            pointToLayer: function (feature, latlng) {
                return L.circleMarker(latlng, {
                    radius: 2
                }).bindPopup(L.Util.template('<h2>{name}</h2><p>{desc}</p>', feature.properties));
            }
        }).addTo(map);
        omnivore.gpx('../output/160428/alles.gpx', null, markers);

    </script>
</body>
</html><commit_msg>Add bounds to debug map<commit_after><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>rws2gpx</title>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet.css" />
    <script src="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet-src.js"></script>

    <style type="text/css">
        html, body { width: 100%; height: 100%; margin: 0; }
        #map { width: 100%; height: 100%; }
    </style>
</head>

<body>
    <div id="map"></div>
    <script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>

    <script type="text/javascript">
        var map = L.map('map').setView([52.5, 4], 8);

        L.tileLayer('http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
            maxZoom: 19,
            attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>'
        }).addTo(map);

        var gpxLayer = L.geoJson(null, {
            pointToLayer: function (feature, latlng) {
                feature.properties.desc = feature.properties.desc.replace(/\n/g, '<br />');

                return L.circleMarker(latlng, {
                    radius: 2
                }).bindPopup(L.Util.template('<h2>{name}</h2><p>{desc}</p>', feature.properties));
            }
        }).addTo(map);

        var boundsLayer = L.geoJson(null, {
            style: {
                color: '#444',
                weight: 2,
                fill: false
            }
        })

        omnivore.geojson('bounds.geojson', null, boundsLayer).addTo(map);
        omnivore.gpx('../output/160428/alles.gpx', null, gpxLayer);
    </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.19838809671419716, 'fraction_numerical': 0.02727836329820211, 'mean_word_length': 2.414814814814815, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 62, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2170388', 'n_tokens_mistral': 1218, 'n_tokens_neox': 1126, 'n_words': 173}