Skip to content

Instantly share code, notes, and snippets.

View iwillig's full-sized avatar

Ivan Willig iwillig

View GitHub Profile
{
"name": "OSM Planet line Style",
"feature-styles": [
{
"rules": [
{
"zoom-levels": {
"max": 12,
"min": 20
},
(define (cons x y)
(define (dispatch m)
(cond ((eq? m 'car) x)
((eq? m 'cdr) y)
(else (error "Undefined operation -- ICONS" m))))
dispatch)
(define (car z) (z 'car))
(define (cdr z) (z 'cdr))
{
"layer": {
"enabled": true,
"name": "states",
"resource": {
"name": "states"
},
"styles": {
"style": {
"name": "polygon"
{
"enabled": true,
"name": "states",
"resource": {
"name": "states"
},
"styles": {
"style": {
"name": "polygon"
}
name: Style for csa
defaults:
line-color: &line-color '#bf4c26'
casing-color: &casing-color '#bf4c26'
zooms:
0: &zoom-0
min: 6
1: &zoom-1
max: 6
min: 10
name: Style for csa
defaults:
line-color: &line-color '#bf4c26'
zooms:
0: &zoom-0
min: 6
1: &zoom-1
max: 6
min: 10
2: &zoom-2
@iwillig
iwillig / dma.yml
Created November 16, 2012 15:27 — forked from mpriour/dma.yml
name: Style for DMA
defaults:
line-color: &lclr '#FF0000'
case-color: &cclr '#000000'
breaks:
0: &zb0
min: 6
1: &zb1
max: 6
min: 8
g: &font-color '#ff33ff'
g: &halo-color '#000000'
name: Style for airport point
feature-styles:
- rules:
- zoom-levels:
max: 10
min: 12
1 -> 4.429438425E8
2 -> 2.2147192125E8
3 -> 1.10735960625E8
4 -> 5.53679803125E7
5 -> 2.768399015625E7
6 -> 1.3841995078125E7
7 -> 6920997.5390625
8 -> 3460498.76953125
9 -> 1730249.384765625
10 -> 865124.6923828125
feature-styles:
- rules:
- symbolizers:
line:
color: '#eeeeee'