Transparent map stylesheet for OSM data written in carto. Designed as an overlay for aerial imagery.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


OSMT (OSM Hybrid Carto) is a map style written in carto for OpenStreetMap data. It is designed as an overlay to be shown on top of satellite or aerial imagery.

OSMT Preview on AGRI Base Imagery image attribution

I have a live demo of this map style here.


OSM Hybrid Carto Style sheet (c) by Andrew Harvey <>

OSM Hybrid Carto Style sheet is licensed under a Creative Commons CC0 Public Domain Dedication license.

You should have received a copy of the license along with this work. If not, see

Although not required, I would prefer you give Attribution when using this work and release modifications to this stylesheet under the same CC0 license.


You need to run ./ first to configure osmt/osmt.mml with your PostgreSQL connection parameters. Run ./ --help for syntax.

After this you can compile the style sheet to a Mapnik2 XML style sheet using carto osmt/osmt.mml > osmt.xml

You will also need to have some OSM data loaded into PostgreSQL using osm2pgsql with the --hstore option. A recent shipped with osm2pgsql should be sufficient.


The contents of the symbols directory are referenced as /usr/share/icons/osmt/ in the style sheet.

The SJJB Map Icons referenced can be installed onto the system using the Debian package from or extracting the PNG package from into same system location.


I encountered problems with fonts when using TileLite, TileCache and TileStache.

This is probably because the Debain build of Mapnik uses a font path of /usr/share/fonts/truetype/ttf-dejavu. You can run mapnik-config --fonts to check the current path. I found setting this to /usr/share/fonts/truetype worked, either by changing this at Mapnik build time or by editing /usr/share/pyshared/mapnik2/