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
0answers
8 views

Reduce building size in tilemill

I am designing a map of very densely populated area in Tilemill. I am using OSM building data. Due to having a lot of buildings it is very difficult to differentiate one building to another. Is there ...
-1
votes
1answer
87 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 (serving raster tiles) using an exported vector source and tm2z-styleset? Has anyone set up a working environment for that? Is ...
1
vote
1answer
30 views

Created custom tiles, added tile bounds to leaflet but it's still trying to load tiles outside of boundaries

I created custom tiles in TileMill with latitude/longitude boundaries of: -89.8235,43.3377,-89.5952,43.4741 I added those tiles into the map and set the tile layer's bounds attribute, but Leaflet ...
1
vote
2answers
555 views

How to add hyperlinks & embedded images to TileMill / Mapbox Tooltips?

I have a shapefile I am styling in TileMill; which will be imported later into a Mapbox webmap as MBTiles. There is an attribute field for each feature in the shapefile that contains a link to an ...
2
votes
1answer
30 views

Export TileMill project as SVG image with CartoCSS applied to it

I am able to export TileMill project as mbtiles and rendering tiles on map using leaflet which is working fine. But if I export the project as SVG or PNG image the CartoCSS which I have written is not ...
3
votes
1answer
35 views

How to use external CartoCSS/mss within JavaScript?

I am using CartoCSS to style features in a run-time CartoDB layer (as opposed to a pre-made visualization) but it gets messy doing this within JavaScript: sublayers: [{ cartocss: '#initvisitedfws ...
0
votes
1answer
306 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"> ...
0
votes
0answers
37 views

Using nginx to serve tiles

I created a map in Tilemill, exported to mbtiles, and created a cache of tiles using TileStache. Until now, I have been using Apache as a reverse proxy for TileStache to serve the tiles, but I'm ...
1
vote
1answer
95 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 ...
0
votes
1answer
21 views

How to place the label on the map once in TileMill?

I am trying to create a basemap in tilemill. Very new to this software. When I add the label styling for the roads, it adds the name several times. Is there a way to have it only place the label on ...
2
votes
1answer
36 views

ogr2ogr + MapInfo TAB + SQLite (SpatiaLite) = unicode problems

I'm adding MapInfo TAB files to SQLite (SpatiaLite) database using those arguments: ogr2ogr -f "SQLite" dataset.sqlite somelayer.tab -dsco spatialite=yes Source file somelayer.tab have ...
0
votes
1answer
152 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 ...
4
votes
1answer
203 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 ...
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
2answers
327 views

Print City Map in High Resolution with TileMill (OSM Data)

I'm rather beginner in Print Map and GIS. I'd like to print the map of my little city using the data in OpenStreetMap. I've got an environment(local) with OSM DataBase and I'm using TileMill to ...
1
vote
1answer
31 views

How to select a line from a osm shape by osm_id

I'm using TileMill to make a map, but I can't seem to be able to format a specific item with a specific osm_id via mss. I have a shape file added as a layer #line: Then, in the features list of ...
0
votes
0answers
23 views

Points of interest

I am using OSM Bright carto template for rendering my own OpenStreetMap data. When I imported data with osm2pgsql I specified sytle openstreetmap-carto. Points of interest (amenities) are in ...
2
votes
1answer
281 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
24 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
31 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?
1
vote
1answer
20 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 ...
25
votes
3answers
5k views

Is there a Carto CSS Gallery which also contains code?

I am currently exploring the usage of CartoCSS and TileMill in one of our projects. I have seen the impressive gallery available at http://www.mapbox.com/tilemill/gallery/ The gallery looks ...
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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
33 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, ...
5
votes
1answer
127 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
2answers
42 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 ...
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 ...
0
votes
1answer
33 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
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 ...
2
votes
1answer
41 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
70 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 ...
2
votes
2answers
146 views

CartoCSS different background colors of Map element

I tried to change the background color of a map in zoomlevels greater than 11, but Map{ background-color:@water; [zoom>11]{background-color:@water*1.05;} } had no effect. Is there an other ...
1
vote
3answers
24 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
59 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, ...
0
votes
1answer
61 views

Opening TileMill from Ubuntu launcher after building from source

I build TileMill from source following this tutorial. Now I can open it by going to the folder cd ~/tilemill and run node index.js. This all works fine. But I want to open it using the Ubuntu ...
2
votes
2answers
63 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
23 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 ...
1
vote
2answers
40 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?
9
votes
3answers
947 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 ...
3
votes
1answer
397 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
1answer
52 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
0answers
33 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?
1
vote
1answer
29 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 ...
0
votes
1answer
49 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
0answers
14 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
43 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
38 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
33 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
63 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 ...