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
13 views

Using GDAL Convert .SHP to GEO TIFF in Command Line Python [duplicate]

I have dozen Shape files (.SHP) with Georeferenced. I need to convert to GeoTiff or other format that GDAL primarly gdal2tiles.py to convert to MBTiles format. All I want is convert the .shp files ...
0
votes
1answer
199 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
0answers
9 views

Tilemill: Render a raster only where a shape layer is underneath

I'd like to mask a raster to only those areas, where there is a shape layer underneath. To be more precise: I have a land layer and a hillshading on top and I only want my hillshading to appear on top ...
10
votes
2answers
2k views

GUI tools for PostgreSQL/PostGIS?

as a cartographer I work with TileMill to visualize geodata. I installed a local PostgreSQL server with PostGIS and osm2pgsql. Everything works fine. Anyhow, I am new to working with servers and the ...
1
vote
2answers
1k views

What is the best way to host mbtiles?

What is/are the best way(s) to host mbtiles? I have tried: hosting on my own server with tileserver.php: this works and is very straighforward and simple to set up, but doesn't seem to be super ...
2
votes
1answer
500 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 ...
3
votes
0answers
37 views

How can I show timezone in TileMill?

I downloaded data from Natural Earth Data and added it to TileMill (git revision 8044976 on Mac) I downloaded raster data, borders, cities, airports and timezones. However, the timezones show only a ...
1
vote
1answer
161 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
0answers
20 views

CartoCSS: raster custom transparency color value?

In QGIS (and probably other GIS tools) you can style a raster layer such that certain pixel color value(s) will be rendered as transparent. In QGIS 2.6, this can be set in Layer Properties -> ...
2
votes
2answers
499 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 ...
10
votes
2answers
2k views

How to compute parameters for QGIS Affine transformation?

I have a vector floorplan (DXF) that I've added to a blank project in QGIS using the Dxf2Shp plugin. I've been reading tutorials and StackExchange threads, but I can't seem to find out how to ...
1
vote
1answer
32 views

What OSM information to use for low zoom levels to get a style similar to MapQuest

I am building an outdoor map of Europe. Everything looks pretty nice when zoomed in. But when I am zoomed out, my map looks pretty boring. Most parts are white. In low zoom levels I display polygons ...
0
votes
1answer
16 views

How to make text hover in TileMill

In Tilemill, I have a #layer that consists of a CSV with 3 columns: [Name], [Latitude], and [Longitude]. I have plotted points using the latitude and longitude, but I would like to have the Name of ...
3
votes
1answer
236 views

Adding ArcGIS Server services or ArcSDE datasets to Tilemill?

Our web design department wants to use mapbox/tilemill to create webmaps for our public websites, but all our data is made available through ArcGIS-server or ArcSDE. Is there some way to use these ...
1
vote
3answers
498 views

Why does my map look stretched out?

I've decided to give this map design thing a go - I downloaded the USA counties shapefile from National Atlas, exported them to SQLite from QGIS, and then linked the SQLite file in Tilemill, and this ...
0
votes
1answer
26 views

Distance between waterway labels in CartoCSS

How can I manage distance between waterway labels (names of rivers) in cartoCSS?
0
votes
0answers
9 views

Tilemill Queue Configuration?

I'm rendering about 104 projects on TileMill-v0.10.1 Windows 8.1 x64, by default TileMill will run 4 at a time, unfortunately if I run more than one at a time then project.failed file always becomes > ...
0
votes
0answers
11 views

Legend & Teaser tilemill didn't show

i have to make map using tilemill, using tilemill i can add a legend to the map like this : but, when i try to show the map with google map, i export it to *.MBTiles. I can show the map.mbtiles ...
1
vote
1answer
47 views

How to fix “Detected out of bounds geographic extent”

I hope someone can help me to solve this problem. i want to make a map with TileMill v.01, when i try to add layer using shapefile (i use QGIS to edit *.shp file) or postGIS i always get error ...
0
votes
0answers
29 views

Custom fonts in Tilemill

I'm trying to add a custom font to my OSM Bright project in TileMill. I've followed instructions here: Tilemill use custom font and have found where in the palette.mss file I need to add my font, I've ...
1
vote
1answer
54 views

Tilemill and GeoTiff not working together

Loading in a geotiff with projection of EPSG:4326 isn't fully rendering: The original: The original in Tilemill: When using gdalwarp to change the projection from EPSG:4326 to EPSG:3857, ...
6
votes
2answers
1k views

Tilemill Dynamic Tile Generation

I have recently used Tilemill and I wish to implement it for dynamic tile rendering.As I've seen an CartoDB doing in cloud system,they can query & generate dynamic tile for request with UTFGrid. ...
0
votes
1answer
79 views

Error with TileMill and OpenStreetMap Carto project

I have been trying to load the OpenStreetMap carto project in order to export tiles for use on our in house GIS Server. I have followed all the instructions up to loading the osm xml into postGIS and ...
0
votes
0answers
27 views

Keeping file paths when converting cartocss to mapnik style

