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.

1
vote
1answer
818 views

Tilemill/CartoCSS: how to center label in a polygon

For some reason, labels are always placed in the bottom right of a polygon. I want them in the center of a polygon. I tried these: text-horizontal-alignment: middle; text-vertical-alignment: middle; ...
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 ...
1
vote
0answers
18 views

Flat image output in TileMill SVG export

I have created a map in TileMill using OSM data (~500 Mb) and modifying the CartoCSS to fit my use case. I need to export it as an SVG with all the different objects being vectors etc. However, when ...
1
vote
1answer
363 views

Adding title in TileMill/Mapbox map?

I have successfully made a legend and teasers for a tilemill map. However, I don't know how to add a title and don't see a function for it. If I wanted to add a title, how would I do that?
0
votes
0answers
14 views

Load CSV in SQLite and then create layer in Tilemill

I have a big CSV file with addresses and their lon/lat. I am not able to load that in Tilemill directly. I thought to load that CSV in SQLite Db and then create a layer with SQLite DB. I am not able ...
1
vote
1answer
64 views

Show names once on a dual carriageway in Tilemill

I am trying to render a local map using OSM data with Tilemill. The biggest issue is having road names show up twice for a dual carriageway. I was thinking I could use oneway="1" plus another ...
2
votes
2answers
2k views

How to create 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 ...
0
votes
1answer
72 views

Rendering specific z x y tiles using Tilemill?

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 --...
3
votes
1answer
64 views

TileMill Issue with Null values

I have this original image But when i open it in TileMill, it converts image like this. White areas are transparent in the image This is more like, it removes all no data values i.e. 255 in my ...
1
vote
1answer
688 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 "text-allow-...
1
vote
0answers
223 views

Setting 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
117 views

Correct way of setting up OSM tile server with custom styling

I have managed to set up an OSM tile server (Ubuntu 18.04), by using this docker image: https://hub.docker.com/r/overv/openstreetmap-tile-server/ Everything works fine while generating tiles with ...
1
vote
2answers
974 views

Visualize MbTiles database

Imagine having a MbTiles database like the one you can download here Is there a way to quickly visualize the tiles on a map? Such as an online tool, QGIS PlugIn, ... If I get a completly unknown ...
1
vote
1answer
159 views

Publishing layer (shapefile or postgis) with TileMill moves it 200 meters?

I am working with the TileMill application to publish layers. Well, first I have posted directly loading the shp file., But when the charge goes I moved about 200 meters. Then as I have the ...
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 ...
1
vote
1answer
137 views

Working CartoCSS editor?

I set up my own tile server starting with the switch2osm tutorial to which I added contour lines and hillshading. It is based on openstreetmap-carto which is obviously CartoCSS, but when I tried to ...
1
vote
0answers
36 views

tilemill - styling map similar to google at max out zoom level

