Tilemill is a open-source map design program (multi-platform) using the mapnik rendering engine. Maps are styled in Carto (a css-like language) using a variety of data sources (postgis databases, shapefiles, geojson, spreadsheets), and can be exported in mbtiles, Vectors and Raster graphics.

learn more… | top users | synonyms

29
votes
3answers
11k views

Is there a Carto CSS Gallery which also contains code?

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 ...
22
votes
5answers
8k views

Any reason to use TileMill if Mapbox Studio is meant to replace it?

I'm new to using TileMill and it still seems like a popular cross-platform package, though I keep running into common bugs and errors with it (on Mac OSX). On Mapbox's page, it says that Mapbox Studio ...
17
votes
2answers
3k views

Can the new Mapbox Vector Tiles be used as a QGIS basemap?

With the implementation of the mapbox vector tiles begs the question of how these could be used as a basemap in a QGIS printed map (assuming anyone cares about printed maps anymore!). To use OSM data ...
14
votes
4answers
3k views

Are there tools to directly import QGIS projects into Tilemill?

Now that there is a tool to convert an MXD to Tilemill, one must then wonder if the ability to open QGIS documents in Tilemill will ever exist.
14
votes
0answers
771 views

Converting from SLD to Carto CSS?

I have a bunch of layers and corresponding SLD's running a WMS service. I was exploring the possibility of shifting to a TileMill's tile based TMS service. For this, I would like if it were possible ...
12
votes
2answers
3k views

How to automate export in Tilemill?

I have installed Tilemill to export my map as mbtiles,and I used mbutil to export as PNG images & UTFGrid.So forth,I have a Tilemill project with MSS(Carto) files.Now the data source is going to ...
11
votes
2answers
3k views

GUI tools for PostgreSQL/PostGIS?

as a cartographer I work with TileMill to visualize geodata. I installed a local PostgreSQL server with PostGIS and osm2pgsql. Everything works fine. Anyhow, I am new to working with servers and the ...
11
votes
2answers
4k views

How to compute parameters for QGIS Affine transformation?

I have a vector floorplan (DXF) that I've added to a blank project in QGIS using the Dxf2Shp plugin. I've been reading tutorials and StackExchange threads, but I can't seem to find out how to ...
11
votes
3answers
4k views

Stack - Mapnik, TileMill, OpenLayers, GeoExt