I am using Tilemill to edit a map style (mss) which is then exported for mapnik (xml). The problem is that although I specify the full path to my layer sources (e.g. shapefiles) when I export the ...
5
votes
2answers
142 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 ...
27
votes
4answers
8k 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 ...
0
votes
2answers
701 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 ...
3
votes
3answers
1k views

Tile server with dynamic mapnik rendering, caching, and pre-emptive rendering

I've been making some pretty (but computationally expensive) tiles with TileMill and I'd like to serve them up. First, I served them straight from TileMill. Every tile gets rendered dynamically, ...
3
votes
2answers
448 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
2answers
159 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 ...
17
votes
5answers
4k 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 ...
0
votes
1answer
20 views

Rendering thumbnails of a GPX track with my own tiles as base layer

I created my own Map using Tilemill. Now I'd like to display thumbnails of a GPX track where my map is the base layer. Do you have any idea how to do this performantly? I wrote a script that does it ...
0
votes
1answer
52 views

How do I take a contour .shp file and create a separate layer for each elevation?

The end result is to have a .dxf file in which each different elevation resides in a different layer. If at all possible I would like to be able to do the organizing in tile mill, or through some ...
0
votes
0answers
96 views

Implement Leaflet search box for 370,000 points stored in PostGIS served as raster tiles

I have built http://opentrees.org. It's a TileMill/PostGIS/Leaflet stack with raster tiles and UTFGrid interactivity. I'd like to add a search box, so users can search for a feature – trees in this ...
0
votes
2answers
62 views

How to make interactive OpenStreetMap layers in TileMill?

If I'm reading the UTFGrid spec right, you can only have 65,501 different interactive features. Or more precisely, every feature needs a unique ID in the range 0-65501. TileMill uses UTFGrid for its ...
1
vote
1answer
87 views

How to define Z dimension on table with PostGIS for import in TileMill?

I'm trying to reproduce the idea behind this blogpost from Mapbox, but with other data, for example the ne_10m_populated_places_simple dataset from Natural Earth. By adding a z-dimension to the data ...
0
votes
0answers
72 views

develop rooftop solar radiation potential from 3d buildings model (3dm)

Need to create solar cadastre without having LIDAR data. Have 3d buildings model in .3dm (150 000+ roof surfaces, 500 000+ facade surfaces unmapped, dtm 15x15m) with a lot of multipatch geometry ...
0
votes
1answer
29 views

How to restrict the number of symbols in feature name in CartoCSS?

I make a tourist map with CartoCSS in TileMill. There are several zooms and I would like to show markers of the objects on 15 zoom and their labels (names) on 16 or 17 zoom. If the number of symbols ...
0
votes
1answer
74 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
1answer
251 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 ...
11
votes
2answers
2k views

Can the new Mapbox Vector Tiles be used as a QGIS basemap?

With the implementation of the mapbox vector tiles begs the question of how these could be used as a basemap in a QGIS printed map (assuming anyone cares about printed maps anymore!). To use OSM data ...
1
vote
0answers
79 views

SVG patterns in Tilemill/Mapbox Studio

I'm working on a project that requires custom styles for lines, similar to that in Mapbox's line-pattern-file example, but I keep running into an issue where my custom line symbology looks suboptimal ...
0
votes
0answers
56 views

CartoCSS problem with zoom levels - polygons are turned off

Can someone help me where could be a problem with CartoCSS rule below? I'm not able to see "school" polygons at z11-13 though rule seems to be written correctly:>>> [zoom>=11][zoom<=15]. Polygons ...
0
votes
0answers
47 views

How can I create map tiles for an irregular shaped area, like a state?

I'm using Ubuntu 14.04, OSM in a Postgres database, and Tilemill to style and export to a mbtiles files. How can I generate tiles for an irregular-shaped (not rectangular) area. For example, if I want ...
1
vote
1answer
82 views

Imposm does not create planet_osm_* tables

I'm trying to follow the Tilemill OSM-Bright tutorial on a fresh install of OSGeoLive 8.0. I followed the instructions in the tutorial, and when I run tilemill, it can't access planet_osm_polygons. ...
0
votes
0answers
32 views

Visualize regular grid as TMS

I have a regular grid of points with wind values with a distance between the points of approx. 300 m. I would like to visualize this and get a TMS (with TileStache) as a regular grid of arrows ...
1
vote
0answers
36 views

TileMill Shield Size

I'm trying to set my shields on the map which contain only image (I don't want any text at all - only img). I can't change size of img. I tried markers too but I can't get them orientated like ...
0
votes
0answers
41 views

Problem with label and shield spacing function in Tilemill

It seems for me, that the biggest value for label-spacing and shield spacing function is only 300. and when I'm trying to set bigger values for them nothing happens. Can anyone say if smb has the same ...
1
vote
1answer
181 views

Marker icons overlapping street names in Tilemill

I'm new to CartoCSS and I'm trying to properly add subway markers on a map using Tilemill and OSM data. My problem is that some street names stay behind my marker icons : I have add ...
0
votes
1answer
34 views

Tilemill render specific z x y tiles

I own a tilemill project executed in command line. I want to update an specific tiles in order to avoid to reload the entire mbtiles file. Too much CPU time. I see in tilemill documentation the ...