I have osm bright in tilemill When i zoom all the way out to the world, the style on the maps looks very bland and basic, I was hoping to achieve something like how google maps look (I'm not after a ...
0
votes
1answer
67 views

Tilemill grey border on mbtiles export

I've got my final raster tile map (via vrt) into tilemill and am trying different mbtiles export options. No matter what boundary I specify for export - I always end up with the beige top and bottom ...
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 ...
1
vote
0answers
28 views

Steps to dipslay aerial photos as tiles using tilemill [closed]

I am new to tilemill and trying to find out steps to display aerial photos as tiles in tilemill. The aerial photos are saved as geotiff files and I tried to create a new layer using them as the ...
0
votes
1answer
73 views

UTFGrid grid map generated by TileMill v0.10.1 looks off from the actual map

I have been trying to create UTFGrid from shapefiles using TileMill v0.10.1. For some reason the grid map it generated looks like it is stretched from the original map. For Example: This is the ...
0
votes
1answer
85 views

Stretch image to fit boundary coordinates in TileMill

I would like to add an image as a layer to a Tile Mill map by specifying the coordinates. Is this possible? If so, how would I do this? I've seen this being done, where an image is set to certain ...
1
vote
1answer
131 views

Not all features available in OSM exports in TileMill?

I'm using TileMill and OSM Bright to style an OpenStreetMap for hiking. The problem is that OSM Bright does not import all the OSM features for styling. I believe it's possible to add features in the ...
0
votes
2answers
656 views

How to create a (offline) custom map from OSM data?

I am a beginner with GIS software, but know some basics of the OSM format. So I want to create a custom map for a game. I already created a heightmap from DEM data, but I need to color the water ...
1
vote
1answer
243 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 ...
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 ...
0
votes
1answer
318 views

Tilemill/openstreetmap-carto, how to remove unwanted road lines

I am using Tilemill and the openstreetmap-carto style. The latest versions of each. I was curious to why these Center-lines are showing up in my highways and roads, and I am unable to get rid of them. ...
3
votes
2answers
2k views

Download OpenStreetMap style sheet or mss file

I have download a shapefile from OpenStreetMap (OSM), then I open it using TileMill. The next step is create stylesheet ".mss" file. How can I download the exact OSM's stylesheet?
2
votes
1answer
225 views

TileMill: How to mask layer without losing 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 exactly match my shapefile so I want to mask it. The problem is ...
0
votes
1answer
519 views

serving UTFgrid information made with mb-util with leaflet

I've created the mbtiles file with tilemill and exported it on my ubuntu webfolder with the following command: mb-util --scheme=xyz /folder/tile.mbtiles /var/www/html/my-tiles To get utfgrid ...
0
votes
1answer
114 views

Mapnik + TileStache not displaying map properly

I have been running into an issue with getting my map displayed using Mapnik XML stylesheets with TileStache. When i am using MBTiles format, the map is displayed perfectly however when i switch over ...
1
vote
0answers
110 views

--flat-nodes osm2pgsql data import and tilemill

This is more so a question regarding the import process with osm2pgsql and the use of the --flat-nodes option as i have seen that this is very useful especially when it comes to importing the entire ...
1
vote
1answer
275 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 ...
1
vote
1answer
293 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 shapefile added as a layer #line: Then, in the features list of #...
-1
votes
1answer
99 views

Tilemill Legend not displaying title and only filling in 5 out of 9 categories

Tilemill Legend not displaying title and only filling in 5 out of 9 categories. Here's the code Actual look of the legend
0
votes
1answer
629 views

TileMill OGR Plugin: Failed to read GeoJSON data

I'm trying to load the following into a TileMill layer as the file build1.geojson { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[ [752669,349453],[...
0
votes
1answer
71 views

Making 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 ...
2
votes
1answer
62 views

Priority of street labels over amenity icons

OK, so I have a CartoCSS project. These are all of the stylesheets used (as described in my project.mml): "Stylesheet": [ "palette.mss", "base.mss", "roads.mss", "labels.mss", ...
0
votes
0answers
89 views

How to cut contour lines at coast line?

I have successful created a shapefile from an island with contours by downloading the data from http://srtm.csi.cgiar.org, converted it with gdal and imported it in TileMill. Everything is working ...
1
vote
0answers
86 views

OSM only label internal boundaries with Carto and Mapnik

Using the OSM workflow on switch2osm.org, we want to label all internal country boundaries but not external ones (coastlines). There are 3 ways we could think of: Is there any way to not show ...
0
votes
1answer
105 views

Post-processing CartoCSS layer by custom graphic algorithm

My goal: Inspired by Watercolor map created by Stamen Design I'm trying to create custom OSM based map tiles. In the article the Stamen Design guys describe the way of post-processing their tiles (...
1
vote
1answer
303 views

Show both label and icon for amenities using Carto CSS

I'm trying to style, e.g. museums, so that both their icon and their name shows up. However, there seems to be some conflict. Here's my - related - code: .points { ::tourism { [tourism = '...
2
votes
0answers
77 views

Tile Mill error MBTiles: “out of bounds geographic extent”

I'm trying to make MBTiles using Tile Mill. The data source is a geotiff exported from ArcMap Desktop 10.5 from a map document in the Web Mercator WGS84 Coordinate Reference system. Tile Mill keeps ...
1
vote
2answers
262 views

Automating import of multiple rasters as layers into tilemill?

How do I automate the import of raster tiffs into tile mill? I have well over 100 files. I have many warped tiff files ready to be imported as individual layers into tile mill so they can be saved ...
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
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 ...
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 "...
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 ...
3
votes
1answer
73 views

How to avoid multiple label in zoomin in tilemill

Now i am working on tilemill ,and i am facing a problem in a tilemill when i am styling zoomin a road layer that time display road layer label multiple times. How can avoid disply multiple road layer ...
1
vote
2answers
94 views

How to NOT show decimal values in TileMill when using gdal_contour generated contours?

Following problem has troubled me for two days now and I can't find a solution: I am using QGIS to generate contour lines from SRTM DEMs. Export these as shapefiles and load them into TileMill on top ...