Questions tagged [tilemill]

Tilemill is an 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.

Filter by
Sorted by
Tagged with
17
votes
2answers
14k views

Computing 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 "...
25
votes
5answers
13k 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 ...
13
votes
2answers
4k views

How to automate export in Tilemill?

I have installed Tilemill to export my map as mbtiles,and I used mbutil to export as PNG images & UTFGrid.So forth,I have a Tilemill project with MSS(Carto) files.Now the data source is going to ...
2
votes
3answers
9k 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 ...
16
votes
4answers
4k views

Are there tools to directly import QGIS projects into Tilemill?

Now that there is a tool to convert an MXD to Tilemill, one must then wonder if the ability to open QGIS documents in Tilemill will ever exist.
1
vote
3answers
3k 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 ...
5
votes
3answers
879 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 ...
18
votes
1answer
12k 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 ...
3
votes
1answer
5k views

XYZ Layer in OpenLayers has missing tiles

In OpenLayers I'm having a missing tile problem where it generates a missing link icon and a pink background. I found several threads including this one saying to add this code OpenLayers.Util....
1
vote
1answer
384 views

Rendering specific tiles (by x,y,z) using TileMill

I'm playing around with an idea for reducing the size of my tilecache (inspired by this FOSS4G talk: http://vimeo.com/106873780. The main idea is to define a set of tiles related to a bounding box, ...
7
votes
1answer
734 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 ...
4
votes
1answer
903 views

QGIS custom CRS for map of manufacturing shop floor

I'm working on a web app that shows a map of a manufacturing plant's shop floor. I've built it in Inkscape and QGIS, but when I try to load it into Tilemill, I get a CRS error. Specifically, it says:...
1
vote
1answer
701 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]'; ...
4
votes
1answer
429 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 ...
3
votes
2answers
4k views

Fixing the OpenLayers MBTiles Example

I've been trying to implement the OpenLayers Example for reading MBTiles: http://projects.bryanmcbride.com/ol_mbtiles/ Right off, the link to the necessary mbtiles.php script was broken, but I found ...
3
votes
2answers
558 views

small difference in projection between tilemill and postgis

I would like to create a world map with interaction on continents created directly from a postgis database. For the moment, I have a POSTgis database with the data. I created a background with ...
2
votes
2answers
5k views

Creating MBtiles file from “.osm.pbf” file using TileMill

I am using Mapbox Offline Map in my app using MBTiles. Previously I was using shapefiles for creating offline maps. After searching a lot I am not getting Australian shapefiles. But my friend referred ...
2
votes
1answer
240 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, tilemill ...
1
vote
3answers
115 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 ...
1
vote
2answers
700 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 ...
1
vote
1answer
464 views

CartoCSS Expression for shield-name

Is there any way to use a regular expression to filter a string when using CartoCSS expressions? I have geojson of some ways and route relations I obtained using Overpass Turbo. When creating a new ...
1
vote
1answer
689 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 (...
1
vote
1answer
257 views

Drawing text and line-dasharray

Is it possible with TileMills and CartoCSS?
1
vote
1answer
279 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 ...
1
vote
2answers
1k 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
2answers
283 views

Mapbox Studio Classic layers to TileMill

Is it possible to copy a layer from Mapbox Studio Classic and use it in TileMill? Or at least how can I open the layer in say, a text editor and see its content so I can replicate in TileMill. This is ...
1
vote
1answer
295 views

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 ...