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

8
votes
2answers
95 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
50 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
11 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
30 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
20 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
25 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
25 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
46 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
1answer
17 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
41 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
33 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
45 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
60 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
26 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
21 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
36 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
18 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
24 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
55 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
19 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
41 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
94 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
40 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
24 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
42 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
63 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
54 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
174 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
30 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
12 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
68 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
41 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
12 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 ...
1
vote
1answer
35 views

Styling of label on a line in Tilemill [duplicate]

I currently have a line that I want to but a label onto in Tilemill. It currently looks like this: But what I would prefer is something like this: where the line isn't rendered around (and ...
0
votes
1answer
17 views

Tilemill grey border on mbtiles export

I've got my final raster tile map (via vrt) into tilemill and am trying different mbtiles export options. No matter what boundary I specify for export - I always end up with the beige top and bottom ...
0
votes
1answer
49 views

How do I add a Natural Earth label layer to a TileMill project?

I'm using TileMill from MapBox to generate tiles and export Mapnik xml files. So far so good. I've downloaded the entire Natural Earth dataset, and have so far successfully imported layers for lakes, ...
1
vote
2answers
45 views

Automate import of multiple rasters as layers into tilemill

Could anyone please suggest a way of automating the import of raster tiffs into tile mill? It's driving me mad as I have well over 100 files. I could do it manually but I'm on a tight deadline... I ...
0
votes
0answers
46 views

Tilemill reversing inner and outer in multipolygon relations

Tilemill renders multipolygon relation (a middle part of a big lake (ID 2101875)) incorrectly: Multipolygon relations (inner/outer) seems to render mirror-like, compare: an island in OpenStreetMap ...
0
votes
1answer
18 views

Tilemill Legend not displaying title and only filling in 5 out of 9 categories

Title says it all, here's the code Actual look of the legend
0
votes
0answers
69 views

Tilemill use custom font

I want to use the font Air Soft Condensed heavy in Tilemill. I placed the font file Positype-AirSoftCond-Heavy.otf into the font directory of my project: ...
0
votes
1answer
100 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 ...
0
votes
1answer
43 views

Missing hstore column in TileMill!

I made a PostgreSQL with PosGIS Extension DB with the pgsnapshot_schema and loaded an .osm.pbf-file with OSMOSIS into it. Now i connected it to TileMill, but if i look up into the table i just see ...
0
votes
1answer
36 views

How do I mask a raster in TileMill?

I've tried just about every single TileMill compositing operation on the vector and raster layers in question, and I have to admit that I can't figure it out: How the heck can I mask a raster with a ...
0
votes
1answer
50 views

TileMill: Can't use both background-color and background-image?

Very new to TileMill and am working on my first project. I'm using a pattern image to enhance some areas on the map, water being an example. I've added the pattern to the water areas on my layers, ...
0
votes
1answer
146 views

How do I serve MBTiles with TileStache?

I'm am looking for a way to serve tiles while offline. I'm using Windows 7. Here's what I've done so far: -Uploaded a portion of OSM data into TileMill -Converted the OSM data into a file called ...
0
votes
0answers
85 views

How to import SRTM data for the whole planet into TileMill

I need to get SRTM elevation data for the whole planet into TileMill. I already walked through the instructions on Steve Bennett's blog and it worked fine for small areas. The problem is now that for ...
0
votes
1answer
38 views

TileMill OGR Plugin: Failed to read GeoJSON data

I'm trying to load the following into a TileMill layer as the file build1.geojson { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[ ...
0
votes
1answer
63 views

Getting coordinates to create geojson

I have a geotiff that I have been working with in tilemill and I would like to select portions (buildings) in the map and create new layers as geojson objects. My issue is I don't know how to get the ...
2
votes
1answer
43 views

When I publish a layer(shapefile or postgis) with TileMill, 200 meters moves

I hope someone can help me. Not if you know the TileMill application I'm working with her to publish layers look more beautiful. Well, first I have posted directly loading the shp file., But when ...
2
votes
0answers
97 views

TileMill Exports Failing

I'm having trouble exporting my map in TileMill (v0.10.1). I'm using OSM Bright with a PostGIS database connection to import OpenStreetMap data. When exporting an SVG or PDF through the user interface ...