cyclosm / cyclosm-cartocss-style Goto Github PK
View Code? Open in Web Editor NEWCycle oriented CartoCSS style.
Home Page: https://www.cyclosm.org
License: Other
Cycle oriented CartoCSS style.
Home Page: https://www.cyclosm.org
License: Other
Probably in brownish dotted line, as on osm.org.
Typically on the cycleways under construction here https://tiles.phyks.me/#18/48.87159/2.30159.
Should we render drinking_water=
(https://wiki.openstreetmap.org/wiki/Key:drinking_water)?
Should we render shop=water
(https://wiki.openstreetmap.org/wiki/Tag:shop%3Dwater) and shop=beverages
(https://wiki.openstreetmap.org/wiki/Tag:shop%3Dbeverages)?
Should lanes
be rendered somehow?
There should be a render of relief and gradient of the streets, even in urban area. Not sure what the best render option could be? Maybe hillshades as overlays?
We should probably include more shelters. Probably https://wiki.openstreetmap.org/wiki/Key:shelter as well as covered
(for public transport / bicycle parking). Useful when it's raining :)
They are easy to spot in the landscape and can be a source of pollution / noise when looking for a place to stay overnight.
Should we render factories? How?
Cycle ways / lanes / tracks should be rendered with an indication of their direction. Typically, https://tiles.phyks.me/#17/48.82218/2.33203 is not very clear as to which cycle way is in the direction of the traffic and which one is contraflow.
Pedestrian paths (in red) are too large and strong at the moment, especially in heavily pedestrian areas (inside train stations, areas where sidewalks are drawn separately).
We should show regional / departemental / natural parks as it is done on osm.org: https://www.openstreetmap.org/#map=8/48.243/5.482.
see bridge at https://tiles.phyks.me/#18/48.87742/2.36536
highway=cycleway
should tag the same thing as cycleway=track
. Then, they should have the same size.
This is currently not the case, as can be seen here (Avenue des Champs-Élysées vs Avenue de la Grande Armée).
Compare Rue de Vaugirard (with cycleways on both side) and Rue de la Convention (with cycleway on only one side) here.
EDIT: This is probably better actually to loose the casing when there is a cycleway. So Rue de la Convention should be rendered the same as Rue de Vaugirard, not the other way round.
The logic for selecting names for places is absurd at low zoom levels at the moment. See for instance https://tiles.phyks.me/#7/47.750/0.121.
Why would "Boulogne" be shown and not even Paris? :/
What would be the amount of names shown at these low zoom levels? Would https://www.openstreetmap.org/#map=7/47.750/0.121 be a good fit? OSM-FR shows a bit too much in my opinion https://tile.openstreetmap.fr/?zoom=7&lat=46.87715&lon=1.70838&layers=B00000000FFFFFF.
Tiles should be fine up to Z12 at the moment.
A lot of texts are displayed above Z12 (especially at Z17), we should do a review and clean them.
Check how public transports are rendered. How should they be rendered?
Steps are not rendered differently than regular paths at the moment.
This can be seen here https://tiles.phyks.me/#18/48.85332/2.28287 where the cycleway is hidden by the closest highway. This is also the case for the default OSM render https://tiles.phyks.me/#18/48.85332/2.28287.
This should be easily fixable by enforcing the order of render, so that highway is rendered first and cycleway is drawn on top of it.
Should surface
tags be rendered (paved
/unpaved
)? What could be a good way to render this?
Should cycleway=shared_lane|opposite_shared_lane
be rendered? What could be a good render?
The maxspeed of the ways should be rendered somehow, especially in urban area. Typically distinguishing between maxspeed=FR:urban
(50 km/h) and maxspeed=FR:30
would be super useful.
Not sure about the best render. Possible idea would be to change the background (fill) color of the street based on maxspeed
.
Overlapping cycle routes should be rendered in a better way. Right now:
Location : https://tiles.phyks.me/#17/48.84896/2.36354
Draw construction highway, and firstly cycleways.
A faded version of the normal style of the highway would be enough I think.
Currently cycle routes are:
This is mostly based on the OpenCycleMap design choices. They might not be optimal:
However, concerning the national ones, they are usually "voies vertes" in France and the whole communication about them uses the green color https://www.af3v.org/. So red is probably not a good idea for them. Another concern is that red is very far from blue (which indicates cyclability) in the color spectrum and too close to yellow/orange which we use for major highways (which we might want to avoid with a bike).
This is valid for France, of course, but might not for other countries. It seems Germany actually uses red for bike-related stuff https://en.wikipedia.org/wiki/German_Cycling_Network#/media/File:D-Netz-Route,_Abschnitt_K%C3%B6ln-Poll_,_Rheinaufw%C3%A4rts.jpg.
See for instance https://tiles.phyks.me/#17/48.81908/2.34585.
Indicated as power=generator
(https://wiki.openstreetmap.org/wiki/Tag:power%3Dgenerator) and generator:source=wind
(https://wiki.openstreetmap.org/wiki/Tag:generator:source%3Dwind).
They are easily to spot in the landscape and source of noise (when looking for a place to stay overnight on a bike trip).
In particular:
shop=supermarket
shop=bakery
shop=convenience
shop=greengrocer
shop=pastry
MTB routes should be rendered. Typical example is https://www.openstreetmap.org/relation/3201448#map=15/48.4726/2.7459&layers=C.
The cycleway in https://tiles.phyks.me/#17/48.84245/2.36672 is bidirectional. However, nothing in the render indicates this.
Related to #8
We should probably render traffic lights at high zoom levels.
We should render building=hospital as well https://www.openstreetmap.org/relation/1259165. They seem to be ignored at the moment https://tiles.phyks.me/#18/48.88276/2.35272.
Actually this is https://www.openstreetmap.org/way/24026124 which should be rendered and is not rendered in https://tiles.phyks.me/#18/48.88276/2.35272.
At Z12/Z13, the cycleway tag (on both side of the street) should probably be rendered in a lighter way.
Using Tirex, it seems to be impossible to generate tiles at Z11/Z12 covering Paris. We can see these tiles are missing (not updated anymore actually) on https://tiles.phyks.me/#12/48.8588/2.3470.
Tried to let the job run with a very long timeout, not a single tile was generated after 12 hours :/
Should be indicated by bridge=movable
.
Labels of cycle routes (or ref) should be shown on the map.
See https://tiles.phyks.me/#14/48.8653/2.3603
It is very difficult to know where the cycling routes are, they tend to be too transparent.
We should probably render peaks, passes, herbes, swamps etc.
See #41 (comment).
From time to time, there are some barriers on cycle ways (e.g. to prevent access from scooters) which can make access with a bike very painful / difficult / impossible whenever you have a special bike (velomobile / tandem / etc).
They should be rendered in CyclOSM.
Typical example is https://www.openstreetmap.org/node/1912690917.
There is some cases where a parking is not rendered, see :
https://tiles.phyks.me/#18/48.87731/2.36389
node https://www.openstreetmap.org/node/895608360#map=19/48.87745/2.36410&layers=C
I do think that every bicycle related POI should be always visible. It is more important than a road name, or a bus stop, or whatever. Hazard is not welcome here.
We have an example with the bicycle shop Bicycl'Art
https://tiles.phyks.me/#16/48.8824/2.3677
https://www.openstreetmap.org/node/3651262894#map=19/48.88220/2.36818&layers=C
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.