Pattern Rotaion

Hey,

i search a “pattern-rotate” command in CartoCss.

Something like this:

#Roof {
polygon-pattern-file: url(“c:\roof.jpg”);

[type=‘north’] {
polygon-pattern-orientation:(0°) ← (this isn’t a command but i need this function)
}

[type=‘east’] {
polygon-pattern-orientation:(90°)
}

[type=‘west’] {
polygon-pattern-orientation:(180°)
}
[type='south '] {
polygon-pattern-orientation:(270°)
}
}

The Result should look like this:
http://7357.g-pg.de/rotateExample/roofExample.jpg
(This Roof is out of four triangles)

Different polygon-pattern-files are not an option. I need for every Degree a diffent rotated image.

Do you have any Idea?

Have a nice Day
Phil

What about asking for this feature via a github issue?

see https://github.com/mapbox/carto