Tagged Questions

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
1answer
121 views

CartoCSS detect odd vs even for use in labeling conditional

I liked the part in the advanced label styling about randomly asigning a 0 or 1 to control label placement and then using as a conditional #labels { text-name: "[name]"; text-face-name: ...
0
votes
1answer
280 views

Labeling in TileMill with CartoCSS - Add line break between variables

I am labeling some points in TileMill using CartoCSS. The labels are a composite of two variables text-name: [NAME]+' '+[TYPE]; The rule above inserts a space between the two variables. How can I ...
0
votes
1answer
74 views

Edit legend Tilemill legend items

I am trying to edit my legend in tilemill to add a "Note". What I did was essentially copy the legend-source code to do this. However, I would like the line spacing in the "Note" section to be ...
1
vote
1answer
131 views

How to add 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? Thank you, ...
0
votes
1answer
35 views

How can I assign multiple classes to a layer in TileMill?

In my TileMill project, I have my-class that is assigned to most of my layers. I also have my-other-class that I want to assign to just a few of those layers. I tried assigning 2 classes using a ...
0
votes
0answers
35 views

Can I make tiles with all countries but one transparent?

I would like to have one country in a given style and all other countries in another grayed out one. But styles should be changeable in the production webmap, so I need them to be independent of each ...
1
vote
1answer
56 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 ...
1
vote
1answer
184 views

TileMill: How to access geojson properties with CartoCSS

When trying to display a geojson layer in TileMill, is it possible to access the 'properties' of each feature? My geojson looks like this: "type": "Feature", "geometry": { ...
4
votes
1answer
157 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 ...
0
votes
1answer
97 views

Styling/Selecting based on a hstore column in TileMill?

I have added an OpenStreetMap dump file to PostGIS using osm2pgsql --hstore (and the default osm2pgsql style file). I have added and opened up this to TileMill. Is there anyway to style the map based ...
1
vote
2answers
472 views

How to add hyperlinks & embedded images to TileMill / Mapbox Tooltips?

I have a shapefile I am styling in TileMill; which will be imported later into a Mapbox webmap as MBTiles. There is an attribute field for each feature in the shapefile that contains a link to an ...
0
votes
0answers
186 views

Tilemill OSM Bright Installation problems

I followed the OSM Bright installation guide and patiently imported germany as osm data into tilemill (→ see here: ...
0
votes
0answers
95 views

command line alternates for softwares like tilemill, maptiler

tilemill works just fine for my needs but , i want to do the whole process on command line . since new geotiff files are going to be added in my project, and i need to automate this whole process . ...
0
votes
0answers
22 views

Trying to create an app with an editable layer for iOS users, confused on next step!

I've recently started an app mapping project in which the end goal is to allow a user to have an editable layer on top of an already existing map. I'm trying to do this with open source information ...
1
vote
2answers
261 views

Memory requirements to use TileMill efficently

When trying to run TileMill with OSM Bright all I get is a "code 3" error, which apparently stands for "out of memory" error. I'm trying to work on France, but I could restrict the work on one region ...
2
votes
1answer
212 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 ...
0
votes
1answer
142 views

Targeting capital cities only in Tilemill/CartoCSS

At a specific zoom level in my Tilemill map, I want to only show capital cities, and hide all other cities. What data set could I use which will provide me with information oh whether a city is a ...
0
votes
1answer
87 views

TileMill raster-colorizer

I am trying to use the raster-colorizer in Tilemill (v0.10.1) but it is giving me an error. I did set in the advanced section the band to band="1". What else do I have to do in order to use ...
0
votes
0answers
36 views

Tilemill misses parts of motorways from PBF

I have a problem with importing data from PBF format. See the pictures below. This happens at all zoom levels, which is really annoying. osm2pgsql -d gis -U postgres --style openstreetmap-carto.style ...
1
vote
2answers
672 views

Make new Tilemill map match default Mapbox label styles

I want to make a map in tilemill that matches the way that labels are displayed in this example, down to the countries that get labels at each zoom level, which country gets abbrev. vs. full title, ...
2
votes
1answer
301 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 ...
1
vote
0answers
115 views

Generate Map Tiles in Lambert Conformal Conic Projection

I have a question for you. I. I am trying to do the following: - Render map tiles for my given area in the Lambert Conic projection (EPSG:3347) for a select number of levels - Take the rendered ...
0
votes
3answers
213 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
0answers
95 views

get zoom levels from mapnik xml (MaxScaleDenominator and MinScaleDenominatcanor)

I exported styles from .mss in Tilemill to mapnik xml, and tried to parse it, but I don't have zoom leves as filter, just MaxScaleDenominator and MinScaleDenominatcanor. How can I convert this ...
0
votes
0answers
312 views

Using Tile Mill and GeoJSON

I am trying to use Tile Mill and GeoJSON layers to have an image appear within a tooltip but it is not working properly. The process I go through to get the GeoJSON: 1) load .shp into QGIS 2) save ...
3
votes
1answer
394 views

