Tag Info

New answers tagged

1

I encountered the same issue and found another solution: global-pattern.


0

I used a version of osm2pgsql that can handle 64-bit IDs. I think it happens when I merged some pbf data files with osm2pgsql into one database or "style" the data with the style attribute that osm2pgsql offers. I rebuild the Database using osmconvert to put thinks together and osm2pgsql to import that merged file into the postGIS Databse (without style=). ...


0

Are you sure you have a recent version of osm2pgsql? Older versions (prior to 2013) can not handle node numbers correctly since these have hit the 32-bit limit. The Windows version still might have issues, see https://github.com/openstreetmap/osm2pgsql/issues/17 for the latest development builds.


2

Did you check the way types are the same? Might not be translating from cartoCSS/mapnik to postgis... If you need to patch data together should try overpass api to query for and join the missing data


2

Two separate marker-transform properties can't be applied for the same object, but if you can apply a single property with multiple functions in it: marker-transform: 'scale(0.5) rotate(180)'; However this would likely require you rearrange your code to apply the correct rotations at the same time and make things more complicated. A simpler approach ...


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 ...



Top 50 recent answers are included