WIP with the visualization of Schools from Spain

#registro_centros_es[zoom < 14]{
  marker-fill: #FFCC00;
  marker-width: 10;
  marker-line-color: #FFF;
  marker-line-width: 1.5;
  marker-line-opacity: 1;
  marker-fill-opacity: 0.9;
  marker-comp-op: multiply;
  marker-type: ellipse;
  marker-placement: point;
  marker-allow-overlap: true;
  marker-clip: false;
  marker-multi-policy: largest;
}

#registro_centros_es[zoom > 13]{
  marker-fill: #FFCC00;
  marker-width: 10;
  marker-line-color: #FFF;
  marker-line-width: 1.5;
  marker-line-opacity: 1;
  marker-fill-opacity: 0.9;
  marker-type: ellipse;
  marker-placement: point;
  marker-allow-overlap: true;
  marker-clip: false;
  marker-multi-policy: largest;
}

#registro_centros_es::labels[zoom > 14]{
  text-name: [dee];
  text-face-name: 'DejaVu Sans Book';
  text-size: 10;
  text-label-position-tolerance: 50;
  text-fill: #000;
  text-halo-fill: #FFF;
  text-halo-radius: 1;
  text-dx: 5;
  text-dy: -10;
  text-allow-overlap: false;
  text-placement: point;
  text-placement-type: simple;
}

error: pathspec 'cartocss/spain.mss' did not match any file(s) known to git


Adapted TM2 style

Adapted TM2 style

/**
 * TM2 default style, adapted for [Mapnik Vector
 * Tiles](http://openstreetmap.us/~migurski/vector-datasource/)
 *
 * Datasource: http://localhost:8080/osm.vectiles-water-areas,osm.vectiles-land-usages,osm.vectiles-highroad,osm.vectiles-buildings,osm.vectiles-skeletron,osm.vectiles-pois.json
 */

// Languages: name (local), name_en, name_fr, name_es, name_de
@name: '[name]';

// Common Colors //
@water: #c3e6ff;
@park: #cec;

Map {
  background-color:#fff;
}

// Political boundaries //

#admin {
  line-join: round;
  line-color: #bbe;
  [maritime=1] { line-color: darken(@water, 3%); }
  // Countries
  [admin_level=2] {
    line-width: 1.4;
    [zoom>=6] { line-width: 2; }
    [zoom>=8] { line-width: 4; }
    [disputed=1] { line-dasharray: 4,4; }
  }
  // States / Provices / Subregions
  [admin_level>=3] {
    line-width: 0.4;
    line-dasharray: 10,3,3,3;
    [zoom>=6] { line-width: 1; }
    [zoom>=8] { line-width: 2; }
    [zoom>=12] { line-width: 3; }
  }
}

// Places //

#country_label[zoom>=3] {
  text-name: @name;
  text-face-name: 'Source Sans Pro Bold';
  text-wrap-width: 100;
  text-wrap-before: true;
  text-fill: #66a;
  text-size: 12;
  [zoom>=3][scalerank=1],
  [zoom>=4][scalerank=2],
  [zoom>=5][scalerank=3],
  [zoom>=6][scalerank>3] {
    text-size: 14;
  }
  [zoom>=4][scalerank=1],
  [zoom>=5][scalerank=2],
  [zoom>=6][scalerank=3],
  [zoom>=7][scalerank>3] {
    text-size: 16;
  }
}

#country_label_line {
  line-color: #324;
  line-opacity: 0.05;
}

#place_label {
  [type='city'][zoom<=15] {
    text-name: @name;
    text-face-name: 'Source Sans Pro Semibold';
    text-fill: #444;
    text-size: 16;
    text-wrap-width: 100;
    text-wrap-before: true;
    [zoom>=10] { text-size: 18; }
    [zoom>=12] { text-size: 24; }
  }
  [type='town'][zoom<=17] {
    text-name: @name;
    text-face-name: 'Source Sans Pro Regular';
    text-fill: #333;
    text-size: 14;
    text-wrap-width: 100;
    text-wrap-before: true;
    [zoom>=10] { text-size: 16; }
    [zoom>=12] { text-size: 20; }
  }
  [type='village'] {
    text-name: @name;
    text-face-name: 'Source Sans Pro Regular';
    text-fill: #444;
    text-size: 12;
    text-wrap-width: 100;
    text-wrap-before: true;
    [zoom>=12] { text-size: 14; }
    [zoom>=14] { text-size: 18; }
  }
  [type='hamlet'],
  [type='suburb'],
  [type='neighbourhood'] {
    text-name: @name;
    text-face-name: 'Source Sans Pro Regular';
    text-fill: #666;
    text-size: 12;
    text-wrap-width: 100;
    text-wrap-before: true;
    [zoom>=14] { text-size: 14; }
    [zoom>=16] { text-size: 16; }
  }
}

