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

1
vote
1answer
31 views

How to fix “Detected out of bounds geographic extent”

I hope someone can help me to solve this problem. i want to make a map with TileMill v.01, when i try to add layer using shapefile (i use QGIS to edit *.shp file) or postGIS i always get error ...
0
votes
0answers
12 views

Custom fonts in Tilemill

I'm trying to add a custom font to my OSM Bright project in TileMill. I've followed instructions here: Tilemill use custom font and have found where in the palette.mss file I need to add my font, I've ...
1
vote
1answer
32 views

Tilemill and GeoTiff not working together

Loading in a geotiff with projection of EPSG:4326 isn't fully rendering: The original: The original in Tilemill: When using gdalwarp to change the projection from EPSG:4326 to EPSG:3857, ...
0
votes
1answer
43 views

Error with TileMill and OpenStreetMap Carto project

I have been trying to load the OpenStreetMap carto project in order to export tiles for use on our in house GIS Server. I have followed all the instructions up to loading the osm xml into postGIS and ...
0
votes
0answers
11 views

Keeping file paths when converting cartocss to mapnik style

I am using Tilemill to edit a map style (mss) which is then exported for mapnik (xml). The problem is that although I specify the full path to my layer sources (e.g. shapefiles) when I export the ...
0
votes
1answer
17 views

Rendering thumbnails of a GPX track with my own tiles as base layer

I created my own Map using Tilemill. Now I'd like to display thumbnails of a GPX track where my map is the base layer. Do you have any idea how to do this performantly? I wrote a script that does it ...
0
votes
0answers
63 views

Implement Leaflet search box for 370,000 points stored in PostGIS served as raster tiles

I have built http://opentrees.org. It's a TileMill/PostGIS/Leaflet stack with raster tiles and UTFGrid interactivity. I'd like to add a search box, so users can search for a feature – trees in this ...
0
votes
2answers
51 views

How to make interactive OpenStreetMap layers in TileMill?

If I'm reading the UTFGrid spec right, you can only have 65,501 different interactive features. Or more precisely, every feature needs a unique ID in the range 0-65501. TileMill uses UTFGrid for its ...
0
votes
1answer
34 views

How do I take a contour .shp file and create a separate layer for each elevation?

The end result is to have a .dxf file in which each different elevation resides in a different layer. If at all possible I would like to be able to do the organizing in tile mill, or through some ...
0
votes
0answers
46 views

develop rooftop solar radiation potential from 3d buildings model (3dm)

Need to create solar cadastre without having LIDAR data. Have 3d buildings model in .3dm (150 000+ roof surfaces, 500 000+ facade surfaces unmapped, dtm 15x15m) with a lot of multipatch geometry ...
0
votes
1answer
20 views

How to restrict the number of symbols in feature name in CartoCSS?

I make a tourist map with CartoCSS in TileMill. There are several zooms and I would like to show markers of the objects on 15 zoom and their labels (names) on 16 or 17 zoom. If the number of symbols ...
1
vote
0answers
55 views

SVG patterns in Tilemill/Mapbox Studio

I'm working on a project that requires custom styles for lines, similar to that in Mapbox's line-pattern-file example, but I keep running into an issue where my custom line symbology looks suboptimal ...
0
votes
0answers
37 views

How can I create map tiles for an irregular shaped area, like a state?

I'm using Ubuntu 14.04, OSM in a Postgres database, and Tilemill to style and export to a mbtiles files. How can I generate tiles for an irregular-shaped (not rectangular) area. For example, if I want ...
0
votes
0answers
38 views

CartoCSS problem with zoom levels - polygons are turned off

Can someone help me where could be a problem with CartoCSS rule below? I'm not able to see "school" polygons at z11-13 though rule seems to be written correctly:>>> [zoom>=11][zoom<=15]. Polygons ...
1
vote
1answer
61 views

Imposm does not create planet_osm_* tables

I'm trying to follow the Tilemill OSM-Bright tutorial on a fresh install of OSGeoLive 8.0. I followed the instructions in the tutorial, and when I run tilemill, it can't access planet_osm_polygons. ...
0
votes
0answers
29 views

Visualize regular grid as TMS

I have a regular grid of points with wind values with a distance between the points of approx. 300 m. I would like to visualize this and get a TMS (with TileStache) as a regular grid of arrows ...
1
vote
0answers
25 views

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
34 views

Problem with label and shield spacing function in Tilemill

It seems for me, that the biggest value for label-spacing and shield spacing function is only 300. and when I'm trying to set bigger values for them nothing happens. Can anyone say if smb has the same ...
1
vote
1answer
118 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 ...
0
votes
1answer
28 views

Tilemill render specific z x y tiles

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 ...
0
votes
2answers
62 views

Y-coordinates offset in Tilemill

I own a project created with TileMill in SRS 900913. The data source is a Postgis database with the same SRS. When I'm loading the file generated with TileMill (mbtiles) in QGIS and I'm putting under ...
1
vote
1answer
98 views

CartoCSS Expression for shield-name

Is there any way to use a regular expression to filter a string when using CartoCSS expressions? I have geojson of some ways and route relations I obtained using Overpass Turbo. When creating a new ...
0
votes
0answers
58 views

white outlying tiles in GeoServer MBTiles layer

