Commits on May 20, 2014

  1. Add support for rendering "natural=tree-row".

    Very handy for walking navigation, and it prevents from tagging for the
    renderer by mapping things as wood/forest instead for a small section between
    fields or f.e. near railways.
    derickr committed May 20, 2014

Commits on May 21, 2014

  1. Added missing comma, which caused Tilemill-error

    Resolves the following Tilemill-error:
    
    landcover.mss:239:32 [[feature]=power_substation] added to
    [feature]=power_sub_station produces an invalid filter
    floscher committed May 21, 2014
  2. Merge pull request #551 from floscher/comma

    Added missing comma, which caused Tilemill-error
    gravitystorm committed May 21, 2014

Commits on May 22, 2014

  1. Order tunnels by layer

    This makes sure that the group-by on layer for tunnels works correctly,
    and that tunnels are correctly stacked per layer.
    matthijsmelissen committed May 22, 2014
  2. Render building passages as tunnels (correction)

    Building passages are now correctly rendered as tunnels.
    This fix makes sure that such tunnels are not being hidden by the
    non-tunnel rendering, which was rendered in addition to the tunnel
    rendering.
    
    This is a correction of #444.
    matthijsmelissen committed May 22, 2014
  3. Implement track style changes from #136

    This is a rewrite of #205
    
    Closes #205
    
    Fixes #446
    pnorman authored and matthijsmelissen committed May 22, 2014
  4. Small corrections to track style changes

    - Remove comp-op src-over
    - Remove line/background attachments
    - Remove named bridgecase instance
    - Correct comment syntax
    - Remove opacity attribute for tunnels
    - Decrease line-opacity of background
    matthijsmelissen committed May 22, 2014
  5. Remove special layering treatment sport areas

    Sport areas are now ordered just like other landcover areas, i.e. by
    z_order and way_area, instead of on top of other landuse.
    In addition, pitches and tracks are no longer automatically rendered
    on top of stadiums, as way_area should take care of that.
    
    This resolves #394 on Github and #3224 on trac.
    matthijsmelissen committed May 22, 2014

Commits on May 24, 2014

  1. Made some line-colors dependent on their polygon-fill

    Objects with the following tags have now a border-color, that depends on
    the polygons fill-color:
    
    leisure=swimming_pool/playground/track/pitch
    tourism=camp_site/caravan_site/picnic_site
    landuse=field/retail
    natural=field
    power=station/generator/sub_station/substation
    amenity=parking
    aeroway=aerodrome
    
    The dependency of both colors was expressed by adding:
    line-color: saturate(darken(@color, x%), y%)
    with 40 <= x <= 60
    and 0 <= y <= 30
    floscher committed May 24, 2014

Commits on May 25, 2014

  1. Fix rendering of power=substation

    Add SQL change missing from bebb020
    kreed committed May 25, 2014
  2. Added color-variables for buildings and made their line-color depende…

    …nt on their polygon-fill
    
    Affected tags:
    * building=*
    * aeroway=terminal
    * railway=station
    * amenity=place_of_worship
    floscher committed May 25, 2014

Commits on May 26, 2014

  1. Rationalize road sizes

    These changes make sure that more important roads are not rendered
    smaller than less important roads.
    
    - Render motorways from z12 on wider.
    - Render trunk, primary, secondary, and tertiary on z13 and z14 narrower.
    - Render casing on tertiary link wider.
    
    This solves #256.
    matthijsmelissen committed May 26, 2014
  2. Make road casing smaller

    This dimishes optical 'gaps' in the road at side streets
    This was in particular visible at crossings of primary and secondary.
    matthijsmelissen committed May 26, 2014
  3. Render turning loops as turning circles

    This closes #295.
    matthijsmelissen committed May 26, 2014
  4. Clean up turning circle code

    Make order more logical.
    This should not change the rendering.
    matthijsmelissen committed May 26, 2014
  5. Make fill of residential/unclassified/service tunnels grey

    Make the fill of tunnels for highway types residential, unclassified,
    and service tunnels light gray. The old dashed rendering was not
    sufficient to make the distinction clear.
    matthijsmelissen committed May 26, 2014
  6. Fix residential/unclassified casing width on z13

    This fixes two typos.
    matthijsmelissen committed May 26, 2014
  7. Clean up canal rendering.

    This does not change rendering.
    matthijsmelissen committed May 26, 2014

Commits on May 27, 2014

  1. Do not render nature reserve names on z11

    Currently names of small nature reserves clutter the map on z11.
    This commit prevents that.
    matthijsmelissen committed May 27, 2014

