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

1
vote
1answer
90 views

How do I import a PNG as a TileMill layer?

I want to use the NASA "Blue Marble" images as the basis of a map tile set for a Leaflet.js map. It seems like using TileMill is the easiest way of building up my tiles, and opens a lot of options ...
0
votes
1answer
86 views

Hover effects using CartoCSS: Is this possible?

I'm trying to make a simple map of parcels in TileMill. Right now when I hover over a parcel, the information for that parcel appears in a teaser. That's simple enough. However, when working with ...
0
votes
0answers
19 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
14 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 ...
0
votes
1answer
81 views

Need assistance setting center coordinate with GDALWARP

I'm having some issues converting my project into an MBTiles format. I'm trying to use gdalwarp to convert my main file to geotiff format, but I can't seem to get the center coordinate to how it is ...
3
votes
1answer
41 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 ...
1
vote
1answer
14 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. ...
0
votes
1answer
9 views

TileMill terminal export command not working

I'm using the latest version of TileMill to export my tiles and it works perfectly when exporting the project directly from TileMill (I'm using Ubuntu 12.04). However, I want to be able to automatise ...
0
votes
0answers
14 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 ...
0
votes
2answers
102 views

Projection problem? — OpenLayers, Drupal, and MapBox

I've installed OpenLayers in Drupal 7 and created a view that pulls geofield data for a "Geography" vocabulary (states, tribes, and U.S. jurisdictions) and shows points on a map that I'm storing on ...
0
votes
0answers
13 views

Optimize Tilemill export of project with contour-lines

I have a project in Tilemill (based on OSM-Bright) that covers Europe and also displays Contour-Lines. My problem is that the performance is pretty bad when exporting my map. I've already seen that ...
1
vote
1answer
32 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 ...
2
votes
1answer
54 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 ...
4
votes
1answer
110 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 ...
1
vote
3answers
29 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 ...
1
vote
4answers
109 views

Create basemap tiles for a custom shape (for reducing the tiles count)

in order to create a world wide tiles (for a basemap) in acceaptable zoom level one must have a huge hd (see in this post). but, most of the world is sea... so i want to create x levels of the whole ...
0
votes
1answer
201 views

How to refer KML style inside TileMill

The following KML file contains paths with style and name tags: example. <Folder> <name>Pedestrian</name> <Style id="style-Pedestrian"> ...
1
vote
1answer
54 views

label placment in multipolygon with cartocss (Denmark, Greenland)

I am rendering an interactive world map with Tilemill and I have the problem that the country name for Denmark is placed onto Greenland. This is because Denmark is represented as a multipolygon with ...
2
votes
0answers
18 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
27 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; ...
2
votes
1answer
142 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 ...
0
votes
1answer
105 views

How to add title to mapbox <iframe> embed

I am embedding a map I made in Tilemill/Mapbox onto a Wix website. Items of the map such as legend, title, and description are not automatically included in the embed. I learned how to add the legend ...
5
votes
3answers
147 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 ...
2
votes
0answers
41 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 ...
0
votes
0answers
23 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
10 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 ...
0
votes
1answer
45 views

Draw icons and lables only for certain entities in Tilemill

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 ...
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 ...
1
vote
1answer
33 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
10 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
24 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 ...
2
votes
2answers
138 views

Choosing intervals for a map of race in the United States

I'm creating an open map layer of race in the United States using Census Data. This layer will be publicly available in the near future as "Justice Map". The goal is to help others create maps using ...
0
votes
2answers
49 views

CartoCSS layer visibility

I am working in TileMill and I have a number of layers in two different levels of detail. I have assigned classes to the layers "highdetail" and "lowdetail", and I know how to use the zoom selector - ...
0
votes
1answer
34 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
37 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
42 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
109 views

Targeting capital cities only in Tilemill/CartoCSS

At a specific zoom level in my Tilemill map, I want to only show capital cities, and hide all other cities. What data set could I use which will provide me with information oh whether a city is a ...
1
vote
2answers
454 views

Make new Tilemill map match default Mapbox label styles

I want to make a map in tilemill that matches the way that labels are displayed in this example, down to the countries that get labels at each zoom level, which country gets abbrev. vs. full title, ...
0
votes
0answers
8 views

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

Title says it all, here's the code And here's what the legend looks like currently
0
votes
0answers
49 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
0answers
49 views

Geojson not rendered with Mapnik

I am trying to generate a tile with Mapnik with a GeoJSON. The stylesheet.xml with the part to render the GeoJSON is the following: <Style name="cities" filter-mode="first"> <Rule> ...
0
votes
1answer
79 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
100 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
1answer
33 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
40 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
40 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
0answers
69 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
53 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 ...
0
votes
1answer
31 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": [[ ...
2
votes
1answer
37 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 ...