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

2
votes
2answers
41 views

What is the recommended workflow for using TileMill and OSM?

Using osm2pgsql, I imported an OSM extract into a Postgres database. Then I made a layer in in TileMill that contains the data from Postgres. The map was exported to a MBTiles file. At this point, all ...
1
vote
1answer
14 views

How do I display my roads in Tilemill?

First, I'm new to TileMill, Ubuntu, and OpenStreetMap so I may be overlooking something basic. I have a Postgres/PostGIS database with my OSM data. I created a new project in TileMill and added a ...
3
votes
1answer
323 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 ...
1
vote
2answers
18 views

How can I down load osm style sheet or mss file

I have down load shape file from OSM,then I open it using TileMill .The next step is create style sheet ".mss" file.How can i download the exact OSM's style sheet?
0
votes
0answers
13 views

How to Create Polygon drop shadow in TileMill?

How to Create Polygon drop shadow in TileMill? I need to create a drop shadow for my building polygon in TileMill. Any ideas?
8
votes
3answers
235 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 ...
1
vote
1answer
36 views

Coloring polygon based on date using TileMill/CartoDB?

How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or ...
0
votes
1answer
23 views

How to run tilemill remotely via the web interface (ubuntu)

I have set up tilemill on my Ubuntu 12.04 machine using the commands: sudo apt-add-repository ppa:developmentseed/mapbox sudo apt-get update sudo apt-get install tilemill service tilemill start Now ...
1
vote
1answer
23 views

What do cartocss attachments along filters mean?

I'm exploring openstreetmap-carto style and I wonder what does such syntax mean: [natural = 'water']::natural, [landuse = 'reservoir']::landuse, [waterway = 'riverbank']::waterway Is this ...
1
vote
0answers
7 views

How to turn off caching of fill patterns in TileMill?

I'm using CartoCSS in TileMill and png files on disk for filling polygon symbols with patterns. polygon-pattern-file: url('sprites/yard.png'); The display is ok the first time, but when I change the ...
0
votes
1answer
33 views

How to use a Geojson layer as a background mask?

I have some Geojson neighborhood shapes that I am using to create a small multiples chart. They are like this: I want to give them backgrounds for the area they represent. I want the streets and ...
2
votes
1answer
29 views

TileMill: How to mask layer without loosing background

I have a large geotiff with elevation gradient which I want to use to colour my map. However the coastal line of the geotiff doesn't excacly match my shapefile so I want to mask it. The problem is ...
2
votes
0answers
24 views

TileMill for Windows

After hours and days of trying to build TileMill from source on Windows, I'm more than frustrated. Is there anyone willing to share his/her up-to-date TileMill for Windows with me? I tried to build ...
2
votes
1answer
41 views

Generate MBTiles from xml

I need to generate hundreds of MBTiles from different shapefiles and same styles, so I created a xml from tilemill with a single shapefile and styling, using python landez library to generate MBTiles ...
1
vote
0answers
54 views

NASA SRTM: precipitous contour lines in TileMill

I was trying to make a nice looking print map of Bali (Indonesia) in TileMill. After creating a terrain layer (using this walkthrough) I noticed that the island's coastline was precipitous. Is ...
0
votes
1answer
109 views

Download mapbox default style as tiles

I need to have the tiles of a small city as PNGs. The style should be the same as in https://www.mapbox.com/editor/? Can I export the map there for a certain bounding box to tiles (or mbtiles)? I have ...
1
vote
0answers
30 views

Performance issues Tilemill with PostgreSQL and large datasets

I have a Tilemill project the size of europe. I developed my style-sheet by using a smaller dataset (size auf Austria) and everything was perfect. But now I did apply the same styles to my big europe ...
8
votes
2answers
121 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 ...
1
vote
1answer
95 views

TIleMill multiple design feature of the label road

Does TileMill have possibility to design features/labels in my case based on more than one command? I have this carto CSS code #mainroad_label[type='primary'][zoom>13], { text-name:'[name]'; ...
1
vote
1answer
20 views

Tilemill: Re-Export failed tiles after export

My Tilemill exports (MBTiles) tend to fail quite often lately... (Resume Tilemill MBTiles export after crash a bounty is waiting for anybody who helps me there btw ;-) ). We kind of solved the problem ...
1
vote
1answer
68 views

Custom style a particular road using CartoCSS/TileMill/OSM

For a particular city, I want to make the label for its main street labeled as prominently as Motorways. i.e. although this road would normally only be labeled from about zoom level 15 and up, I would ...
2
votes
1answer
76 views

Easy way to render TileMill tiles in retina mode with Leaflet?

