Take the 2-minute tour ×
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 http://www.mapbox.com/tilemill/gallery/

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 23 down vote accepted
+50

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.

https://github.com/andrewharvey/osm-hybrid-carto

https://github.com/aaronlidman/Toner-for-Tilemill https://github.com/ajashton/simple-osm

nice Transit map by Code for america participant jlord - https://github.com/codeforamerica/Transit-Map-in-TileMill

https://github.com/mapbox/osm-bright - 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

https://github.com/wboykinm/geosprocket-carto

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.

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

Check this CartoCSS port of the OpenStreetMap default style.

https://github.com/gravitystorm/openstreetmap-carto

share|improve this answer

This site has a similar question posted in 2011 and links to an example on Gethub.

The mapbox team has put up some examples here: mapbox/tilemill_examples

share|improve this answer
    
These samples are part of the TileMill Installation, and I've already seen them. –  Devdatta Tengshe Jun 4 '13 at 2:57

Your Answer

 
discard

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.