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
1
vote
1answer
976 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; ...
8
votes
7answers
12k 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 ...
1
vote
1answer
74 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 ...
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.
2
votes
3answers
2k 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 ...
2
votes
0answers
63 views

Tilemill MBTiles SQLite database schema

I'm trying to resolve the inability to load a raster MBTiles map on a GPS that added support for the format. Maps created using QGIS or CalTopo will work. The SQLite database only contains two tables-...
0
votes
0answers
35 views

Norway raster layer - Hybrid solution [duplicate]

I am new to OSM and I would like you to help me with some questions I have. I'm styling my raster map of Europe. The data for the raster I have obtained from srtm.csi.cgiar.org but the data for Norway,...
0
votes
0answers
18 views

In Tilemill, is there a way to prevent overlapping labels or “hide” labels very near eachother aside from “text-allow-overlap:false”?

I want to style in Tilemill some labels. In the original shapefill there are some points which are near to eachother, which causes in Tilemill to make labels also very near eachother. I was wondering ...
1
vote
0answers
40 views

Strange rendering artifacts when adding overviews to my geotiff (gdaladdo)

I have a geotiff that I want to render using Tilemill. It's a quite large area, so I need to create overviews for it. Otherwise the rendering performance is just very bad. (Maybe somebody has other ...
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
0answers
143 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 have seen that this is very useful especially when it comes to importing the entire ...
3
votes
1answer
4k views

How to get the coastline from OSM?

I've successfully imported all data for Sweden to my PostGIS database. Right now I'm designing my map in Tilemill with OSM Bright as base. But I've got a major problem: where is the coastline? Right ...
0
votes
2answers
262 views

Openstreetmap-carto style with Tilemill - unknown black line in streets

I was hoping someone experienced this problem in the past, I am at a loss as to what would be causing it. There is an unknown black line in the center of about 80% streets. I have been adjusting ...
0
votes
0answers
80 views

How does Leaflet know the spatial information of PNG files when adding tileLayers

I am learning web mapping. I created tiles with TileMill, exported them to .mbtiles, and used MBUtil to unpack them. This gives me a hierarchy of folders of png files. I then added the tiles to ...
1
vote
0answers
50 views

Can MBTiles file exported with QGIS “Generate XYZ Tiles” tool be uploaded as a tileset to Mapbox?

I am wondering if the files generated with this tool are analogous with the exports from the discontinued Mapbox styling UI TileMill. My test of exporting the same display with both tools yields two ....
0
votes
1answer
79 views

Making lines from nodes using OpenStreetMap and PostGIS (+ TileMill)

using openstreetmap data (in a postgis database), I would like to highlight all roads with a certain surface tag in tilemill. I can query for the tag, doing SELECT * FROM planet_osm_ways WHERE '...
0
votes
1answer
616 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 ...
1
vote
1answer
476 views

Importing 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, ...
1
vote
2answers
675 views

Projecting using OpenLayers, Drupal, and MapBox

I've installed OpenLayers in Drupal 7 and created a view that pulls geofield data for a "Geography" vocabulary (states, tribes, and U.S. jurisdictions) and shows points on a map that I'm storing on ...
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 ...
0
votes
1answer
525 views

Using 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? For example,...
0
votes
1answer
89 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 ...
3
votes
2answers
138 views

Location for floorplan

Is there an application / service where I can put my floorplan of a building en 'position' it on the right place on the earth? (The buildings location). I found TileMill an application where I can ...
1
vote
1answer
82 views

TileStache Internal Server Error

I was installing TileStache and and followed all the necessary steps, Upon running the tilestache-server.py file, It starts the server at http://127.0.0.1:8080/. And opening this into my browser gives ...
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 "...
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 - ...
17
votes
2answers
7k 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
31 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
478 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
25 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 ...
0
votes
1answer
86 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
114 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
760 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
244 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 ...
2
votes
2answers
3k 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
163 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 ...
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
567 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
51 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
74 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
385 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
32 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
91 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
99 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
133 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
1k 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
252 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 ...
8
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
387 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?

1
2 3 4 5
7