I have a few quick little map websites that run straight off TileMill, without pre-exporting. They usually have code like this: L.tileLayer('http://example.com:20008/tile/MyMap/{z}/{x}/{y}.png', ...
0
votes
1answer
41 views

TileMill Reference Layer Plugin doesn't work w/ non-MapBox TileJSON

Has anyone been able to get TileMill's reference layer plugin to work w/ a TileJSON definition? In its description, it says it can work either with a mapbox map id or a tileJSON url. I've tried it ...
2
votes
1answer
54 views

Add GEOJSON layer in tilemill EACCES symlink Error

I'm trying to add a GEOJSON layer to Tilemill [ Version 0.10.2 (v0.10.1-293-g697c86c) ], installed on ubuntu 14.04. I've confirmed that the ID used is unique and attempted to load the file into my ...
2
votes
1answer
72 views

How to edit layers which are using via OSM Bright in Tilemill

How could i edit a map which is edited via OSM Bright in TileMill? Layers are in TM added via PostGis. OSM Bright it's simply built according to informations here. I need delete some roads also delete ...
2
votes
2answers
38 views

Conditional styling and expressions using modulus

I'm trying to style a contour shapefile in TileMill with all contour lines divisible by 100 bolder than others. Can I use expressions in defining a condition? The following example of course does not ...
4
votes
1answer
67 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 ...
1
vote
1answer
37 views

How can i resolve problem with bounds for export?

How could I set up bounds in TileMill if i don't want to upload the country around? I simply want to upload my created island in TileMill to Mapbox. Is there a way to do it? I am using OSM Bright for ...
2
votes
1answer
101 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 ...
1
vote
0answers
105 views

Generating full planet tiles from OpenStreetMap data?

i am tested using two scenarios, 1) First, i am used switch2osm for tile rendering. its good it handles many things. But it takes long days to pre-render all tiles and it takes huge memory ...
2
votes
2answers
59 views

Rotating labels in cartocss with controlling the rotation basepoint

I am trying to rotate multiple text labels in cartodb/cartocss. I am offseting each label so that they appear to be stacked using text-dx and text-dy. Using text-horizontal-alignment: left; and ...
1
vote
0answers
25 views

Attribute table in Tilemill - incorrect informations

I was editing OSM shapefile in ArcGIS 10.1. I have added new column to attribute table. Type of columns is "text/string". So content of the lines is only text (type of polygons). After adding this ...
0
votes
1answer
49 views

What projection to use with Mapbox base/reference layers?

excuse me if this has been asked before, but I can not find answer after heavy googling. What coordinate system/projection does shapefiles need to be in to be alligned correctly with mapbox reference ...
1
vote
1answer
25 views

Show names once on a dual carriageway in Tilemill

I am trying to render a local map using OSM data with Tilemill. I have things very close to how I want them. The biggest issue I would like to resolve is having road names show up twice for dual ...
2
votes
1answer
32 views

Invert gdalwrap cutline

I have a big raster image with medium details, but for some regions I do have far more details as a seperate raster image. Now I'd like to display both of them in my map that I render with Tilemill. ...
3
votes
1answer
73 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 ...
0
votes
0answers
30 views

In TileMill/CartoCSS how do show several markers for the same point?

I'm creating a custom map using TileMill to show local walks. I want to show Points Of Interest along the path. I've exported the points from Google Maps using KML and I want to show an icon on a ...
1
vote
1answer
70 views

Display local language for OSM data in TileMill

I'm following the instructions here to create a minimalist style map for Japan: https://github.com/aaronlidman/Toner-for-Tilemill Now, I've downloaded the OSM data, used osm2pgsql, created the ...
4
votes
2answers
128 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 ...
2
votes
3answers
54 views

Display peaks using Tilemill and only show relevant peak per zoom level

I want to make a map using Tilemill and I want to show the names of mountain-peaks. What I'd like to do: If the user zooms out (let's say zoom level 12) I only want to show the highest (most ...
2
votes
0answers
34 views

CartoCSS: Don't show border between adjacent polygons

In OSM, riverbeds are created as multiple adjacent or even overlapping polygons. When styling these polygons in CartoCSS with a border, the overlapping can be seen: I'd like to hide that line ...
0
votes
0answers
82 views

Tilemill/CartoCSS: how to center label in a polygon

For some reason, labels are always placed in the bottom right of a polygon. I want them in the center of a polygon. I tried these: text-horizontal-alignment: middle; text-vertical-alignment: middle; ...
3
votes
1answer
99 views

Using interactivity from multiple layers produced in TileMill in a single map

I have a MapBox.js map with several layers here . I would like to be able to use TileMill's teaser and full interactivity on a few of the layers, but I have only been able to accomplish this for a ...
2
votes
0answers
67 views

How can I use Natural Earth's country data in TileMill without map tearing?

I am trying to import the ne_10m_admin_0_countries shp file from Natural Earth into TileMill but I get strange map tearing around Antarctica. I tried through PostGIS first (my main motivation for ...
5
votes
3answers
220 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 ...
0
votes
0answers
39 views

Adding another style to an OpenStreetMap server using Mapnik and PostGIS etc

I have created an OpenStreetMap server using this guide: switch to osm it's very good and works like a charm. I have also been able to add a new theme using TileMill and osm-bright However, I now ...
1
vote
0answers
13 views

TileMill-style based on the country the objects belong to

Is it possible to have different TileMill stylings in different countries? I need for instance different colours for highways based on the country the highway is in. Is there a best practice solution ...
1
vote
1answer
99 views

Draw icons and lables only for certain entities in Tilemill 2

I've recently started to use mapbox' TileMill2 to play around with vector tiles. It's pretty nice and, in comparison to Tilemill(1), much more faster. Exactly what I was searching for. Now I'm trying ...
1
vote
1answer
60 views

Rotating markers for points in Tilemill along direction of a way

I have designed a simple marker to represent pedestrian crossings, which in OpenStreetMap data are represented as nodes (points) along the way (line). I want to rotate the marker to follow the line it ...
0
votes
0answers
18 views

Tilemill logs - Is there a way to remove [tilemill] prefix

In the Tilemill logs, is there a way to remove the [tilemill] prefix of every line? I'm trying to add the timestamp of each log line in the tilemill logs. I can easily do it with log-prefix module. I ...