openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS

  • 所有者: gravitystorm/openstreetmap-carto
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    2
      比較:

Github星跟蹤圖

OpenStreetMap Carto

screenshot

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

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
    dependecies 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.

There are over 300 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

主要指標

概覽
名稱與所有者gravitystorm/openstreetmap-carto
主編程語言CartoCSS
編程語言CartoCSS (語言數: 7)
平台
許可證Other
所有者活动
創建於2012-11-15 16:06:16
推送於2025-03-24 10:16:48
最后一次提交2025-03-24 11:16:48
發布數116
最新版本名稱v5.9.0 (發布於 2024-10-17 12:38:46)
第一版名稱v0.1.0 (發布於 2012-11-16 10:54:21)
用户参与
星數1.6k
關注者數82
派生數846
提交數3.9k
已啟用問題?
問題數3189
打開的問題數635
拉請求數1417
打開的拉請求數33
關閉的拉請求數456
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?