Import of OSM data into PostgreSQL using osm2pgsql: which formats are supported?

I followed a tutorial to install a PostgreSQL server on my Mac OS X Mavericks, and to import some OSM data with the osm2pgsql converter ...
10
votes
1answer
798 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 ...
5
votes
1answer
298 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 ...
2
votes
0answers
171 views

Styling river charts with TileMill - issue with filling a polygon made of disjoint line segments

I am trying to style inland river charts produced by the Army Corps of Engineers. I imported the vectors into Postgres, and I’m using TileMill to style the data. I am having trouble correctly filling ...
1
vote
1answer
2k views

Any experience with OSX and Mac OSX Maverics using OSGeo? [closed]

There is a new Apple Release of OSX called Mavericks and my questions are: Will GDAL run? Will QGIS run? Will Tilemill run? Will Mapnik run? Also are there any known issues? A similar question ...
2
votes
1answer
127 views

Drawing 2 points at the beginning and the end of the LineString

I have LineStrings in a GeoJSON files, in example: ...
3
votes
5answers
1k 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 ...
0
votes
1answer
152 views

Tilemill: set max extent for export

Is it possible to set map extent to be displayed on mapbox ? If so could you pls send mss example ? Regards, Jorge Vidinha
0
votes
1answer
276 views

How to refer KML style inside TileMill

The following KML file contains paths with style and name tags: example. <Folder> <name>Pedestrian</name> <Style id="style-Pedestrian"> ...
0
votes
1answer
130 views

How to draw downhill path with TileMill and KML?

I have a kml file which contains downhill paths and other points. Here is an example. I imported the file to TileMill and I used Save & Style, but nothing appeared except a few points. I think ...
1
vote
1answer
93 views

Need assistance setting center coordinate with GDALWARP

I'm having some issues converting my project into an MBTiles format. I'm trying to use gdalwarp to convert my main file to geotiff format, but I can't seem to get the center coordinate to how it is ...
2
votes
2answers
144 views

Choosing intervals for a map of race in the United States

I'm creating an open map layer of race in the United States using Census Data. This layer will be publicly available in the near future as "Justice Map". The goal is to help others create maps using ...
2
votes
2answers
134 views

CartoCSS different background colors of Map element

I tried to change the background color of a map in zoomlevels greater than 11, but Map{ background-color:@water; [zoom>11]{background-color:@water*1.05;} } had no effect. Is there an other ...
1
vote
0answers
95 views

Free cartographic texture resources

I've been trying without success to find free textures to use in TileMill. I'm looking for fairly simple, abstract textures, like a dotted pattern (to indicate national parks). Are there any well ...
2
votes
0answers
287 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 ...
4
votes
0answers
122 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: ...
3
votes
1answer
953 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, ...
1
vote
1answer
124 views

Can TileMill be used to create Paper Map from OpenStreetMap source?

I would like to know which software is the best for making paper map from osm source. Is tileMill good for that ?
-1
votes
1answer
117 views

Tilemill + metro.teczno.com

I downloaded the Milan shape files from metro.teczno.com and I imported these into tilemill. Exist any cartocss file to define all layers created by shape file? Or need to be created from scratch ?
1
vote
1answer
384 views

How to render GPX files in TileMill?

I want to show a number of GPX files in a TileMill map. Here's the process that I thought would work: gpsbabel -i gpx -f "$myfile" -o kml,lines=1 -F "$myfile.kml" Add as layer in Tilemill, style ...
3
votes
1answer
148 views

Tilemill reversing land and water at high zoom levels

I tried asking this over at MapBox's support forum and got no help. I am trying to generate a map of Northern france using Tilemill and this set of land polygon data from openstreetmapdata.com (the ...
1
vote
1answer
80 views

How to copy a layer in TileMill?

I've been learning to use TileMill, and I want to be able to copy a layer. I especially want to copy layers connecting to an SQLite or PostGIS database in order to avoid having to type in multiple ...
0
votes
1answer
104 views

How to visualise “distance from amenities”?

I'm interested in calculating for every point the distance to the nearest amenity of each of a certain number of types (train station, supermarket and so on). I think the calculation will be ...
0
votes
1answer
154 views

Automatic four-colour (political boundary) rendering with PostGIS

This is probably a long shot, but is there a way to automatically select colours for neighbouring regions using the four colour theorem, in PostGIS? The data I'm using is suburb boundaries in ...
1
vote
1answer
281 views

Get latest tiles from TileMill's tile server in Leaflet

My leaflet app gets the tiles from TileMill's tile server in the standard way: L.tileLayer('http://<myip>/tile/SteveCountryVic/{z}/{x}/{y}.png', { ... }); These tiles are often old, not ...