Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

34
votes
3answers
14k 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 ...
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 ...
17
votes
0answers
1k views

Converting from SLD to Carto CSS? [closed]

I have a bunch of layers and corresponding SLD's running a WMS service. I was exploring the possibility of shifting to a TileMill's tile based TMS service. For this, I would like if it were possible ...
16
votes
4answers
3k 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.
15
votes
2answers
9k 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 ...
14
votes
2answers
11k 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 "...
14
votes
2answers
4k 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 ...
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 ...
11
votes
3answers
4k views

Stack - Mapnik, TileMill, OpenLayers, GeoExt

Would this work as a stack for serving web maps with the basic GIS viewer functionality (pan, zoom, layer switching, info popups)? Apache Web Server Mapnik to serve the geo-data (TileMill to Style ...
9
votes
2answers
365 views

Seeking options for historic Web Map? [closed]

I'm an intern at a small local history museum. We have a budget of $0. Project overview: I've got a bunch of old paper maps. When I say old, I mean 1800s and up. They've been scanned into TIFFs. I ...
9
votes
1answer
5k views

What's the difference in using OpenLayers and Mapbox?

Hey guys I found this tilemill to develop WebGIS application using MapBox. I wanted to know how is it better than OpenLayers and if I have to develop which would be a better options to go for, as I ...
8
votes
3answers
2k views

Where I can find world terrain data?

I need free terrain data for the whole world which I can import into TileMill. Is there some source where I can download them?
8
votes
3answers
5k views

Is there any way to use mbutil on Windows?

I have used mbutil on Ubuntu. It's a very handy tool. I am curious if there is any way to use it on a Windows 64 bit machine. If there is a way please help me to do so.
8
votes
2answers
231 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 ...
7
votes
4answers
10k views

How to make a private OSM (Save personal information to) a map using OpenLayers or TileMill or mapbox

OSM (OpenStreetMap) is great for making a real time public map for general purposes but what if I want to add private info to a map such as the location and date of my first kiss or a note about every ...
7
votes
6answers
9k views

Automatically download and merge webmap tiles into one big image?

Is there an easy way to download a bunch of web map tiles (in /z/x/y.png format) and stitch them together into a single large image? I could probably script this using ImageMagick, but would prefer ...
7
votes
1answer
4k views

How do I make text show up on top of Markers using Carto in TileMill

I'm attempting to place intersection markers on a trail map. Each intersection has a number. I can't seem to get the text show up above the marker. If I use the opacity, I can see the text is ...
7
votes
2answers
2k views

Tilemill label and Shield are overlapping, how can this be solved?

I am trying to use tilemill labels and Shield together for my road designing. But there is a problem with that. Please see the following image for better understanding. The shield is ovarlapping the ...
7
votes
1answer
596 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 ...
7
votes
1answer
362 views

Find and destroy duplicate OSM multipolygon/polygons in TileMill/PostGIS

In OpenStreetMap there are sometimes multipolygons where attributes are present on both the polygon and the multipolygon relation, such as the Grampians National Park: http://www.openstreetmap.org/...
6
votes
1answer
962 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 ...
6
votes
1answer
1k views

Generate hillshading with GDAL, and respect nodata

I'm still trying to nut out this problem of merging overlapping geotiffs. From the original dataset (here, a 20m resolution digital elevation model of the state of Victoria), I have reprojected it ...
6
votes
1answer
2k views

Smooth, not simplify, lines features in PostGIS

I'm trying to automatically generate paths to place labels on that follow the shape of rivers, 4wd tracks and other very windy lines. At first I thought the st_simplify() function was the answer, but ...
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. ...
5
votes
3answers
846 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 ...
5
votes
3answers
879 views

Tilemill Styling Multiple feature Overlap some data

Please see the following Image. I am using a single feature layer for road. Now I using the following code #roads { [ROAD_TYPE = 1] {line-width:8; line-color:#194536;} [ROAD_TYPE = 2] {line-...
5
votes
2answers
454 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 {...
5
votes
1answer
1k views

Refer to zoom level in TileMill expressions

Is it possible to do something like this: #ways[highway="trunk"] { line-color:#c99; line-width:@zoom/10; } Obviously that example doesn't work. Is there another way to do arithmetic expressions ...
5
votes
2answers
6k 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 fast ...
5
votes
1answer
1k views

How do I know when to use a map server or a tile server?

I'm new in GIS tech and I still have some questions about GIS. I wanted to know why to choose a map server (MapServer, geomap) instead of a tile server (tilestream, tilecache or tilestache) + tile ...
5
votes
1answer
578 views

How to get started with map overlays and tiles

I have put quite some time into doing my own research and know in theory what i want to do and some of the steps involved in doing it but I wanted to put this question out to ensure i'm not going in ...
5
votes
2answers
427 views

How can I setup a simple web mapping system?

I'm new to mapping and GIS and I'd like to setup a mapping system to display information on a map, I think the following could work but I'm not sure how good it is.. I store my data (lat, lng etc) on ...
5
votes
1answer
505 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 ...
5
votes
3answers
3k 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, ...
5
votes
2answers
567 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 ...
4
votes
4answers
655 views

Permission Denied when installing openstreetmap server

I am installing a tile server from this link on my Ubuntu Machine 14.04. The problem I am facing is in this line : ./make.py cd ../OSMBright/ carto project.mml > OSMBright.xml Whenever I enter '...
4
votes
1answer
455 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 ...
4
votes
1answer
1k views

How do I get OpenLayers 3 to display png tiles made in TileMill?

So I used TileMill to style the map -> mbtiles export -> mbutil used to extract files to directory. I'm running GeoServer and moved this files within the webapps directory that I'm using to host the ...
4
votes
1answer
742 views

How to correctly import a raster file with these metadatas into Tilemill?

I have a GeoTIFF file for which gdalsrsinfo reports this: PROJ.4 : '+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs ' OGC WKT : PROJCS["WGS 84 / UTM zone 32N", GEOGCS["WGS 84", DATUM["WGS_1984"...
4
votes
2answers
974 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 ...
4
votes
2answers
2k 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', {})...
4
votes
1answer
817 views

Can CartoDB and Mapbox.js talk?

All, Back in December it seemed there was no way to bring in a CartoDB layer into a Mapbox.js or Tilemill project. Has this changed? (http://support.mapbox.com/discussions/mapbox-tiles/763-cartodb-...
4
votes
2answers
2k views

How to style a GeoTIFF in Tilemill?

I'm trying to create a "heatmap" style visualization from a number of geopoints and values associated with them. I have been following along with this blog post. I've got a CSV file of points like ...
4
votes
1answer
391 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 ...
4
votes
1answer
853 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:...
4
votes
1answer
331 views

How to keep web map from displaying content from 2 zoom levels at the same time?

So I'm making a web app with a map that combines several layers (and dynamically toggles them off & on). I've made these layers in TileMill, exported them to .mbtiles files, and I'm serving them ...
4
votes
1answer
1k 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 ...
4
votes
1answer
2k views

Map from Mapbox as layer in OpenLayers

I want to use this map from mapbox as base layer in OpenLayers: http://mapbox.com/#/tileset/iraq I used this example to make it work. Everything is fine when I keep the code as it is with original ...
4
votes
0answers
480 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 ...
3
votes
0answers
35 views

TileMill : Assigning band combination

I am working on Tile Mill Version 0.10.1 (v0.10.1) on windows 7. I have satellite image of world view 2. I am converting that image to .mbtiles. My problem is I am unable to assign any band ...