Skip to content

limex/gravel-cartocss-style

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

This is work in progress! Find the current challenges here docs/DOCKER.md.
Contact me via issue page if you wanna help.

OSM Gravel Layer

This is an attempt at creating a map layer showing roads suitable for "gravel" riding (whatever that means, but people usually talk about wide tired drop bar bikes). that can be rendered on top of any base map.

To do that, we forked CyclOSM and kept removing and changing styles until we arrived at something that suited our needs. Kudos to them for the clean code structure and open sourcing their work!

Licenses

This style is based on the CyclOSM, which is licensed under BSD-3-Clause license. Everything (be it icons or code) not listed explicitly below should be consider as available under this license.

The contours and elevation lines render is based on the very good work and code available from OpenTopoMap.

The colors used in the palette.mss file are based on the Hydda style, licensed under Apache License 2.0.

The icons in symbols/osm-bright-gl-style are taken from the OSM Bright GL style and are licensed under Creative Commons BY 4.0.

The icons in symbols/openstreetmap-carto are taken from the OpenStreetMap-carto style and are licensed under CC0 public domain.

The icons in symbols/osmandapp are taken from the OsmAnd app resources.

The inner tube bicycle icon is based on https://www.flaticon.com/free-icon/inner-tube_1575936.


following readme is from the https://github.com/cyclosm/cyclosm-cartocss-style repo to give more context in config and running the docker container.

This is work in progress. Most lines need to be deleted or changed.


Gravel Layer

a CartoCSS map style designed with gravel cycling in mind. It leverages OpenStreetMap data to create a beautiful and practical overlay!

Build Status

todo: insert pic of overlay. All gravel roads are as Red lines.

Demonstration

Adapt to CX Berlin. If they are ever back again!
A demonstration of this style is available at https://cyclosm.org.

The tile server url is https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png. Tiles can be reused under the general OpenStreetMap tile usage policy.

The map is available by default in the following smartphone applications:

The tile server is provided by OpenStreetMap-France, many thanks to them for the support!

Philosophy

todo: adapt!

CyclOSM is a new cycle-oriented render. Contrary to OpenCycleMap, this render is free and open-source software and aims at being more complete to take into account a wider diversity of cycling habits.

In urban areas, it renders the main different types of cycle tracks and lanes, on each side of the road, for helping you draw your bike to work route. It also features essential POIs as well as bicycle parking spots or spots shared with motorbikes, specific infrastructure (elevators / ramps), road speeds or surfaces to avoid streets with pavings, bumpers and bike boxes, etc.

The same render also lets you visualize main bicycle touring routes as well as essential POIs when touring (emergency services, shelters, tourism, shops).

Features

todo: adapt!

Render:

  • Cycleways track, lanes, cycle-bus lanes
  • Motor oneway - two way for bicycle
  • Cycle routes (local, regional, national, international)
  • Parking for bicycle (or motorcycle parking open to bicycle)
  • Steps with bicycle friendly ramp
  • Bicycle shop and repair stations
  • First aid amenities : shelter, hospital, pharmacy, police station, water, food store
  • Travel amenities : camping, hotel, train station, museum, picnic table, peaks...
  • Emphasis on low speed roads (<= 30km/h)
  • Elevation curves and shading
  • Smoothness of the roads
  • Traffic calming

A full list of rendered features is available in the legend.

A list of the tags considered by this render is available in Taginfo JSON format in taginfo.json.

Some extra information about the way OSM tags are rendered is available in the wiki.

Getting started

todo: adapt!

Getting started instructions are available in the docs/INSTALL.md file.

Printing

todo: adapt!

Instructions for printing maps with a CyclOSM render are available in the docs/PRINT.md file.

Contributing

todo: adapt!

Some getting started information for contributing is available in CONTRIBUTING.md file.

Changelog

todo: adapt!

Changes to this theme are listed in the CHANGELOG.md file. Versions are tagged with Git tags and are available through Github releases feature.

MapCSS validators

todo: adapt!

We also offer some MapCSS checkers for bicycle tags which can be used with JOSM for instance in the validator folder of this repository.

Licenses

todo: adapt!

See LICENSE.md file.

Links

todo: adapt!

Related projects

About

This is an attempt at creating a map layer showing roads suitable for "gravel" riding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • CartoCSS 88.9%
  • Python 7.1%
  • Shell 2.1%
  • JavaScript 1.4%
  • Dockerfile 0.5%