CartoCSS is a CSS-like language used in TileMill to style features.

learn more… | top users | synonyms

1
vote
2answers
36 views

How to style ways with CartoCSS depending on a relation property (OSM)

I'm using CartoCSS together with an OSM Postgres DB (hstore on). I want to set the line color depending on the operator tag of relations (routes). How can I do that? Update Thanks to Paul Norman for ...
1
vote
1answer
42 views

CartoDB - How would I customize my legend to not be white and have blocks instead of bullets?

First off, CartoDB is amazing. I am trying to modify the look of my legend to look something like the one as seen on the "Elephant Movement in a Human Landscape" example on the CartoDB website. ...
1
vote
1answer
81 views

How to use OSM Bright with Mapnik Renderd

I have set up an OSM tile server using instructions at this blog - http://seshagiriprabhu.wordpress.com/2013/07/21/building-an-openstreetmap-tile-server-on-ubuntu-12-04-lts/ The slippymap renders ...
1
vote
1answer
50 views

label placment in multipolygon with cartocss (Denmark, Greenland)

I am rendering an interactive world map with Tilemill and I have the problem that the country name for Denmark is placed onto Greenland. This is because Denmark is represented as a multipolygon with ...
0
votes
1answer
31 views

How do I mask a raster in TileMill?

I've tried just about every single TileMill compositing operation on the vector and raster layers in question, and I have to admit that I can't figure it out: How the heck can I mask a raster with a ...
0
votes
1answer
20 views

CartoDB Density View

Is the Density View for CartoDB no longer working? I have looked at three datasets on multiple accounts, and none of them are working correctly. They show only 1 bucket color, no matter the density. ...
0
votes
1answer
78 views

Hover effects using CartoCSS: Is this possible?

I'm trying to make a simple map of parcels in TileMill. Right now when I hover over a parcel, the information for that parcel appears in a teaser. That's simple enough. However, when working with ...
0
votes
1answer
32 views

Styling based on hex color codes within table?

I have a table of polygons named 'testtable'. Within it is a column 'color', which has hex codes. I want to style the polygons based on the hexcode values.. is this possible? I was trying something ...
0
votes
1answer
121 views

Superimposition of label in CartoDB

I'm currently doing a carte with CartoDB where I use CSS in order to show label but my issue is that I have entities which are very close and their label are difficult to read because of their ...
0
votes
1answer
63 views

How do I make my Cartodb info windows wider?

According to my read of andrewxhill (more readable version) I should be able to change the info window size by adding CSS, like so: <div class="cartodb-popup header with-image" ...
0
votes
1answer
28 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 ...
-1
votes
1answer
102 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 ?
3
votes
0answers
294 views

How do I convert from SLD to Carto CSS?

I have a bunch of layers and corresponding SLD's running a WMS service. I was exploring the possibility of shifting to a TileMill's tile based TMS service. For this, I would like if it were possible ...
2
votes
0answers
16 views

CartoCSS: Don't show border between adjacent polygons

In OSM, riverbeds are created as multiple adjacent or even overlapping polygons. When styling these polygons in CartoCSS with a border, the overlapping can be seen: I'd like to hide that line ...
0
votes
0answers
3 views

Sunlight Layer into CartoDB

I have a list of tweets on a torque map made with CartoDB. I want to add an additional layer that shows the sunlight around the world at certain times, similar to the Twitter #sunrise map found here ...
0
votes
0answers
12 views

In TileMill/CartoCSS how do show several markers for the same point?

I'm creating a custom map using TileMill to show local walks. I want to show Points Of Interest along the path. I've exported the points from Google Maps using KML and I want to show an icon on a ...
0
votes
0answers
25 views

Tilemill/CartoCSS: how to center label in a polygon

For some reason, labels are always placed in the bottom right of a polygon. I want them in the center of a polygon. I tried these: text-horizontal-alignment: middle; text-vertical-alignment: middle; ...
0
votes
0answers
27 views

CartoCSS Performance Considerations?

Just wondering if anyone knows how many lines of code CartoCSS can handle before it starts to affect performance? I'm currently using CartoDB and have around 400 lines of code, but haven't noticed ...
0
votes
0answers
52 views

torque cartodb heatmap at higer zoom levels

I am trying to use cartodb torque to display overtime location data using Cartodb Torque. Vizualization works great at zoom level 9, but when i zoom in further to level 13 instead of the intensity i ...