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
160 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
137 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
102 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
30 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
59 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
28 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
42 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
86 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
34 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
103 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
166 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
71 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
45 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
124 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
122 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
76 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
281 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 ...
1
vote
1answer
87 views

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

I have created an OpenStreetMap server using the guide Manually building a tile server (12.04). It's very good and works like a charm. I have also been able to add a new theme using TileMill and ...
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
150 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
95 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
21 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
52 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
21 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
104 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
76 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
68 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
35 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
171 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: ...
3
votes
1answer
305 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
57 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
2answers
62 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
130 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
356 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
135 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
65 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
90 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
64 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
170 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 ...
3
votes
1answer
118 views

OSM line labels in Tilemill

I'm learning to use Tilemill to map Toronto OSM street data. I've added osm2psql data from http://metro.teczno.com/#toronto. When turning on road labels for the line file, I find that I'm getting ...
0
votes
1answer
181 views

How to start creating a map and exporting it as a raster MBTiles file

I am new to this whole GIS thing (my background is software-development, but not GIS) but I am super interested in making maps. So I started playing around with TileMill and was making my first steps ...
0
votes
0answers
140 views

Importing multiple GeoTiffs in TileMill

I am a software engineer that is very new in the geo world. So excuse my ignorance if this question seems simple or if terms I use are totally wrong. Problem: I have been tasked with taking multiple ...
0
votes
0answers
117 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> ...
1
vote
1answer
149 views

mapnik generate_tiles.py error using .xml from TileMill

I wanted to render png tiles (like form tile server of osm). I made postGIS db, succesfully run TileMill with OSMBright style. I read that I need now export mapnik xml from TileMill. I checked Mapnik ...
3
votes
1answer
138 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 ...
0
votes
3answers
199 views

Performance problems using big points shapefile in TileMill

I've downloaded all the addresses in Italy from OSM and now I've a shapefile with more 514.000 points (16.065 KBbyte when zipped). I need to publish them with other geospatial information (points ...
1
vote
1answer
87 views

Drawing text and line-dasharray

Is it possible with TileMills and CartoCSS?
1
vote
4answers
222 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
2answers
170 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 - ...
1
vote
1answer
170 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 ...