Would this work as a stack for serving webmaps with the basic GIS viewer functionality (pan, zoom, layer switching, info popups)? Apache Web Server Mapnik to serve the geo-data (TileMill to Style ...
9
votes
1answer
1k views

Leaflet rendering TileMill tiles in the wrong order

I'm stumped, and quite a lot of searching has turned up nothing helpful. I'm on the first step of what will ultimately be a map with three raster layers and three layers of markers (with controls to ...
9
votes
2answers
336 views

Options for a historic Web Map?

EDIT: I'm an intern at a small local history museum. We have a budget of $0. Project overview: I've got a bunch of old paper maps. When I say old, I mean 1800s and up. They've been scanned into ...
8
votes
1answer
4k views

What's the difference in using OpenLayers and Mapbox?

Hey guys I found this tilemill to develop WebGIS application using MapBox. I wanted to know how is it better than OpenLayers and if I have to develop which would be a better options to go for, as I ...
8
votes
2answers
187 views

How can I use data from PDF map?

I have a map over Sweden with plenty of data represented as circles of various sizes. The map is saved as PDF from Illustrator, fully editable. I wonder if there is any way I could get these circles ...
7
votes
2answers
2k views

Tilemill label and Shield are overlapping, how can this be solved?

I am trying to use tilemill labels and Shield together for my road designing. But there is a problem with that. Please see the following image for better understanding. The shield is ovarlapping the ...
7
votes
1answer
212 views

Find and destroy duplicate OSM multipolygon/polygons in TileMill/PostGIS

In OpenStreetMap there are sometimes multipolygons where attributes are present on both the polygon and the multipolygon relation, such as the Grampians National Park: ...
6
votes
3answers
2k views

Where I can find world terrain data?

I need free terrain data for the whole world which I can import into TileMill. Is there some source where I can download them? Thank you.
6
votes
3answers
2k views

Is there any way to use mbutil on windows?

I have used mbutil on ubuntu. Its a very handy tools. I am curious that is there any way to use it on windows 64 bit machine. If there is a way please help me to do so. Thanks in advance.
6
votes
1answer
3k views

How do I make text show up on top of Markers using Carto in TileMill

I'm attempting to place intersection markers on a trail map. Each intersection has a number. I can't seem to get the text show up above the marker. If I use the opacity, I can see the text is ...
6
votes
1answer
349 views

TileMill fails to load Europe data from PostGIS. What am I doing wrong?

The Problem: Using OSM-Bright in combination with an imported (osm2psql) Europe shapefile, tiles won't load unless I have 2-3 layers active (of the total of 29). I don't have this problem with an ...
6
votes
2answers
1k views

Tilemill Dynamic Tile Generation

I have recently used Tilemill and I wish to implement it for dynamic tile rendering.As I've seen an CartoDB doing in cloud system,they can query & generate dynamic tile for request with UTFGrid. ...
5
votes
3answers
694 views

Guidance when to style your features in Tilemill vs. Leaflet?

I've found this generally to be dependent on each project's goals (or what the client wants), but when you have the options, what any rules of thumb or guidelines do use you in a project to determine ...
5
votes
1answer
750 views

Is TileMill opensource?

I was reading this GIS.SE question about whether TileMill will be replaced by Mapbox Studio. I got worried about the future as a TileMill user, and the question suddenly came to me "isn't tilemill ...
5
votes
3answers
705 views

Tilemill Styling Multiple feature Overlap some data

Please see the following Image. I am using a single feature layer for road. Now I using the following code #roads { [ROAD_TYPE = 1] {line-width:8; line-color:#194536;} [ROAD_TYPE = 2] ...
5
votes
2answers
264 views

How to use external CartoCSS/mss within JavaScript?

I am using CartoCSS to style features in a run-time CartoDB layer (as opposed to a pre-made visualization) but it gets messy doing this within JavaScript: sublayers: [{ cartocss: '#initvisitedfws ...
5
votes
1answer
498 views

How to get started with map overlays and tiles

I have put quite some time into doing my own research and know in theory what i want to do and some of the steps involved in doing it but I wanted to put this question out to ensure i'm not going in ...
5
votes
2answers
387 views

How can I setup a simple web mapping system?

I'm new to mapping and GIS and I'd like to setup a mapping system to display informations on a map, I think the following could work but I'm not sure how good it is.. 1- I store my data (lat, lng ...
5
votes
1answer
765 views

Generate hillshading with GDAL, and respect nodata

I'm still trying to nut out this problem of merging overlapping geotiffs. From the original dataset (here, a 20m resolution digital elevation model of the state of Victoria), I have reprojected it ...
5
votes
2answers
431 views

Optimize Tilemill export of project with contour-lines (and fix out of memory problems)

I have a project in Tilemill (based on OSM-Bright) that covers Europe and also displays Contour-Lines. My problem is that the performance of Tilemill is pretty bad when displaying the contour lines ...
4
votes
1answer
782 views

Refer to zoom level in TileMill expressions

Is it possible to do something like this: #ways[highway="trunk"] { line-color:#c99; line-width:@zoom/10; } Obviously that example doesn't work. Is there another way to do arithmetic expressions ...
4
votes
1answer
715 views

How do I know when to use a map server or a tile server?

I'm new in GIS tech and I still have some questions about GIS. I wanted to know why to choose a map server (mapserver, geomap) instead of a tile server (tilestream, tilecache or tilestache) + tile ...
4
votes
1answer
161 views

How to correctly import a raster file with these metadatas into Tilemill?

I have a GeoTIFF file for which gdalsrsinfo reports this: PROJ.4 : '+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs ' OGC WKT : PROJCS["WGS 84 / UTM zone 32N", GEOGCS["WGS 84", ...
4
votes
1answer
781 views

Can CartoDB and Mapbox.js talk?

All, Back in December it seemed there was no way to bring in a CartoDB layer into a Mapbox.js or Tilemill project. Has this changed? ...
4
votes
2answers
2k views

How to style a GeoTIFF in Tilemill?

I'm trying to create a "heatmap" style visualization from a number of geopoints and values associated with them. I have been following along with this blog post. I've got a CSV file of points like ...
4
votes
1answer
211 views

Resume Tilemill MBTiles export after crash

Is there a way to resume a Tilemill export (MBTiles) after it has crashed? Today I just got the following crash: FATAL ERROR: Evacuation Allocation failed - process out of memory This was just a ...
4
votes
1answer
726 views

QGIS custom CRS for map of manufacturing shop floor

I'm working on a web app that shows a map of a manufacturing plant's shop floor. I've built it in Inkscape and QGIS, but when I try to load it into Tilemill, I get a CRS error. Specifically, it ...
4
votes
1answer
307 views

How to keep web map from displaying content from 2 zoom levels at the same time?

So I'm making a web app with a map that combines several layers (and dynamically toggles them off & on). I've made these layers in TileMill, exported them to .mbtiles files, and I'm serving them ...
4
votes
1answer
376 views

Free website host for embedding tilemill/mapbox web map

I am hoping to design a simple interactive web map using TileMill. I am then planning on uploading that map to Mapbox.com, where I understand I will be given an embed code to put on a website. My ...
4
votes
1answer
745 views

How to get data from TileMill tileLayer properties in Mapbox for click/hover

I've successfully used Leaflet to load a geoJSON polygon-shapefile with data, and added click and hover interactivity to the layer. For a large dataset, I switched to mapbox.js 1.6.1, used TileMill to ...
4
votes
1answer
2k views

Map from Mapbox as layer in OpenLayers

I want to use this map from mapbox as base layer in OpenLayers: http://mapbox.com/#/tileset/iraq I used this example to make it work. Everything is fine when I keep the code as it is with original ...
3
votes
2answers
645 views

Tilemill (Carto) code for styling multiple features from a single layer

How can I more efficiently write this piece of code which aims to style two features in my streets layer (major roads and major road ramps) the exact same way. #tor_centreline [FCODE=201200] { ...
3
votes
2answers
1k views

Where to find Vietnam administrative level 4 shape file?

I am new to mapping, and would like to make a custom map using Vietnam's administrative boundaries shape file. I found a great source at gadm.org, but it is licensed for non-commercial use only. I ...
3
votes
1answer
3k views

XYZ Layer in Open Layers has Missing Tiles

In Open Layers I'm having a missing tile problem where it generates a missing link icon and a pink background. I found several threads including this one saying to add this code ...
3
votes
1answer
273 views

Double transformation of marker in Carto CSS

I need to show on the map the direction of the road traffic with arrows. For this purpose I use markers for Carto CSS in TileMill. If the road has in OSM tag oneway="yes" or oneway="1", all is ok, ...
3
votes
1answer
249 views

How to render overlapping bus trips as one route from OSM?

I would like to create bus map for my city from OSM data. I imported data into Postgresql with osm2psql and I can render routes with Mapnik. But the problem is that same route ref is shown multiple ...
3
votes
5answers
4k views

Automatically download and merge webmap tiles into one big image?

Is there an easy way to download a bunch of web map tiles (in /z/x/y.png format) and stitch them together into a single large image? I could probably script this using ImageMagick, but would prefer ...
3
votes
1answer
1k views

Where is the reference for functions available in CartoCSS

I'm playing with Tilemill and i see that for some properties, like marker-transform, i can use functions. I want to use rotate() which takes 3 arguments (i learned this by inputing just one so it ...
3
votes
1answer
37 views

incorrect skewed re-projected Grid lines in TileMill

I am working on a project in TileMill for the first time. I am trying to overlay a Graticule of the British national square grid. I generated a series of LineString for the grid into PostGIS, which ...
3
votes
1answer
177 views

How do I get OpenLayers 3 to display png tiles made in TileMill?

So I used TileMill to style the map -> mbtiles export -> mbutil used to extract files to directory. I'm running GeoServer and moved this files within the webapps directory that I'm using to host the ...
3
votes
1answer
152 views

Displaying large number of polygons on web map?

I've started working on a project with a huge number of polygons, and I'm unsure of how to display/host it. The map I'd like to end up with will have three layers: 1) Shaded polygons representing ...
3
votes
1answer
217 views

Tilemill reversing land and water at high zoom levels

I tried asking this over at MapBox's support forum and got no help. I am trying to generate a map of Northern france using Tilemill and this set of land polygon data from openstreetmapdata.com (the ...