I've been working on this issue for a while, and have found a workaround, but would still like to put the question out there. I have been using TileMill to create tile sets for a polygon, outside the ...
1
vote
0answers
45 views

Flow direction CartoCSS

I'm working on a TileMill project essentially displaying freight routes. The original shapefile contains a origin city and a destination city (and a path between both cities). When I apply a ...
1
vote
1answer
77 views

Rendering specific tiles (by x,y,z) using TileMill

I'm playing around with an idea for reducing the size of my tilecache (inspired by this FOSS4G talk: http://vimeo.com/106873780. The main idea is to define a set of tiles related to a bounding box, ...
0
votes
0answers
45 views

TileMill: inset line with negative line-offset property value produces strange artifacts

I'm trying to create an inset line in TileMill within a polygon using a negative value with the line-offset property. However, it looks like the a line's cap doesn't get shifted, causing strange ...
1
vote
0answers
113 views

How to create projects in Tilemill Ubuntu Web service?

I have set up Tilemill on a Ubuntu server and successfully accessed it from browser using TILEMILL_HOST:20009 I have already uploaded planet_osm data to postgresql/PostGIS DB in the same server ...
0
votes
1answer
76 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 ...
2
votes
3answers
291 views

How to get started webmapping with xyz-tiles and Geoserver?

I´m starting to explore the possibilities of web based map presentation. Therefor I have a basic question in understanding. After reading a bunch of tutorials, could a workflow work like this? Style ...
0
votes
1answer
39 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 there ...
1
vote
1answer
101 views

Created custom tiles, added tile bounds to leaflet but it's still trying to load tiles outside of boundaries

I created custom tiles in TileMill with latitude/longitude boundaries of: -89.8235,43.3377,-89.5952,43.4741 I added those tiles into the map and set the tile layer's bounds attribute, but Leaflet ...
4
votes
2answers
107 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 ...
2
votes
1answer
85 views

Export TileMill project as SVG image with CartoCSS applied to it

I am able to export TileMill project as mbtiles and rendering tiles on map using leaflet which is working fine. But if I export the project as SVG or PNG image the CartoCSS which I have written is not ...
0
votes
0answers
146 views

Using nginx to serve tiles

I created a map in Tilemill, exported to mbtiles, and created a cache of tiles using TileStache. Until now, I have been using Apache as a reverse proxy for TileStache to serve the tiles, but I'm ...
0
votes
1answer
57 views

How to place the label on the map once in TileMill?

I am trying to create a basemap in tilemill. Very new to this software. When I add the label styling for the roads, it adds the name several times. Is there a way to have it only place the label on ...
2
votes
1answer
159 views

ogr2ogr + MapInfo TAB + SQLite (SpatiaLite) = unicode problems

I'm adding MapInfo TAB files to SQLite (SpatiaLite) database using those arguments: ogr2ogr -f "SQLite" dataset.sqlite somelayer.tab -dsco spatialite=yes Source file somelayer.tab have ...
1
vote
1answer
105 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 shape file added as a layer #line: Then, in the features list of ...
0
votes
0answers
35 views

Points of interest

I am using OSM Bright carto template for rendering my own OpenStreetMap data. When I imported data with osm2pgsql I specified sytle openstreetmap-carto. Points of interest (amenities) are in ...
0
votes
1answer
90 views

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 e.g. can be ...
0
votes
0answers
58 views

Hosting Tiled images

I want to publish tile images that extracted using the MBUtil. I have the images but don't know what to do next! i.e. is there any open source way to publish them? and how?
0
votes
2answers
525 views

Using Mapbox Studio (aka Tilemill 2) to create a self-hosted map

What would be the neccessary prerequisites to run a map/tile-server (serving raster tiles) using an exported vector source and tm2z-styleset? Has anyone set up a working environment for that? Is ...
1
vote
1answer
84 views

osmosis schema, style with OSM-Bright

I have used Osmosis to load a large cut of OSM into a PostGIS DB, that works great. BUT, I would like to use the OSM-Bright style (carto CSS) to style it in TileMill and built tiles, offline. Going ...
1
vote
2answers
195 views

Marker with text overlap in Tilemill

I am trying to create markers with text-labels inside in Tilemill. As I don't want close markers to overlap I have the marker-allow-overlap:false; Now, this does not affect the text labels of the ...
0
votes
1answer
88 views

Best way to import 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, ...
0
votes
1answer
132 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 ...
2
votes
1answer
48 views

What can I use for Territory Management in Canada?

For our Canadian organization, I would like to map out the Postal Codes for each sales rep on a map. I've so far used R to pretty good success, but it completely lacks the interactivity I need to ...
0
votes
0answers
183 views

Live serving tiles from Tilemill: Easiest way?

I have set up Tilemill on a Ubuntu server and I have imported OSMBright as a starting point. In general it seem to work good. I have imported the planet file (took a long time but now it is done and ...
5
votes
1answer
231 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 ...
1
vote
3answers
38 views

Tilemill didn't render streets correctly, some parts are missing

can someone please explain me what's happend in the picture below or how i can debug what's going wrong? I downloaded some .osm.pbf files imported the files via osm2pgsql into a postgis database and ...
3
votes
1answer
135 views

Double transformation of marker in Carto CSS

I need to show on the map the direction of the road traffic with arrows. For this purpose I use markers for Carto CSS in TileMill. If the road has in OSM tag oneway="yes" or oneway="1", all is ok, ...