Tagged Questions

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

0
votes
1answer
13 views

Pattern styled polygons in Tilemill

I'm just learning CartoCSS with Tilemill. I've got a really simple requirement for styling a polygon but cannot find any hint nowhere. What is the code for styling simple polygon fills e.g. can be ...
0
votes
0answers
19 views

Hosting Tiled images

I want to publish tile images that extracted using the MBUtil. I have the images but don't know what to do next! i.e. is there any open source way to publish them? and how?
0
votes
0answers
17 views

Using Mapbox Studio (aka Tilemill 2) to create a self-hosted map

What would be the neccessary prerequisites to run a map/tile-server using an exported vector source and tm2z-styleset? Has anyone set up a working environment for that? Is Tessera a possible ...
1
vote
1answer
15 views

osmosis schema, style with OSM-Bright

I have used Osmosis to load a large cut of OSM into a PostGIS DB, that works great. BUT, I would like to use the OSM-Bright style (carto CSS) to style it in TileMill and built tiles, offline. Going ...
1
vote
2answers
26 views

Marker with text overlap in Tilemill

I am trying to create markers with text-labels inside in Tilemill. As I don't want close markers to overlap I have the marker-allow-overlap:false; Now, this does not affect the text labels of the ...
0
votes
1answer
23 views

Best way to import Tilemill produced mbtiles to CouchDB?

I'm using MapProxy to seed a CouchDB with tile images on a FreeBSD server. My workflow is Tilemill -> mbtiles export -> mapproxy seed -> CouchDB. For zoom levels 10 - 17, rendering takes ~ 2-3 days, ...
0
votes
1answer
31 views

Can't add a postgis layer in tilemill (symbol shown grayed)

I want to add a postgis layer to a tilemill project but the symbol is shown grayed and I can't select it (shown on the picture below). I followed this instructions.
0
votes
1answer
12 views

Displaying rasters with transparent background in tilemill

I have created a set of annotations for different web zoom levels in ArcMap, and would like to use these labels in Tilemill rather than using the tilemill labeling engine. I am aware that I can't ...
2
votes
1answer
40 views

What can I use for Territory Management in Canada?

For our Canadian organization, I would like to map out the Postal Codes for each sales rep on a map. I've so far used R to pretty good success, but it completely lacks the interactivity I need to ...
0
votes
0answers
44 views

Live serving tiles from Tilemill: Easiest way?

I have set up Tilemill on a Ubuntu server and I have imported OSMBright as a starting point. In general it seem to work good. I have imported the planet file (took a long time but now it is done and ...
5
votes
1answer
116 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 ...
1
vote
3answers
21 views

Tilemill didn't render streets correctly, some parts are missing

can someone please explain me what's happend in the picture below or how i can debug what's going wrong? I downloaded some .osm.pbf files imported the files via osm2pgsql into a postgis database and ...
3
votes
1answer
44 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, ...
2
votes
2answers
57 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
19 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
378 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
33 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
24 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
626 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
46 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
37 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
27 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
9 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
40 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
34 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
30 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
55 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
60 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
164 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 ...
2
votes
0answers
50 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
125 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
115 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
27 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
79 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
120 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
57 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
58 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
83 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
44 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
76 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
40 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
2answers
137 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
120 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
81 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
26 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
55 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
27 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
37 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
77 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
33 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 ...