osm default map
osm
Find a file
dch0ph da23b05eaa
Move guideways to roads (#5057)
* move guideways to roads layers

Also tweak to SQL for link roads

* Render oneway for guided busway

Also simplification of selectors

* Remove Z17+ width change

Fix whitespace
Remove width increase for Z17+

* Remove old guideways layer from MSS
2025-02-10 19:47:33 +01:00
.github Switch to flex output 2024-10-18 08:03:45 +02:00
patterns Remove xml declaration from svg symbols 2021-09-11 13:33:09 +02:00
scripts Replace current font download with Python script (#5052) 2025-01-16 22:45:57 +02:00
style Move guideways to roads (#5057) 2025-02-10 19:47:33 +01:00
symbols Render leisure=dance (#4996) 2024-10-16 16:08:03 +03:00
.dockerignore Bullet-proof Docker variable turning with PostGIS. 2017-08-02 01:32:00 +08:00
.editorconfig Use correct format for dates in CI files 2022-09-02 14:27:21 -07:00
.gitattributes Declare MML files as detectable for GitHub 2022-09-13 20:10:13 +00:00
.gitignore Add a script to download and use local fonts 2022-07-15 20:56:15 -07:00
CARTOGRAPHY.md Remove trailing whitespace (#3637) 2019-01-15 18:00:07 +01:00
CHANGELOG.md Updating changelog for v5.9.0 2024-10-17 12:30:15 +03:00
CODE_OF_CONDUCT.md Step down as maintainer 2024-10-26 11:24:06 -07:00
CONTRIBUTING.md Use common Single Quotes for Strings (#4939) 2024-04-02 20:16:23 +02:00
docker-compose.yml Add improvements to get-external-data.py and make using it more user friendly 2022-07-17 03:00:15 +02:00
DOCKER.md Formatting, spelling, and minor editorial corrections 2023-03-07 22:12:04 -05:00
Dockerfile remove fixed TZ 2022-12-02 11:19:28 +01:00
Dockerfile.db Downgrade to postgis 2.5, fix password 2021-01-26 21:45:18 +01:00
Dockerfile.import Switch to flex output 2024-10-18 08:03:45 +02:00
external-data.yml Fix URL for natural earth vector dataset. 2021-09-10 13:12:16 -04:00
functions.sql Additional access marking (#5049) 2025-01-16 22:41:58 +02:00
indexes.sql Emit one index statement per line, add -0 option 2022-09-16 20:07:01 -07:00
indexes.yml Remove outdated indentation comment 2022-09-20 22:45:54 -07:00
INSTALL.md Replace current font download with Python script (#5052) 2025-01-16 22:45:57 +02:00
LICENSE.txt Explain that the cartography is covered by the license (#2474) 2017-01-19 20:05:33 +01:00
openstreetmap-carto-flex.lua Move guideways to roads (#5057) 2025-02-10 19:47:33 +01:00
preview.png Updating changelog and preview for v5.8.0 2023-11-26 17:52:14 +02:00
project.mml Move guideways to roads (#5057) 2025-02-10 19:47:33 +01:00
README.md Step down as maintainer 2024-10-26 11:24:06 -07:00
RELEASES.md Adjust word wrap for release message 2022-08-02 22:36:42 -07:00
road-colors.yaml Let generate_shields use road-colors.yaml 2016-07-11 19:36:39 +02:00
USECASES.md Adding natural and semi natural areas to use cases (#2946) 2018-05-16 02:14:11 +02:00

OpenStreetMap Carto

screenshot

These are the CartoCSS map stylesheets for the Standard map layer on OpenStreetMap.org.

The general purpose, the cartographic design goals and guidelines for this style are outlined in CARTOGRAPHY.md.

These stylesheets can be used in your own cartography projects, and are designed to be easily customised. They work with Kosmtik and also with the command-line CartoCSS processor.

Since August 2013 these stylesheets have been used on the OSMF tileservers (tile.openstreetmap.org), and are updated from each point release. They supersede the previous XML-based stylesheets.

Installation

You need a PostGIS database populated with OpenStreetMap data along with auxillary shapefiles. See INSTALL.md.

Contributing

Contributions to this project are welcome, see CONTRIBUTING.md for full details.

Versioning

This project follows a MAJOR.MINOR.PATCH versioning system. In the context of a cartographic project you can expect the following:

  • PATCH: When a patch version is released, there would be no reason not to upgrade. PATCH versions contain only bugfixes e.g. stylesheets won't compile, features are missing by mistake, etc.
  • MINOR: These are routine releases and happen every 2-5 weeks. They will contain changes to what's shown on the map, how they appear, new features added and old features removed. They may rarely contain changes to assets i.e. shapefiles and fonts but will not contain changes that require software or database upgrades.
  • MAJOR: Any change the requires reloading a database, or upgrading software dependencies will trigger a major version change.

Roadmap

Initial Release (v1.0.0, December 2012)

This was a full re-implementation of the original OSM style, with only a few bugs discovered later. There's been no interest in creating further point releases in the v1.x series.

Mapnik 2 work (v2.x)

The v2.x series initially focused on refactoring the style, both to to fix glitches and to leverage new features in CartoCSS / Mapnik to simplify the stylesheets with only small changes to the output, as well as removing 'old-skool' tagging methods that are now rarely used. It then started adding new features.

Mapnik and CartoCSS update (v3.x)

The v3.x series was triggered by an update to the required Mapnik and CartoCSS versions.

Care has been taken to not get too clever with variables and expressions. While these often make it easier to customise, experience has shown that over-cleverness (e.g. interpolated entities) can discourage contributions.

Database schema change (v4.x)

The v4.x series includes osm2pgsql lua transforms 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.

Database schema change (v5.x)

The v5.x series updates Lua tag transforms, linestring and polygon decisions have changed.

There are over 500 open requests, some that have been open for years. These need reviewing and dividing into obvious fixes, or additional new features that need some cartographic judgement.

Alternatives

There are many open-source stylesheets written for creating OpenStreetMap-based maps using Mapnik, many based on this project. Some alternatives are:

Maintainers

Previous maintainers