Permalink
Browse files

added example files using 2008 stops by race data

  • Loading branch information...
Chris Herwig
Chris Herwig committed Jul 12, 2012
1 parent 96400e7 commit 406f1d879ddbdf23349db59fe66028bc53d350d7
Showing with 185 additions and 2,428 deletions.
  1. +0 −411 _includes/data/shp/contours/all-stops-2008.sql
  2. BIN _includes/data/shp/contours/all-stops-2008.sqlite
  3. +0 −473 _includes/data/shp/contours/all-stops-2009.sql
  4. BIN _includes/data/shp/contours/all-stops-2009.sqlite
  5. +0 −436 _includes/data/shp/contours/all-stops-2010.sql
  6. BIN _includes/data/shp/contours/all-stops-2010.sqlite
  7. +0 −525 _includes/data/shp/contours/all-stops-2011.sql
  8. BIN _includes/data/shp/contours/all-stops-2011.sqlite
  9. +0 −158 _includes/data/shp/precincts/crimstop.geojson
  10. BIN _includes/data/shp/precincts/crimstop.sqlite
  11. +0 −423 _includes/data/shp/precincts/crimstopproj.qgs
  12. 0 _includes/data/shp/precincts/non-neg-crimstop
  13. BIN _includes/data/shp/precincts/non-neg-crimstop.sqlite
  14. BIN _includes/data/shp/precincts/non-neg-crimstop_c.sqlite
  15. BIN _includes/data/shp/precincts/nypp.sqlite
  16. +2 −2 _posts/2012-07-11-noi.md
  17. BIN {_includes → }/data/metadata/2003 SQF File Spec.xlsx
  18. BIN {_includes → }/data/metadata/2004 SQF File Spec.xlsx
  19. BIN {_includes → }/data/metadata/2005 SQF File Spec.xlsx
  20. BIN {_includes → }/data/metadata/2006 SQF File Spec.xlsx
  21. BIN {_includes → }/data/metadata/2007 SQF File Spec.xlsx
  22. BIN {_includes → }/data/metadata/2008 SQF File Spec.xlsx
  23. BIN {_includes → }/data/metadata/2009 SQF File Spec.xlsx
  24. BIN {_includes → }/data/metadata/2010 SQF File Spec.xlsx
  25. BIN {_includes → }/data/metadata/2011 SQF File Spec.xlsx
  26. 0 {_includes → }/data/metadata/2011_sf_metada.csv
  27. 0 {_includes → }/data/metadata/2011_sf_metada_col_lab.csv
  28. 0 {_includes → }/data/metadata/2011_sf_metada_val_lab.csv
  29. BIN {_includes → }/data/metadata/StatisticalNotes.doc
  30. BIN {_includes → }/data/metadata/Stop-and-Frisk_metadata.pdf
  31. BIN {_includes → }/data/non-neg-crimstop.sqlite
  32. 0 {_includes → }/data/sample.csv
  33. BIN data/shp/contours/example/bl-contours-2008.dbf
  34. BIN data/shp/contours/example/bl-contours-2008.shp
  35. BIN data/shp/contours/example/bl-contours-2008.shx
  36. BIN data/shp/contours/example/blstops2008.tif
  37. BIN data/shp/contours/example/sf-contours-example/.thumb.png
  38. +40 −0 data/shp/contours/example/sf-contours-example/project.mml
  39. +143 −0 data/shp/contours/example/sf-contours-example/style.mss
  40. BIN data/shp/contours/example/sf-race-geo.sqlite

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -7,9 +7,9 @@ tags: [maps, noi]
---
{% include JB/setup %}
-### [Sample of database](https://github.com/hrwgc/precinct/blob/gh-pages/_includes/data/sample.csv)
+### [Sample of database](https://github.com/hrwgc/precinct/blob/gh-pages/data/sample.csv)
-### [Metadata](https://github.com/hrwgc/precinct/tree/gh-pages/_includes/data/metadata)
+### [Metadata](https://github.com/hrwgc/precinct/tree/gh-pages/data/metadata)
### [2011 Stop and Frisk - Contours and Streets](http://a.tiles.mapbox.com/v3/herwig.map-axiswvcs.html)
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,40 @@
+{
+ "bounds": [
+ -74.3445,
+ 40.4887,
+ -73.6359,
+ 40.9384
+ ],
+ "center": [
+ -73.9057,
+ 40.7186,
+ 11
+ ],
+ "format": "png",
+ "interactivity": false,
+ "minzoom": 8,
+ "maxzoom": 15,
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "Stylesheet": [
+ "style.mss"
+ ],
+ "Layer": [
+ {
+ "geometry": "linestring",
+ "id": "blcontours2008",
+ "class": "",
+ "Datasource": {
+ "file": "/Users/christopherherwig/GIS/stop-and-frisk/july/bl-contours-2008.shp",
+ "id": "blcontours2008",
+ "project": "sf-contours-example",
+ "srs": null
+ },
+ "srs-name": "WGS84",
+ "srs": "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs",
+ "name": "blcontours2008"
+ }
+ ],
+ "name": "Black, Latino, and Black Latino Stops, 2008",
+ "description": "",
+ "attribution": ""
+}
@@ -0,0 +1,143 @@
+
+@color:rgb(204,238,0);
+
+#blcontours2008 {
+ line-width:1;
+ [zoom < 13] { line-width: .5}
+ line-opacity:.5;
+ line-join:round;
+ line-gamma:1;
+ line-join:round;
+ line-smooth:1;
+[ELEV <= 19500] { line-color:spin(@color, 0); }
+[ELEV <= 19350] { line-color:spin(@color, 2); }
+[ELEV <= 19200] { line-color:spin(@color, 4); }
+[ELEV <= 19050] { line-color:spin(@color, 6); }
+[ELEV <= 18900] { line-color:spin(@color, 8); }
+[ELEV <= 18750] { line-color:spin(@color, 10); }
+[ELEV <= 18600] { line-color:spin(@color, 12); }
+[ELEV <= 18450] { line-color:spin(@color, 14); }
+[ELEV <= 18300] { line-color:spin(@color, 16); }
+[ELEV <= 18150] { line-color:spin(@color, 18); }
+[ELEV <= 18000] { line-color:spin(@color, 20); }
+[ELEV <= 17850] { line-color:spin(@color, 22); }
+[ELEV <= 17700] { line-color:spin(@color, 24); }
+[ELEV <= 17550] { line-color:spin(@color, 26); }
+[ELEV <= 17400] { line-color:spin(@color, 28); }
+[ELEV <= 17250] { line-color:spin(@color, 30); }
+[ELEV <= 17100] { line-color:spin(@color, 32); }
+[ELEV <= 16950] { line-color:spin(@color, 34); }
+[ELEV <= 16800] { line-color:spin(@color, 36); }
+[ELEV <= 16650] { line-color:spin(@color, 38); }
+[ELEV <= 16500] { line-color:spin(@color, 40); }
+[ELEV <= 16350] { line-color:spin(@color, 42); }
+[ELEV <= 16200] { line-color:spin(@color, 44); }
+[ELEV <= 16050] { line-color:spin(@color, 46); }
+[ELEV <= 15900] { line-color:spin(@color, 48); }
+[ELEV <= 15750] { line-color:spin(@color, 50); }
+[ELEV <= 15600] { line-color:spin(@color, 52); }
+[ELEV <= 15450] { line-color:spin(@color, 54); }
+[ELEV <= 15300] { line-color:spin(@color, 56); }
+[ELEV <= 15150] { line-color:spin(@color, 58); }
+[ELEV <= 15000] { line-color:spin(@color, 60); }
+[ELEV <= 14850] { line-color:spin(@color, 62); }
+[ELEV <= 14700] { line-color:spin(@color, 64); }
+[ELEV <= 14550] { line-color:spin(@color, 66); }
+[ELEV <= 14400] { line-color:spin(@color, 68); }
+[ELEV <= 14250] { line-color:spin(@color, 70); }
+[ELEV <= 14100] { line-color:spin(@color, 72); }
+[ELEV <= 13950] { line-color:spin(@color, 74); }
+[ELEV <= 13800] { line-color:spin(@color, 76); }
+[ELEV <= 13650] { line-color:spin(@color, 78); }
+[ELEV <= 13500] { line-color:spin(@color, 80); }
+[ELEV <= 13350] { line-color:spin(@color, 82); }
+[ELEV <= 13200] { line-color:spin(@color, 84); }
+[ELEV <= 13050] { line-color:spin(@color, 86); }
+[ELEV <= 12900] { line-color:spin(@color, 88); }
+[ELEV <= 12750] { line-color:spin(@color, 90); }
+[ELEV <= 12600] { line-color:spin(@color, 92); }
+[ELEV <= 12450] { line-color:spin(@color, 94); }
+[ELEV <= 12300] { line-color:spin(@color, 96); }
+[ELEV <= 12150] { line-color:spin(@color, 98); }
+[ELEV <= 12000] { line-color:spin(@color, 100); }
+[ELEV <= 11850] { line-color:spin(@color, 102); }
+[ELEV <= 11700] { line-color:spin(@color, 104); }
+[ELEV <= 11550] { line-color:spin(@color, 106); }
+[ELEV <= 11400] { line-color:spin(@color, 108); }
+[ELEV <= 11250] { line-color:spin(@color, 110); }
+[ELEV <= 11100] { line-color:spin(@color, 112); }
+[ELEV <= 10950] { line-color:spin(@color, 114); }
+[ELEV <= 10800] { line-color:spin(@color, 116); }
+[ELEV <= 10650] { line-color:spin(@color, 118); }
+[ELEV <= 10500] { line-color:spin(@color, 120); }
+[ELEV <= 10350] { line-color:spin(@color, 122); }
+[ELEV <= 10200] { line-color:spin(@color, 124); }
+[ELEV <= 10050] { line-color:spin(@color, 126); }
+[ELEV <= 9900] { line-color:spin(@color, 128); }
+[ELEV <= 9750] { line-color:spin(@color, 130); }
+[ELEV <= 9600] { line-color:spin(@color, 132); }
+[ELEV <= 9450] { line-color:spin(@color, 134); }
+[ELEV <= 9300] { line-color:spin(@color, 136); }
+[ELEV <= 9150] { line-color:spin(@color, 138); }
+[ELEV <= 9000] { line-color:spin(@color, 140); }
+[ELEV <= 8850] { line-color:spin(@color, 142); }
+[ELEV <= 8700] { line-color:spin(@color, 144); }
+[ELEV <= 8550] { line-color:spin(@color, 146); }
+[ELEV <= 8400] { line-color:spin(@color, 148); }
+[ELEV <= 8250] { line-color:spin(@color, 150); }
+[ELEV <= 8100] { line-color:spin(@color, 152); }
+[ELEV <= 7950] { line-color:spin(@color, 154); }
+[ELEV <= 7800] { line-color:spin(@color, 156); }
+[ELEV <= 7650] { line-color:spin(@color, 158); }
+[ELEV <= 7500] { line-color:spin(@color, 160); }
+[ELEV <= 7350] { line-color:spin(@color, 162); }
+[ELEV <= 7200] { line-color:spin(@color, 164); }
+[ELEV <= 7050] { line-color:spin(@color, 166); }
+[ELEV <= 6900] { line-color:spin(@color, 168); }
+[ELEV <= 6750] { line-color:spin(@color, 170); }
+[ELEV <= 6600] { line-color:spin(@color, 172);line-width:.4; }
+[ELEV <= 6450] { line-color:spin(@color, 174); }
+[ELEV <= 6300] { line-color:spin(@color, 176); }
+[ELEV <= 6150] { line-color:spin(@color, 178); }
+[ELEV <= 6000] { line-color:spin(@color, 180); }
+[ELEV <= 5850] { line-color:spin(@color, 182); }
+[ELEV <= 5700] { line-color:spin(@color, 184); }
+[ELEV <= 5550] { line-color:spin(@color, 186); }
+[ELEV <= 5400] { line-color:spin(@color, 188); }
+[ELEV <= 5250] { line-color:spin(@color, 190); }
+[ELEV <= 5100] { line-color:spin(@color, 192); }
+[ELEV <= 4950] { line-color:spin(@color, 194); }
+[ELEV <= 4800] { line-color:spin(@color, 196); }
+[ELEV <= 4650] { line-color:spin(@color, 198); }
+[ELEV <= 4500] { line-color:spin(@color, 200); }
+[ELEV <= 4350] { line-color:spin(@color, 202); }
+[ELEV <= 4200] { line-color:spin(@color, 204); }
+[ELEV <= 4050] { line-color:spin(@color, 206); }
+[ELEV <= 3900] { line-color:spin(@color, 208); line-width:.3; }
+[ELEV <= 3750] { line-color:spin(@color, 210); }
+[ELEV <= 3600] { line-color:spin(@color, 212); }
+[ELEV <= 3450] { line-color:spin(@color, 214); }
+[ELEV <= 3300] { line-color:spin(@color, 216); }
+[ELEV <= 3150] { line-color:spin(@color, 218); }
+[ELEV <= 3000] { line-color:spin(@color, 220); }
+[ELEV <= 2850] { line-color:spin(@color, 222); }
+[ELEV <= 2700] { line-color:spin(@color, 224); }
+[ELEV <= 2550] { line-color:spin(@color, 226); }
+[ELEV <= 2400] { line-color:spin(@color, 228); }
+[ELEV <= 2250] { line-color:spin(@color, 230); }
+[ELEV <= 2100] { line-color:spin(@color, 232); }
+[ELEV <= 1950] { line-color:spin(@color, 234); }
+[ELEV <= 1800] { line-color:spin(@color, 236); }
+[ELEV <= 1650] { line-color:spin(@color, 238); }
+[ELEV <= 1500] { line-color:spin(@color, 240); }
+[ELEV <= 1350] { line-color:spin(@color, 242); }
+[ELEV <= 1200] { line-color:spin(@color, 244); }
+[ELEV <= 1050] { line-color:spin(@color, 246); }
+[ELEV <= 900] { line-color:spin(@color, 248); }
+[ELEV <= 750] { line-color:spin(@color, 250); }
+[ELEV <= 600] { line-color:spin(@color, 252); }
+[ELEV <= 450] { line-color:spin(@color, 254); }
+[ELEV <= 300] { line-color:spin(@color, 256); }
+[ELEV <= 150] { line-color:spin(@color, 258); }
+[ELEV <= 0] { line-color:spin(@color, 260); }
+}
Binary file not shown.

0 comments on commit 406f1d8

Please sign in to comment.