Skip to content

Instantly share code, notes, and snippets.

@rjw57
Created April 22, 2012 16:03
Show Gist options
  • Save rjw57/2464909 to your computer and use it in GitHub Desktop.
Save rjw57/2464909 to your computer and use it in GitHub Desktop.
Foldbeam vector test #1
{
"outputs": {
"output": "composite:output"
},
"nodes": {
"vector": {
"type": "foldbeam.vector:VectorRendererNode",
"parameters": {
"sql": "SELECT * FROM Stops WHERE BusStopType = \"MKD\"",
"pen_rgba": [
0.3,
0.0,
0.3,
0.3
],
"filename": "stops.db"
}
},
"aerial": {
"type": "foldbeam.nodes:TileStacheRasterNode"
},
"composite": {
"type": "foldbeam.nodes:LayerRasterNode"
},
"tilestache": {
"type": "foldbeam.nodes:TileStacheNode",
"parameters": {
"config_file": "base-layers-cfg.json"
}
},
"hybrid": {
"type": "foldbeam.nodes:LayerRasterNode",
"parameters": {
"top_opacity": 0.5
}
},
"road": {
"type": "foldbeam.nodes:TileStacheRasterNode"
}
},
"edges": [
[
"tilestache:yahoo_road",
"road:layer"
],
[
"tilestache:yahoo_aerial",
"aerial:layer"
],
[
"road:output",
"hybrid:top"
],
[
"aerial:output",
"hybrid:bottom"
],
[
"hybrid:output",
"composite:bottom"
],
[
"vector:output",
"composite:top"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment