MapCSS
Jump to navigation
Jump to search
MapCSS is a CSS-like language for map stylesheets.
- Current specification - MapCSS 0.2 (changes are possible)
- MapCSS Mailing list at mapcss@openstreetmap.org.
- Web archive of the MapCSS website (the website is no longer online)
- short /Examples
- /Common mistakes
Renderers
- AlaCarte (C++11/cairo based renderer)
- Ceyx (python/cairo based renderer)
- GLMap (C++14/OpenGL based framework for mobile apps)
- Halcyon (flash-based renderer)
- Kothic (python/cairo based renderer, regexp-based parser)
- Kothic JS (javascript/HTML5-based renderer)
- OpenStreetPad (Renderer for iOS)
Other software
- JOSM (offline Java-based editor; example, implementation reference)
- MapCSS Syntax Highlighter (VS Code extension to implement syntax highlighting for MapCSS paint and validator files and embedded regular expressions)
- Komap (mapnik stylesheet preprocessor)
- node-tileserver (tileserver written in NodeJS using an extended Kothic JS for rendering tiles both on client and server side)
- Osmose (parser with antlr4 grammar and converter of rules to Python)
- overpass turbo (data mining tool based on Overpass API)
- pgmapcss (Runtime CSS evaluation in PostgreSQL; for use with Mapnik; documentation)
- Potlatch (online flash-based editor)
- Tcl-OSM (parser)
Parsers
- jsmapcss the MapCSS parser written in JavaScript used by overpass turbo
- mapcss-parser for Python
The following parsers are unmaintained:
- dart-mapcss - provides an antlr grammar for MapCSS and a generated lexer/parser in Googles Dart programming language (experimental, outdated, unmaintained)
See also
Other map stylesheet languages
- Main: Stylesheets
Other projects with customisable vector rendering
- Main: Vector tiles