<commit_before>#----------------------------------------------------
#
# CartoOsm style sheet - the current OSM default style
#
#----------------------------------------------------

cd /home/maposmatic/styles
git clone --quiet https://github.com/gravitystorm/openstreetmap-carto.git
cd openstreetmap-carto
git checkout --quiet v4.23.0

ln -s /home/maposmatic/shapefiles data

sed '/\sname:/d' < project.mml > osm.mml
carto -a $(mapnik-config -v) --quiet osm.mml > osm.xml
php /vagrant/files/tools/postprocess-style.php osm.xml

# create color-reduced variant of generated style

php /vagrant/files/tools/make-style-monochrome.php

 
<commit_msg>updated Carto OSM style to v4.24.0<commit_after>#----------------------------------------------------
#
# CartoOsm style sheet - the current OSM default style
#
#----------------------------------------------------

cd /home/maposmatic/styles
git clone --quiet https://github.com/gravitystorm/openstreetmap-carto.git
cd openstreetmap-carto
git checkout --quiet v4.24.0

ln -s /home/maposmatic/shapefiles data

sed '/\sname:/d' < project.mml > osm.mml
carto -a $(mapnik-config -v) --quiet osm.mml > osm.xml
php /vagrant/files/tools/postprocess-style.php osm.xml

# create color-reduced variant of generated style

php /vagrant/files/tools/make-style-monochrome.php

 

{'fraction_non_alphanumeric': 0.26351865955826353, 'fraction_numerical': 0.00913937547600914, 'mean_word_length': 1.9728506787330318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '735606', 'n_tokens_mistral': 442, 'n_tokens_neox': 403, 'n_words': 99}