Tag Info

New answers tagged

0

OSM Bright from the MapBox people is also a useful starting point for custom OSM map tiles, unless you're trying to duplicate OSM carto exactly. OSM Bright is a little more lightweight (only 4 .mss style files, fewer layers defined), and easy to customize. Otherwise, as @math1985 said, just copy the .mml and .mss files from the openstreetmap-carto repo. ...


0

Just checkout openstreetmap-carto in the Tilemill projects directory. The project.mml file, part of openstreetmap-carto, defines the queries and layers, so you won't need to do anything with that yourself.


1

Check out the CartoCSS documentation. You're missing layer definitions for any layer except Map. The syntax is: #layerName { propertyName: propertyValue; } So try something like: #roads{ line-color: #ccc; line-width: 1; line-join: round; } for each of your layers, being sure to match #layerName to the actual name of the layers in the layer ...


-1

The OSM stylesheet is on github : https://github.com/gravitystorm/openstreetmap-carto


2

You may be interested in Kosmtik, which is an alpha project with similar aims to TileMill and under active development.


8

TileMill is released under the BSD 3-clause license, an OSI approved license. https://github.com/mapbox/tilemill/blob/master/LICENSE.md So in answer to your question: Yes, TileMill is open source. Mapbox Studio is released under similar terms: https://github.com/mapbox/mapbox-studio/blob/mb-pages/LICENSE.md Some more information: ...


4

I am a long time user of TileMill which is a great tool. After spending two weeks testing MapBox Studio and I can say it was a huge disappointment. 1) It is so buggy that it is practically unusable, both on Windows and Mac versions (and especially on Windows), the program literally crashes every 2 min. 2) The interface is less intuitive and practical than ...


0

OSM uses (-ed) the native Mapnik XML stylesheets, while Tilemill uses CartoCSS as style language. You need to get a converted map style file here: https://wiki.openstreetmap.org/wiki/CartoCSS


0

You could likely do this if you supplied the dates in for your segments in CartoDB, selected only the data you need, and you can then color it using CartoCSS. For example, you could have data such as this in CartoDB: the_geom name type col_date_start col_date_end color Row 1: (geometry) a polygon 0101 ...


7

TileMill is designed for producing raster tiles. It's powerful and easy to use with CartoCSS and I found it ran well with no bugs (PC version). It's also pretty well documented, with lots of examples and the tiles produced are easy to integrate with Leaflet.js web sites. Vector tiles potentially offer many advantages, in terms of styling flexibility and ...


0

I believe that syntax is declaring multiple attachments. This works for waterways because they are all the same colour, no layering is involved, so ordering does not matter. Without the attachments, this turns into a combinatorial explosion, which is a fundamental problem with carto. This technique cannot be used for layers like the landcover layer, where ...


1

You need to manually configure Tilemill to accept remote connections - by default they are blocked, regardless of firewall configuration. Edit your Tilemill config file (~/tilemill/config.json) and add: "listenHost": "0.0.0.0" "coreUrl": "<TILEMILL_HOST>:20009", "tileUrl": "<TILEMILL_HOST>:20008", "server": true (Replacing with your hostname ...


1

Check out compositing operations, possibly dst-in. Your carto might look something like this: #neighborhoods { line-color: #ccc; polygon-opacity: 1; polygon-comp-op: dst-in; }



Top 50 recent answers are included