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

2
votes
1answer
142 views

How to set tolerance value of ST_Intersects query in TileMill?

I want to place river names in Tilemill. I use "text-dy" to displace label from the center line of a river. But for labeling polygonal rivers, names extracted from lines are used too. So at a small ...
1
vote
1answer
48 views

Query data without opening up database?

I have a bunch of polygon data that I want users to be able to sort/filter based on certain criteria. I have the data in a CartoDB table, and can pretty easily use some SQL calls to achieve what I ...
0
votes
0answers
99 views

GEOTIFF not showing up in Tile Mill

All: Forgive any lapses in terminology here, although English is my native language, GIS most definitely is not, and I am totally lost. Basically, I'm trying to convert a GEOTiff to a mbtile. I ...
0
votes
1answer
403 views

How to convert a PNG tile set into the Mbtiles format

I have exported a folder with PNGs tiles and I want to convert them into Mbtiles format to use with Mapbox (maybe via TileMill?). How can I do that? Is there a convertor where I can specify the ...
1
vote
0answers
53 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 ...
2
votes
2answers
215 views

Export to Mapbox (TileMill) from PSD (or SVG/PNG)

Newbie question: I designed a map (not Earth-related) in Photoshop and I want to use something like Mapbox to serve the map and make it dynamic (bounding boxes, zoom in/out, etc). How can I go from an ...
0
votes
2answers
163 views

Projection problem? — 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 ...
1
vote
1answer
547 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 ...
0
votes
1answer
121 views

Some text-sizes of labels are not working in TileMill

I am using TileMill to create some offline tiles. Currently I have problem that some of the text sizes are not working and they are displayed as weird signs. Do you have any idea what could be wrong? ...
0
votes
1answer
188 views

How to add title to mapbox <iframe> embed

I am embedding a map I made in Tilemill/Mapbox onto a Wix website. Items of the map such as legend, title, and description are not automatically included in the embed. I learned how to add the legend ...
2
votes
1answer
257 views

Edit tilemill legend to add circle symbol

I am trying to edit my tilemill legend so that instead of displaying a red rectangle as below, it displays a red circle (I'm making a proportional symbol map). What line would I need to add in my ...
0
votes
1answer
132 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
321 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
83 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
135 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
57 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
206 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": { ...
3
votes
1answer
190 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
103 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
512 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
194 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
99 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
280 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
234 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
156 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
98 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
37 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
715 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
313 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
120 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
230 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
101 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
330 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
425 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
858 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
328 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
172 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
128 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
157 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
285 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
133 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
94 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
148 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
141 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
100 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 ...