// Water Features //

#water-areas {
  polygon-fill: @water;
  polygon-gamma: 0.6;
}

#water-areas {
  [zoom<=13],  // automatic area filtering @ low zooms
  [zoom>=14][area>500000],
  [zoom>=16][area>10000],
  [zoom>=17] {
    text-name: @name;
    text-face-name: 'Source Sans Pro Italic';
    text-fill: darken(@water, 30%);
    text-size: 13;
    text-wrap-width: 100;
    text-wrap-before: true;
  }
}

#waterway {
  [type='river'],
  [type='canal'] {
    line-color: @water;
    line-width: 0.5;
    [zoom>=12] { line-width: 1; }
    [zoom>=14] { line-width: 2; }
    [zoom>=16] { line-width: 3; }
  }
  [type='stream'] {
    line-color: @water;
    line-width: 0.5;
    [zoom>=14] { line-width: 1; }
    [zoom>=16] { line-width: 2; }
    [zoom>=18] { line-width: 3; }
  }
}

// Landuse areas //

#land-usages {
  polygon-fill: @park;
}

#area_label {
  [class='park'] {
    [zoom<=13],  // automatic area filtering @ low zooms
    [zoom>=14][area>500000],
    [zoom>=16][area>10000],
    [zoom>=17] {
      text-name: @name;
      text-face-name: 'Source Sans Pro Italic';
      text-fill: darken(@park, 50%);
      text-size: 13;
      text-wrap-width: 100;
      text-wrap-before: true;
    }
  }
}

// Buildings //

#buildings {
  polygon-fill: #f9f0e3;
}

// Roads & Railways //

#road-lines[is_tunnel='yes'] { opacity: 0.5; }

#road-lines {
  ['mapnik::geometry_type'=2] {
    line-color: #f00;
    line-width: 0.5;
    [kind='highway'],
    [kind='major_road'] {
      [zoom>=10] { line-width: 1; }
      [zoom>=12] { line-width: 2; }
      [zoom>=14] { line-width: 3; }
      [zoom>=16] { line-width: 5; }
    }
    [kind='minor_road'] {
      [zoom>=14] { line-width: 1; }
      [zoom>=16] { line-width: 2; }
    }
    [class='street_limited'] { line-dasharray: 4,1; }
  }
}

error: pathspec 'map.mss' did not match any file(s) known to git


changes in files project.mll and roads.mss

changed username and password in projetc.mml file and changed main higway sign background color same as other roads name sign color

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/ThinkDigital/osm-carto.git/'


Remove #highway-junctions from road.mss

Remove #highway-junctions from road.mss


Finished styling all roads in zoom level 9

Changed the width of primary and secondary roads


cleaned project

cleaned project


Remove test color for beaches

Remove test color for beaches

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/terotic/hel-service-map-light.git/'


Mior fixes

Mior fixes

Removed feature = 'railway_INT-spur-siding-yard' bridge casing
Minor with change with highway_motorway zoom level 12


Finished styling all roads in zoom level 9


Adding zoom levels example

Adding zoom levels example

/**

 Zoom level overrides:

 should decompose into

 <Style name="#world">
    <Rule>
      <!-- extrapolated from base rule without filter -->
      <MaxScaleDenominator>5</MaxScaleDenominator>
      <LineSymbolizer width="1" />
    </Rule>
    <Rule>
      <MinScaleDenominator>5</MinScaleDenominator>
      <MaxScaleDenominator>6</MaxScaleDenominator>
      <LineSymbolizer width="5" />
    </Rule>
    <Rule>
      <MinScaleDenominator>6</MinScaleDenominator>
      <MaxScaleDenominator>7</MaxScaleDenominator>
      <LineSymbolizer width="6" />
    </Rule>
    <Rule>
      <MinScaleDenominator>7</MinScaleDenominator>
      <LineSymbolizer width="7" />
    </Rule>
  </Style>

*/

#world {
  line-width: 1;
}

#world [zoom > 5] {
  line-width: 5;
}

#world [zoom > 6] {
  line-width: 6;
}

#world [zoom > 7] {
  line-width: 7;
}

error: pathspec 'test/mess/zoom_levels.mss' did not match any file(s) known to git