Skip to content

Instantly share code, notes, and snippets.

@jatorre jatorre/gist:6623354
Created Sep 19, 2013

Embed
What would you like to do?
curl 'http://sz2.cartodb.com/tiles/layergroup' -H 'Pragma: no-cache' -H 'Origin: http://gfx.sueddeutsche.de' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Host: sz2.cartodb.com' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.37 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Cache-Control: no-cache' -H 'Referer: http://gfx.sueddeutsche.de/politik/2013-09-15_LandtagswahlBayernWahlkarte/' -H 'Connection: keep-alive' --data-binary '{"version":"1.0.1","stat_tag":"f8515466-04da-11e3-ad81-938373fbfdcf","layers":[{"type":"cartodb","options":{"sql":"Select * FROM wahlen_by_2013","cartocss":"#wahlen_by_2013{ polygon-fill: #dedcd0; line-opacity: 1; polygon-comp-op: multiply; line-width: .5; line-color: #fff; polygon-opacity: 0;} ","cartocss_version":"2.1.0","interactivity":["cartodb_id"]}},{"type":"cartodb","options":{"sql":"Select * FROM wahlen_by_2013","cartocss":"#wahlen_by_2013{ polygon-fill: #dedcd0; line-opacity: 1; line-width: .5; line-color: #fff; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"csu\"] { polygon-fill: #333333; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"spd\"] { polygon-fill: #de121d; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"gruene\"] { polygon-fill: #159a2f; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"fdp\"] { polygon-fill: #ffb618; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"freie_waehler\"] { polygon-fill: #00a7e7; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"piraten\"] { polygon-fill: #fb7712; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"linke\"] { polygon-fill: #c400b7; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"npd\"] { polygon-fill: #683c11; polygon-opacity: 0.8;} #wahlen_by_2013 [ electionwinnerpartyname1 = \"sonstige\"] { polygon-fill: #aaa; polygon-opacity: 0.8;}","cartocss_version":"2.1.0","interactivity":["cartodb_id"]}},{"type":"cartodb","options":{"sql":"select * from cities","cartocss":"#cities{ marker-fill: #333; marker-opacity: 0; marker-allow-overlap: true; marker-placement: point; marker-type: ellipse; marker-width: 5; marker-line-width: 0.5; marker-line-color: #fff; marker-line-opacity: 1;}#cities::labels { text-name: [name]; text-face-name: \"DejaVu Sans Book\"; text-size: 11; text-fill: #333; text-allow-overlap: true; text-halo-fill: #fff; text-halo-radius: 1.2; text-dy: -10;}","cartocss_version":"2.1.0","interactivity":["cartodb_id"]}}]}' --compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.