Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am currently exploring the usage of CartoCSS and TileMill in one of our projects. I have seen the impressive gallery available at

The gallery looks impressive, but I am having trouble imaging how they achieved certain effects and styles. The Samples given in the Guide (for example here) seem too basic.

Are any detailed samples of the CartoCSS (rather than just the output) available somewhere?

share|improve this question

3 Answers 3

up vote 29 down vote accepted

Unfortunately, there isn't one yet.

I've asked myself the same thing occasionally but I've found a handful of examples through the years that I've drawn some inspiration and learned through. Unfortunately, most authors aren't putting their all or some of their work public. Also, there's been a couple small changes in carto, some of the code may not be 100% up to date or may not take advantage of carto's current capabilities and you'll also have to change things as people use different data types (postgis queries, shapefiles, json, etc) for your needs.

nice Transit map by Code for america participant jlord - - A great way to start learning carto. This is what really helped me to learn carto and I often use it as a base layer for projects or begin with it for a project. A fork of it.

LA Times' 'Quiet LA' Map style

Pandonia - style made by flickr

Some examples from Dane Springmeyer, Tilemill and mapnik developer These are very experimental and push the bounds of what can be done in Carto.

A mapping style for humanitarian contexts from HOT, the humanitarian openstreetmap team.

Additionally, the cartocss port of the OSM default style mentioned by maning is a nice work.

Lastly, this one in my github repo is a decent take off of osm-bright as well:

Experimenting with these styles and modifying them will really help you learn.

Carto is also used in Mapbox-Studio (aka tilemill2) but the processing of source data is different because it uses vector tiles. You have to first convert your data source into a vector tile source before using it.

The following styles, written for use in Mapbox-Studio, use Mapbox-Streets as the source data unless noted.

High-contrast black and white style similar aesthetics to Ello - viewable here


An orienteering map made by Rafa of Mapbox - uses external data sources

Darkly-Neon, from Stephen Smith

n\|/0, a Halloween-themed carto style that I made that uses numerous regular expressions. If you're looking to understand how to use regular expressions in Carto, this can help. Viewable here.

Lastly, As you experiment with Mapbox-streets as a data source, you'll also learn that some assumptions are baked into the data source. For example, you cannot display some POIs that are nodes in the #poi_label at a zoom level below 15 or 16.

share|improve this answer
Thanks for the shout Will! –  Bill Morris Sep 24 '13 at 15:11
Thanks a lot Will! –  Georg Jul 16 '14 at 6:36

Check this CartoCSS port of the OpenStreetMap default style.

share|improve this answer

There is also a list of CartoCSS map styles on the OpenStreetMap wiki.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.