Commits on Jun 1, 2014

  1. Make "base" landuse colours more consistent

    "Base" landuse colours have some issues and are generally without a great deal of reason. As some examples
    
    * Lightness is all over the place
    * Of the "base" landuses only ``landuse=retail`` has a border, but it's strong-red, only it's got a width of 0.3 so you don't realize it.
    * ``landuse=retail`` is more closely related to shop POIs than ``landuse=commercial``, but ``landuse=commercial`` has a colour more similar to the shop colours
    
    A few things are done here
    
    * Split out "base" solid landuse colours of residential, retail, commercial, industrial/railway, and farm/farmland.
    * Gives them all the same lightness of 89. This is about the same as residential and retail were, and lightens the others, particularly commercial and industrial.
      * This basically flips retail and commercial in some ways. I looked at keeping them more the same, but I kept on tending to this, so decided to do it this way so that there was a colour difference between them
    * Adjusts chromas
    * Moves the industrial hue farther away from red. This is necessary with such light colours to allow it to be distinct from commercial while commercial is distinct from both retail and residential.
    * Adds light lines to the ones missing them, consistent with current retail, school/university/college/hospital/kindergarten and most more POI-like landcover styles
      * Retail centres, industrial parks, residential development and commercial areas may all be named, and with a name is useful to have a border to indicate what size area the name applies to.
      * It aids in showing the limits between railway usage and adjacent industrial usage
      * Farm fields can be individually mapped, and the lines can be useful there, and those areas are typically low-clutter
      * The effect is intentionally fairly subtle
    * Widened existing lines around retail, but still under 1 pixel. This helps with antialiasing artefacts. I didn't go all the way to 1, because I found that looked worse where there were two adjacent landuses of the same type.
    
    It is possible to compute the difference between colours, either by transforming to Luv and using Euclidean distance, or [calculating directly in Lch](https://en.wikipedia.org/wiki/LCH_color_space#Color_and_hue_difference)
    
    ```
             Res.  Retail  Comm.  Ind.   Farml.
    Farml.   12.0    12.4   10.0  17.3      0
    Ind.      9.0    13.9    8.1   0
    Comm.     8.5    7.6     0
    Retail   16.0    0
    Res.      0
    ```
    pnorman committed Jun 1, 2014

Commits on Jun 3, 2014

  1. Rework farmyard colour

    Although not quite a "base" landuse in the same way farmland is, it's
    worth handling at the same time to keep it in harmony with farmland.
    pnorman committed Jun 3, 2014

Commits on Jun 4, 2014

  1. Split apart railway and industrial landuse explicitly

    Carto did this before when preprocessing, but doing it explicitly makes it easier to make later changes to one but not the other
    pnorman committed Jun 4, 2014
  2. Don't use outlines for unnamed railway landuse

    Railway landuse can span wide areas and sometimes needs to be broken up at
    arbitrary places, similar to rivers.
    
    Faint outlines are maintained on named railway landuse, which is typically yards
    pnorman committed Jun 4, 2014
  3. Add colour variable for landuse_railway

    This makes customization easier and makes it clear that it's intentional
    that it's the same colour as industrial.
    
    The same is not done for farm/farmland because it is unlikely that anyone would want to differentiate between those two tags as they mean the same thing.
    pnorman committed Jun 4, 2014
  4. gitignore npm dir

    If installing carto from this dir, you end up with a node_modules directory which should be ignored
    pnorman committed Jun 4, 2014

Commits on Jun 8, 2014

  1. Sharpen parking icon edges

    The edges of the parking icon were excessively blurry. I redrew it at 16x scale and shrunk it with lanczos rescaling
    pnorman committed Jun 8, 2014

Commits on Jun 9, 2014

  1. Merge pull request #608 from pnorman/parking_icon

    Sharpen up Parking icons
    gravitystorm committed Jun 9, 2014
  2. Merge pull request #602 from pnorman/gitignore

    gitignore npm dir
    gravitystorm committed Jun 9, 2014
  3. Merge pull request #581 from math1985/nature-reserve-names

    Do not render nature reserve names on z11
    gravitystorm committed Jun 9, 2014
  4. Merge pull request #580 from math1985/canals

    Clean up canal rendering
    gravitystorm committed Jun 9, 2014
  5. Merge pull request #579 from math1985/residential-casing-z13

    Fix residential/unclassified casing width on z13
    gravitystorm committed Jun 9, 2014
  6. Merge pull request #578 from math1985/tunnel-rendering

    Make fill of residential/unclassified/service tunnels grey
    gravitystorm committed Jun 9, 2014
  7. Merge pull request #577 from math1985/turning-loops

    Render turning loops as turning circles
    gravitystorm committed Jun 9, 2014
  8. Merge pull request #576 from math1985/turning-circle-cleanup

     Clean up turning circle code
    gravitystorm committed Jun 9, 2014
  9. Merge pull request #573 from math1985/casing-width

    Make road casing smaller
    gravitystorm committed Jun 9, 2014
  10. Merge branch 'substation' of https://github.com/kreed/openstreetmap-c…

    …arto into kreed-substation
    
    Conflicts:
    	project.mml
    gravitystorm committed Jun 9, 2014
  11. Merge branch 'line-color' of https://github.com/floscher/openstreetma…

    …p-carto into floscher-line-color
    
    Conflicts:
    	landcover.mss
    gravitystorm committed Jun 9, 2014
  12. Merge branch 'sportfields2' of https://github.com/math1985/openstreet…

    …map-carto into math1985-sportfields2
    
    Conflicts:
    	project.mml
    gravitystorm committed Jun 9, 2014
  13. Merge pull request #558 from math1985/covered-3

    Render building passages as tunnels (correction)
    gravitystorm committed Jun 9, 2014
  14. Merge pull request #557 from math1985/track_rewrite4

    Track rewrite4
    gravitystorm committed Jun 9, 2014
  15. Merge pull request #559 from math1985/tunnels-order-2

    Order tunnels by layer
    gravitystorm committed Jun 9, 2014
  16. Merge branch 'road-widths-2' of https://github.com/math1985/openstree…

    …tmap-carto into math1985-road-widths-2
    
    Conflicts:
    	roads.mss
    gravitystorm committed Jun 9, 2014