From 6684f0aeba571c01fb774530f3acc8f90b6aaaff Mon Sep 17 00:00:00 2001 From: Matthijs Melissen Date: Tue, 15 Jan 2019 18:00:07 +0100 Subject: [PATCH] Remove trailing whitespace (#3637) --- CARTOGRAPHY.md | 22 +++++++++++----------- CHANGELOG.md | 20 ++++++++++---------- DOCKER.md | 8 ++++---- Dockerfile | 4 ++-- README.md | 4 ++-- RELEASES.md | 10 +++++----- amenity-points.mss | 36 ++++++++++++++++++------------------ landcover.mss | 4 ++-- placenames.mss | 2 +- project.mml | 24 ++++++++++++------------ roads.mss | 2 +- 11 files changed, 68 insertions(+), 68 deletions(-) diff --git a/CARTOGRAPHY.md b/CARTOGRAPHY.md index 68543ed2f2..98dccc444e 100644 --- a/CARTOGRAPHY.md +++ b/CARTOGRAPHY.md @@ -1,14 +1,14 @@ # Design goals and guidelines for this style -This is an attempt to outline the goals of this style and the principles under -which the maintainers make decisions. These rules are not set in stone, they -can change and they may not be followed in all cases but contributors should +This is an attempt to outline the goals of this style and the principles under +which the maintainers make decisions. These rules are not set in stone, they +can change and they may not be followed in all cases but contributors should be able to expect that they are generally the guiding principles design wise. -It does not make much sense to try following these principles blindly as a -contributor without understanding them, they are meant to guide you to develop -an intuition and understanding how to make design decisions to fit into the +It does not make much sense to try following these principles blindly as a +contributor without understanding them, they are meant to guide you to develop +an intuition and understanding how to make design decisions to fit into the overall concept of this style. ## General purpose @@ -20,15 +20,15 @@ This style has multiple purposes: * It's used in many map applications as a general purpose map. * It's an exemplar stylesheet for rendering OSM data. -There is no ranking of these purposes. To allow serving all of them and to -avoid satisfying only some at the cost of the others the following main goals +There is no ranking of these purposes. To allow serving all of them and to +avoid satisfying only some at the cost of the others the following main goals have been identified. ## Main goals -The following goals need to be balanced against each other to serve the purposes -above. There is no fixed order of priorities. Apart from these goals there are -of course also technical constraints and requirements that need to be taken into +The following goals need to be balanced against each other to serve the purposes +above. There is no fixed order of priorities. Apart from these goals there are +of course also technical constraints and requirements that need to be taken into account. * **Legibility and clarity** - The map should be intuitively readable by users with some general experience using maps without a map key, preferrably with relatively little effort. A map key or more extensive experience using this map style can be required for clearly identifying minor differences or the exact meaning of certain features but in broad strokes orientation and identification of map elements should be possible on an intuitive level. We also aim for the map appearance to be esthetically pleasing. diff --git a/CHANGELOG.md b/CHANGELOG.md index c7f7be705f..bc2e7b8cf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Changing landuse=allotments color and pattern - Adding rendering for natural=cape - Rendering leisure=ice_rink -- Adding rendering for man_made=crane +- Adding rendering for man_made=crane - Adding icons for shop=fabric and shop=carpet - Updating icons for amenity=arts_centre, leisure=slipway, amenity=restaurant/amenity=food_court and man_made=storage_tank/man_made=silo - Using dedicated icon for artwork_type=bust @@ -100,13 +100,13 @@ - Increased shield distances on roads - Added icon for shop=ticket - Added icon for shop=houseware -- Added icon for shop=charity +- Added icon for shop=charity - Added icon for shop=second_hand - Added icon for shop=interior_decoration - Added icon for amenity=bureau_de_change - Added icon for amenity=casino - Added icon for amenity=boat_rental -- Updated shop=department_store icon +- Updated shop=department_store icon - Small documentation and code fixes ## [v4.12.1](https://github.com/gravitystorm/openstreetmap-carto/compare/v4.12.0...v4.12.1) - 2018-06-29 @@ -119,7 +119,7 @@ ### Changes - Added rendering “surface” tag on roads with a pattern -- More vertical objects rendering and tuning (man_made=tower types, man_made=chimney, man_made=communications_tower) +- More vertical objects rendering and tuning (man_made=tower types, man_made=chimney, man_made=communications_tower) - tourism=information types rendering and tuning (information=audioguide, board, guidepost, map, office, tactile_map, tactile_model and terminal) - Added rendering for place=quarter - Added rendering of historic=city_gate @@ -225,7 +225,7 @@ ### Changes - Change sports_centre and stadium color to light green - Change shades of green for landuse/leisure=recreation_ground and garden -- Do not render glaciers and icesheets on z6 and z7 +- Do not render glaciers and icesheets on z6 and z7 - Do not render very small water areas on low zoom - Do not render small national parks and nature reserves - Do not render ferries on z7 @@ -243,9 +243,9 @@ - Changing parking color from yellow to gray ### Changes -- Unified rendering of leisure=fitness_station and leisure=fitness_centre +- Unified rendering of leisure=fitness_station and leisure=fitness_centre - Rendering of military=bunker -- Rendering all station buildings as major buildings +- Rendering all station buildings as major buildings - Text wrapping for station labels - Changing windmill color from amenity brown to man_made gray - Some other documentation and code changes @@ -257,12 +257,12 @@ ### Changes - Rendering of amenity=marketplace -- Rendering of landuse=religious +- Rendering of landuse=religious - Rendering shop=pastry like shop=confectionery - Rendering of addr:unit - Rendering natural=bare_rock earlier - Rendering elevation also on polygon alpine_hut and shelter -- Introducing Noto Sans Arabic +- Introducing Noto Sans Arabic - Rendering icon for slipway ways - Better minimal distance between housenumbers - Moving aeroways to their own layer @@ -298,7 +298,7 @@ - Plaque rendering is now different and moved to z19 - Rendering railway labels - Smaller line spaces in labels -- Junction names on areas +- Junction names on areas - Area color for railway=station is the same as for railways - Database perfomance tuning available for Docker - Different patterns and all remaining icons moved to SVG diff --git a/DOCKER.md b/DOCKER.md index 075d36a47e..351b3b7379 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -40,7 +40,7 @@ Once you have that file put it into the openstreetmap-carto directory and run `d This starts the PostgreSQL container (downloads it if it not exists) and starts a container that runs [osm2pgsql](https://github.com/openstreetmap/osm2pgsql) to import the data. The container is built the first time you run that command if it not exists. At startup of the container the script `scripts/docker-startup.sh` is invoked which prepares the database and itself starts osm2pgsql for importing the data. -osm2pgsql has a few [command line options](https://manpages.debian.org/testing/osm2pgsql/osm2pgsql.1.en.html) and the import by default uses a RAM cache of 512 MB, 1 worker and expects the import file to be named `data.osm.pbf`. If you want to customize any of these parameters you have to set the environment variables `OSM2PGSQL_CACHE` (e.g. `export OSM2PGSQL_CACHE=1024` on Linux to set the cache to 1 GB) for the RAM cache (the value depends on the amount of RAM you have available, the more you can use here the faster the import may be), `OSM2PGSQL_NUMPROC` for the number of workers (this depends on the number of processors you have and whether your harddisk is fast enough e.g. is a SSD), or `OSM2PGSQL_DATAFILE` if your file has a different name. +osm2pgsql has a few [command line options](https://manpages.debian.org/testing/osm2pgsql/osm2pgsql.1.en.html) and the import by default uses a RAM cache of 512 MB, 1 worker and expects the import file to be named `data.osm.pbf`. If you want to customize any of these parameters you have to set the environment variables `OSM2PGSQL_CACHE` (e.g. `export OSM2PGSQL_CACHE=1024` on Linux to set the cache to 1 GB) for the RAM cache (the value depends on the amount of RAM you have available, the more you can use here the faster the import may be), `OSM2PGSQL_NUMPROC` for the number of workers (this depends on the number of processors you have and whether your harddisk is fast enough e.g. is a SSD), or `OSM2PGSQL_DATAFILE` if your file has a different name. You can also [tune the PostgreSQL](https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server) during the import phases, with `PG_WORK_MEM` (default to 16MB) and `PG_MAINTENANCE_WORK_MEM` (default to 256MB), which will eventually write `work_mem` and `maintenance_work_mem` to the `postgresql.auto.conf` once, making them applied each time the database started. Note that unlike osm2pgsql variables, once thay are set, you can only change them by running `ALTER SYSTEM` on your own, changing `postgresql.auto.conf` or remove the database volume by `docker-compose down -v && docker-compose rm -v` and import again. @@ -50,7 +50,7 @@ If you want to customize and remember the values, supply it during your first im PG_WORK_MEM=128MB PG_MAINTENANCE_WORK_MEM=2GB \ OSM2PGSQL_CACHE=2048 OSM2PGSQL_NUMPROC=4 \ OSM2PGSQL_DATAFILE=taiwan.osm.pbf \ -docker-compose up import +docker-compose up import ``` Variables will be remembered in `.env` if you don't have that file, and values in the file will be applied unless you manually assign them. @@ -71,8 +71,8 @@ After startup is complete you can browse to [http://localhost:6789](http://local Importing the data needs a substantial amount of RAM in the virtual machine. If you find the import process (Reading in file: data.osm.pbf, Processing) being _killed_ by the Docker demon, exiting with error code 137, increase the Memory assigned to Docker (e.g. macOS: Docker Preferences / Windows: Docker Settings > Advanced > Adjust the computing resources). -Docker copies log files from the virtual machine into the host system, their [location depends on the host OS](https://stackoverflow.com/questions/30969435/where-is-the-docker-daemon-log). E.g. the 'console-ring' appears to be a ringbuffer of the console log, which can help to find reasons for killings. +Docker copies log files from the virtual machine into the host system, their [location depends on the host OS](https://stackoverflow.com/questions/30969435/where-is-the-docker-daemon-log). E.g. the 'console-ring' appears to be a ringbuffer of the console log, which can help to find reasons for killings. While installing software in the containers and populating the database, the disk image of the virtual machine grows in size, by Docker allocating more clusters. When the disk on the host system is full (only a few MB remaining), Docker can appear stuck. Watch the system log files of your host system for failed allocations. -Docker stores its disk image by default in the home directories of the user. If you don't have enough space here, you can move it elsewhere. (E.g. macOS: Docker > Preferences > Disk). +Docker stores its disk image by default in the home directories of the user. If you don't have enough space here, you can move it elsewhere. (E.g. macOS: Docker > Preferences > Disk). diff --git a/Dockerfile b/Dockerfile index 7eb830f702..61e1f579d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,12 +10,12 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ # npm prefix to /usr/local, which breaks the install RUN npm set prefix /usr && npm install -g kosmtik -WORKDIR /usr/lib/node_modules/kosmtik/ +WORKDIR /usr/lib/node_modules/kosmtik/ RUN kosmtik plugins --install kosmtik-overpass-layer \ --install kosmtik-fetch-remote \ --install kosmtik-overlay \ --install kosmtik-open-in-josm \ - --install kosmtik-map-compare \ + --install kosmtik-map-compare \ --install kosmtik-osm-data-overlay \ --install kosmtik-mapnik-reference \ --install kosmtik-geojson-overlay \ diff --git a/README.md b/README.md index a5110d86e5..5fc367d28b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ are updated from each point release. They supersede the previous [XML-based styl # Installation -You need a PostGIS database populated with OpenStreetMap data along with auxillary shapefiles. +You need a PostGIS database populated with OpenStreetMap data along with auxillary shapefiles. See [INSTALL.md](INSTALL.md). # Contributing @@ -66,7 +66,7 @@ these often make it easier to customise, experience has shown that over-cleverne ## Database schema change (v4.x) The v4.x series includes [osm2pgsql lua transforms](https://github.com/openstreetmap/osm2pgsql/blob/master/docs/lua.md) -and a hstore column with all other tags, allowing use of more OpenStreetMap data. Users need +and a hstore column with all other tags, allowing use of more OpenStreetMap data. Users need to reload their databases, v3.x compatibility is not maintained. There are over [300 open requests][issues], some that have been open for years. diff --git a/RELEASES.md b/RELEASES.md index 73fe3ffadc..b3ce9b77f5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -28,16 +28,16 @@ Decide among the maintainers if a new release is due. Dear all, Today, $NEW_VERSION of the OpenStreetMap Carto stylesheet (the default -stylesheet on the OSM website) has been released. Once changes are deployed -on the openstreetmap.org it will take couple of days before all tiles +stylesheet on the OSM website) has been released. Once changes are deployed +on the openstreetmap.org it will take couple of days before all tiles show the new rendering. If the tile server admins have rolled out the new version, change it to: Today, $NEW_VERSION of the OpenStreetMap Carto stylesheet (the default - stylesheet on the OSM website) has been released and rolled out - to the openstreetmap.org servers. It might take a couple of days - before all tiles show the new rendering. + stylesheet on the OSM website) has been released and rolled out + to the openstreetmap.org servers. It might take a couple of days + before all tiles show the new rendering. Changes include *A list of changes* diff --git a/amenity-points.mss b/amenity-points.mss index 1315291c69..c9bb3c2076 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -409,7 +409,7 @@ marker-file: url('symbols/tourism/information.svg'); [information = 'audioguide'] { marker-file: url('symbols/tourism/audioguide.svg'); - } + } [information = 'board'] { marker-file: url('symbols/tourism/board.svg'); } @@ -498,7 +498,7 @@ marker-clip: false; ["tower:type" = 'lighting'] { marker-file: url('symbols/man_made/mast_lighting.svg'); - } + } ["tower:type" = 'communication'] { marker-file: url('symbols/man_made/mast_communications.svg'); } @@ -523,7 +523,7 @@ } ["tower:type" = 'observation'], ["tower:type" = 'watchtower'] { - marker-file: url('symbols/man_made/tower_observation.svg'); + marker-file: url('symbols/man_made/tower_observation.svg'); } ["tower:type" = 'bell_tower'] { marker-file: url('symbols/man_made/bell_tower.svg'); @@ -557,7 +557,7 @@ ["tower:construction" = 'lattice'] { marker-file: url('symbols/man_made/tower_lattice_lighting.svg'); } - } + } } } @@ -567,7 +567,7 @@ marker-placement: interior; marker-clip: false; } - + [feature = 'man_made_chimney'] { [zoom >= 16][height > 50], [zoom >= 17][height > 30], @@ -787,7 +787,7 @@ marker-placement: interior; marker-clip: false; } - + [feature = 'historic_wayside_shrine'][zoom >= 17] { marker-file: url('symbols/historic/shrine.svg'); marker-fill: @man-made-icon; @@ -1069,7 +1069,7 @@ [shop = 'bookmaker'][zoom >= 18] { marker-file: url('symbols/shop/bookmaker.svg'); } - + [shop = 'books'][zoom >= 18] { marker-file: url('symbols/amenity/library.svg'); } @@ -1183,7 +1183,7 @@ [shop = 'hifi'][zoom >= 18] { marker-file: url('symbols/shop/hifi.svg'); } - + [shop = 'houseware'][zoom >= 18] { marker-file: url('symbols/shop/houseware.svg'); } @@ -1268,7 +1268,7 @@ marker-file: url('symbols/shop/massage.svg'); marker-fill: @leisure-green; } - + [shop = 'medical_supply'][zoom >= 18]{ marker-file: url('symbols/shop/medical_supply.svg'); } @@ -1334,15 +1334,15 @@ [shop = 'ticket'][zoom >= 18] { marker-file: url('symbols/shop/ticket.svg'); } - + [shop = 'trade'][zoom >= 18] { marker-file: url('symbols/shop/trade.svg'); - } - + } + [shop = 'wholesale'][zoom >= 18] { marker-file: url('symbols/shop/trade.svg'); - } - + } + [shop = 'tyres'][zoom >= 18] { marker-file: url('symbols/shop/tyres.svg'); } @@ -1707,7 +1707,7 @@ marker-file: url('symbols/barrier/stile.svg'); marker-fill: #3f3f3f; marker-placement: interior; - marker-clip: false; + marker-clip: false; } [feature = 'barrier_motorcycle_barrier'][zoom >= 17]::barrier { @@ -2611,7 +2611,7 @@ text-placement: interior; text-face-name: @standard-font; } - + [feature = 'tourism_alpine_hut'][zoom >= 14], [feature = 'amenity_shelter'][zoom >= 17], [feature = 'leisure_picnic_table'][zoom >= 17], @@ -2855,7 +2855,7 @@ [feature = 'shop_beverages'], [feature = 'shop_bookmaker'], [feature = 'shop_books'], - [feature = 'shop_carpet'], + [feature = 'shop_carpet'], [feature = 'shop_charity'], [feature = 'shop_clothes'], [feature = 'shop_coffee'], @@ -3329,7 +3329,7 @@ text-repeat-distance: @waterway-text-repeat-distance; text-dy: 8; } - } + } } [feature = 'attraction_water_slide'] { diff --git a/landcover.mss b/landcover.mss index 2fd52a0b11..e45f1c6d8d 100644 --- a/landcover.mss +++ b/landcover.mss @@ -95,8 +95,8 @@ [feature = 'leisure_swimming_pool'][zoom >= 14] { polygon-fill: @water-color; - [zoom >= 17] { - line-width: 0.5; + [zoom >= 17] { + line-width: 0.5; line-color: saturate(darken(@water-color, 20%), 20%); } [way_pixels >= 4] { polygon-gamma: 0.75; } diff --git a/placenames.mss b/placenames.mss index fb0f62582b..a6480de453 100644 --- a/placenames.mss +++ b/placenames.mss @@ -4,7 +4,7 @@ @state-labels: desaturate(darken(@admin-boundaries, 5%), 20%); .country { - [zoom >= 3][zoom < 5][way_pixels > 1000], + [zoom >= 3][zoom < 5][way_pixels > 1000], [zoom >= 5][way_pixels < 360000] { text-name: "[name]"; text-size: 10; diff --git a/project.mml b/project.mml index 565ecb8e36..344d861980 100644 --- a/project.mml +++ b/project.mml @@ -90,7 +90,7 @@ Layer: COALESCE(wetland, landuse, "natural") AS feature FROM (SELECT way, - ('landuse_' || (CASE WHEN landuse IN ('forest', 'farmland', 'residential', 'commercial', 'retail', 'industrial', + ('landuse_' || (CASE WHEN landuse IN ('forest', 'farmland', 'residential', 'commercial', 'retail', 'industrial', 'meadow', 'vineyard', 'orchard') THEN landuse ELSE NULL END)) AS landuse, ('natural_' || (CASE WHEN "natural" IN ('wood', 'sand', 'scree', 'shingle', 'bare_rock', 'heath', 'grassland', 'scrub') THEN "natural" ELSE NULL END)) AS "natural", ('wetland_' || (CASE WHEN "natural" IN ('wetland', 'mud') THEN (CASE WHEN "natural" IN ('mud') THEN "natural" ELSE tags->'wetland' END) ELSE NULL END)) AS wetland, @@ -1478,8 +1478,8 @@ Layer: 'nursing_home', 'childcare', 'driving_school', 'casino', 'boat_rental', 'bicycle_repair_station') THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('parking') AND (tags->'parking' NOT IN ('underground') OR (tags->'parking') IS NULL) THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('vending_machine') AND tags->'vending' IN ('excrement_bags', 'parking_tickets', 'public_transport_tickets') THEN amenity ELSE NULL END, - 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', - 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', + 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', + 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', 'physiotherapist', 'podiatrist', 'psychotherapist', 'rehabilitation', 'speech_therapist', 'yes') THEN tags->'healthcare' ELSE NULL END, 'advertising_' || CASE WHEN tags->'advertising' in ('column') THEN tags->'advertising' else NULL END, 'shop' || CASE WHEN shop IN ('no', 'vacant', 'closed', 'disused', 'empty') OR shop IS NULL THEN NULL ELSE '' END, @@ -1619,8 +1619,8 @@ Layer: 'amenity_' || CASE WHEN amenity IN ('parking_entrance') AND tags->'parking' IN ('underground') AND (access IS NULL OR access NOT IN ('private', 'no')) THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('parking') AND (tags->'parking' NOT IN ('underground') OR (tags->'parking') IS NULL) THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('vending_machine') AND tags->'vending' IN ('excrement_bags', 'parking_tickets', 'public_transport_tickets') THEN amenity ELSE NULL END, - 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', - 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', + 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', + 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', 'physiotherapist', 'podiatrist', 'psychotherapist', 'rehabilitation', 'speech_therapist', 'yes') THEN tags->'healthcare' ELSE NULL END, 'advertising_' || CASE WHEN tags->'advertising' in ('column') THEN tags->'advertising' else NULL END, 'emergency_' || CASE WHEN tags->'emergency' IN ('phone') THEN tags->'emergency' ELSE NULL END, @@ -1630,7 +1630,7 @@ Layer: 'dog_park', 'fitness_centre', 'fitness_station', 'firepit', 'sauna', 'beach_resort', 'bowling_alley', 'outdoor_seating', 'bird_hide', 'amusement_arcade', 'sports_centre', 'swimming_area', 'fishing') THEN leisure ELSE NULL END, - 'man_made_' || CASE WHEN (man_made IN ('mast', 'tower', 'water_tower', 'lighthouse', 'windmill', 'obelisk', 'communications_tower', 'telescope', + 'man_made_' || CASE WHEN (man_made IN ('mast', 'tower', 'water_tower', 'lighthouse', 'windmill', 'obelisk', 'communications_tower', 'telescope', 'chimney', 'crane', 'storage_tank', 'silo') AND (tags->'location' NOT IN ('roof', 'rooftop') OR (tags->'location') IS NULL)) THEN man_made ELSE NULL END, 'natural_' || CASE WHEN "natural" IN ('peak', 'volcano', 'saddle', 'spring', 'cave_entrance') THEN "natural" ELSE NULL END, @@ -2059,7 +2059,7 @@ Layer: 'natural_' || CASE WHEN "natural" IN ('wood', 'glacier', 'sand', 'scree', 'shingle', 'bare_rock', 'water', 'bay', 'strait', 'cape') THEN "natural" ELSE NULL END, 'place_' || CASE WHEN place IN ('island') THEN place ELSE NULL END, - 'boundary_' || CASE WHEN boundary IN ('national_park') + 'boundary_' || CASE WHEN boundary IN ('national_park') OR (boundary = 'protected_area' AND tags->'protect_class' IN ('1','1a','1b','2','3','4','5','6','7','97','98','99')) THEN boundary ELSE NULL END, 'leisure_' || CASE WHEN leisure IN ('nature_reserve') THEN leisure ELSE NULL END @@ -2109,8 +2109,8 @@ Layer: 'casino', 'boat_rental', 'bicycle_repair_station') THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('parking') AND (tags->'parking' NOT IN ('underground') OR (tags->'parking') IS NULL) THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('vending_machine') AND tags->'vending' IN ('excrement_bags', 'parking_tickets', 'public_transport_tickets') THEN amenity ELSE NULL END, - 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', - 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', + 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', + 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', 'physiotherapist', 'podiatrist', 'psychotherapist', 'rehabilitation', 'speech_therapist', 'yes') THEN tags->'healthcare' ELSE NULL END, 'advertising_' || CASE WHEN tags->'advertising' in ('column') THEN tags->'advertising' else NULL END, 'shop_' || CASE WHEN shop IN ('supermarket', 'bag', 'bakery', 'beauty', 'bed', 'bookmaker', 'books', 'butcher', 'carpet', 'clothes', 'computer', 'confectionery', @@ -2304,14 +2304,14 @@ Layer: 'embassy', 'fuel', 'bus_station', 'prison', 'university', 'school', 'college', 'kindergarten', 'hospital', 'ice_cream', 'pharmacy', 'doctors', 'dentist', 'atm', 'bicycle_rental', 'bureau_de_change','car_rental', 'car_wash', 'post_box', 'post_office', 'recycling', 'telephone', 'toilets', 'taxi', 'internet_cafe', 'public_bookcase', - 'drinking_water', 'hunting_stand', 'nightclub', 'veterinary', 'social_facility', 'vehicle_inspection', + 'drinking_water', 'hunting_stand', 'nightclub', 'veterinary', 'social_facility', 'vehicle_inspection', 'charging_station', 'arts_centre', 'ferry_terminal', 'marketplace', 'shower', 'bbq', 'nursing_home', 'childcare', 'driving_school', 'casino', 'boat_rental', 'bicycle_repair_station') THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('parking_entrance') AND tags->'parking' IN ('underground') AND (access IS NULL OR access NOT IN ('private', 'no')) THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('parking') AND (tags->'parking' NOT IN ('underground') OR (tags->'parking') IS NULL) THEN amenity ELSE NULL END, 'amenity_' || CASE WHEN amenity IN ('vending_machine') AND tags->'vending' IN ('public_transport_tickets') THEN amenity ELSE NULL END, - 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', - 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', + 'healthcare_' || CASE WHEN tags->'healthcare' IN ('alternative', 'audiologist', 'birthing_center', 'blood_bank', 'blood_donation', 'centre', 'clinic', + 'dentist', 'dialysis', 'doctor', 'hospital', 'laboratory', 'midwife', 'occupational_therapist', 'optometrist', 'physiotherapist', 'podiatrist', 'psychotherapist', 'rehabilitation', 'speech_therapist', 'yes') THEN tags->'healthcare' ELSE NULL END, 'advertising_' || CASE WHEN tags->'advertising' in ('column') THEN tags->'advertising' else NULL END, 'shop_' || CASE WHEN shop IN ('supermarket', 'bag','bakery', 'beauty', 'bed', 'bookmaker', 'books', 'butcher', 'clothes', 'carpet', 'computer', 'confectionery', 'fashion', diff --git a/roads.mss b/roads.mss index 78e4331a01..24079508da 100644 --- a/roads.mss +++ b/roads.mss @@ -3216,7 +3216,7 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */ text-clip: false; text-placement: line; text-halo-radius: @standard-halo-radius; - [highway = 'living_street'] { + [highway = 'living_street'] { text-halo-fill: @living-street-fill; text-repeat-distance: @major-highway-text-repeat-distance; }