View .block
| license: gpl-3.0 |
View lesson3.md
to batch process the shapefiles save the following
#!/bin/bash
cd /Users/danbjoseph/Documents/PSU/psu_geog585/lesson3/PhiladelphiaBaseLayers/
for f in *.shp
do ogr2ogr -skipfailures -clipsrc /Users/.../PhiladelphiaBaseLayers/clipFeature/city_limits.shp /Users/.../PhiladelphiaBaseLayers/clipped/$f /Users/.../PhiladelphiaBaseLayers/$f
ogr2ogr -s_srs EPSG:4326 -t_srs EPSG:3857 /Users/.../PhiladelphiaBaseLayers/clippedAndProjected/$f /Users/.../PhiladelphiaBaseLayers/clipped/$f
touch /Users/.../PhiladelphiaBaseLayers/clippedAndProjected/${f%.*}.qpj
echo 'PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUT
View crossfilter-1.3.13.js
| (function(exports){ | |
| crossfilter.version = "1.3.13"; | |
| function crossfilter_identity(d) { | |
| return d; | |
| } | |
| crossfilter.permute = permute; | |
| function permute(array, index) { | |
| for (var i = 0, n = index.length, copy = new Array(n); i < n; ++i) { | |
| copy[i] = array[index[i]]; |
View illustrator-crash-course-topics.md
- Overview of Adobe products and stuff
- When to use what program
- What’s a vector graphic? What do the formats mean, etc.
- Show past fave maps, talk about style guide, the GIS team styles, etc. -Resources: give them fonts, swatches, and some samples to play around on
- Adobe Illustrator interface -Layout -Layers! Turning them on/off, locking, stacking, hide things don’t delete them, best practices for setting up map layers -Border vs. Inside – how the color thingy works -Basic tools
View omk-voinjama.md
- download newest version of ODK Collect from the Play Store
- download OpenMapKit v0.12 (2.85MB, the link is also at https://github.com/AmericanRedCross/OpenMapKit/wiki/Downloads)
- use your phone's file browser to open the .apk file and install OMK (you might need to adjust your phone's security settings to allow installation of apps from unknown sources)
- if your phone doesn't have a pre-installed file browser I like the ES File Explorer app
- after installations, open both apps once to initialize them
- download the .osm file of buildings for the area (http://arcmaps.s3.amazonaws.com/mbtiles/Voinjama-bldgs-20151110.osm or https://arcmaps.s3.amazonaws.com/mbtiles/Voinjama-bldgs-20151110.osm)
- download the .mbtiles file (link forthcoming)
- in the root directory of your phone there should be
openmapkit/mbtiles/andopenmapkit/osm/folders, move the mbtiles file and the .osm files to the respective folders - open ODK Collect, go to Ge
View tab-reduce.md
image compression http://www.ffnn.nl/pages/articles/media/png-optimization.php
http://olafurarnalds.com/ has a cool little clip that loops and opens a fullscreen youtube modal on click to view the full video
Roboto is google's android font
https://medium.com/@enjalot/how-do-you-learn-d3-js-ccffc151419b#.hrnuy5616
GitHub repos to revisit
View disasters-in-ECOS.txt
| ### Disaster types | |
| --- Biological --- | |
| Epidemic | |
| Grasshoppers | |
| Locusts | |
| Animal Attack | |
| Meteorite | |
| --- Geophysical --- | |
| Earthquake |
View omk-notes.md
OpenMapKit (OMK)
https://github.com/AmericanRedCross/OpenMapKit/wiki
- install node
- install the following packages tl, mbtiles, tilelive-http
npm install -g tl mbtiles tilelive-http
- go to http://bboxfinder.com/ and box your area
- should return your cooridinates in the following order: lng-min, lat-min, lng-max, lat-max
- open terminal/command line and
cdto your project folder and run the following:tl copy -z 13 -Z 20 -b '{{lng-min}} {{lat-min}} {{lng-max}} {{lat-max}}' 'http://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png' mbtiles://./{{myFileName}}.mbtiles
View plugins.md
QGIS
- color ramp manager
- Quick Map Services
JOSM
- building tools
- utilsplugin2
- replace geometry (Ctrl+Shift+G)
- todo list (work systematically through a selection)
- download along plugin (Alt+Shift+D)
NewerOlder