Using WMS in web maps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Mapbox (Custom)": [ | |
| { | |
| "title": "Mapbox Rhine custom", | |
| "id": "Mapbox.mgtaylor.e25e78e6", | |
| "type": "XYZ", | |
| "properties": { | |
| "urls": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "auto_complete_triggers": | |
| [ | |
| { | |
| "characters": ".@", | |
| "selector": "source.coffee, source.litcoffee, source.coffee.md" | |
| } | |
| ], | |
| "bibtex_file_path": "/Users/jheppler/Dropbox/acad/bib/master.bib", | |
| "bold_folder_labels": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "tasks": [ | |
| [ | |
| 12, | |
| 6 | |
| ], | |
| [ | |
| 13, | |
| 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gistup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import collections, pprint, re, sys | |
| with open(sys.argv[1],'r') as file_in: | |
| chars = re.sub('[\s\w!!"#$%&()*+,-./:;<=>?@^_`{|}~\[\]\'\\\]','', file_in.read()) | |
| counts = collections.Counter(chars) | |
| pprint.pprint(counts.most_common()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Superfund sites CSV | |
| calif_superfund_sites <- read.csv("./data/calif_superfund_sites.csv") | |
| # We'll clean up the Superfund data a bit, selecting only | |
| # the columns we want to keep. | |
| calif_superfund_sites <- calif_superfund_sites %>% | |
| select(NAME, CITY,STATE,ZIP,LONGITUDE,LATITUDE,STATUSDATE,HRS_SCORE) | |
| # Let's filter out California sites. | |
| calif_superfund_sites <- subset(calif_superfund_sites, | |
| STATE %in% "CA") | |
| # Convert the date into an R friendly version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <!-- D3.js --> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script> | |
| <!-- Google fonts --> | |
| <link href='https://fonts.googleapis.com/css?family=Cardo:400,400italic,700' rel='stylesheet' type='text/css'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <svg width="960" height="500"><g transform="translate(360,250)"></g></svg> | |
| <script src="https://d3js.org/d3.v4.min.js"></script> | |
| <script> | |
| var formatPercent = d3.format(".0%"), | |
| formatNumber = d3.format(".0f"); | |
| var threshold = d3.scaleThreshold() | |
| .domain([0.11, 0.22, 0.33, 0.50]) |
Testing topojson.merge to merge multiple polygons into a single polygon.