diff --git a/module3/exo3/SnowGIS_KML/.DS_Store b/module3/exo3/SnowGIS_KML/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 Binary files /dev/null and b/module3/exo3/SnowGIS_KML/.DS_Store differ diff --git a/module3/exo3/SnowGIS_KML/OSMap.tfw b/module3/exo3/SnowGIS_KML/OSMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..0c98219dff65c33cbff2a34e40ba576281c53a76 --- /dev/null +++ b/module3/exo3/SnowGIS_KML/OSMap.tfw @@ -0,0 +1,6 @@ +1.0000000000 +0.0000000000 +0.0000000000 +-1.0000000000 +528765.5000000000 +181518.5000000000 diff --git a/module3/exo3/SnowGIS_KML/OSMap.tif b/module3/exo3/SnowGIS_KML/OSMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..543449fca3bca09d3dca661a517aa286b5d05675 Binary files /dev/null and b/module3/exo3/SnowGIS_KML/OSMap.tif differ diff --git a/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tfw b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tfw new file mode 100644 index 0000000000000000000000000000000000000000..cec30fb38b277a4ac9786595102b4934713d41ae --- /dev/null +++ b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tfw @@ -0,0 +1,6 @@ +1.0000000000 +0.0000000000 +0.0000000000 +-0.9841121495 +528765.5000000000 +181518.5079439252 diff --git a/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif new file mode 100644 index 0000000000000000000000000000000000000000..b34cfb5c22ddcfb781d834953d0e359f5ab9208a Binary files /dev/null and b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif differ diff --git a/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif.aux.xml b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..1219c2595f62f66ae1e6b2ccfcd156ea838c0d80 --- /dev/null +++ b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif.aux.xml @@ -0,0 +1,11 @@ + + + + NEAREST + + + + THEMATIC + + + diff --git a/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif.ovr b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..d9ec763f2927c90acf04fdaecddd3aedb1fc0f61 Binary files /dev/null and b/module3/exo3/SnowGIS_KML/OSMap_Grayscale.tif.ovr differ diff --git a/module3/exo3/SnowGIS_KML/README.txt b/module3/exo3/SnowGIS_KML/README.txt new file mode 100644 index 0000000000000000000000000000000000000000..e72abeecf2cc73fac1431c55044d217aae131b20 --- /dev/null +++ b/module3/exo3/SnowGIS_KML/README.txt @@ -0,0 +1,23 @@ +README file for Snow GIS data +----------------------------- + +This zip file contains a number of GIS layers relating to John Snow's 1854 investigation of a +Cholera outbreak in London - considered by many to be the first use of geographical analysis +in an epidemiological study. More details on the history are available at +http://en.wikipedia.org/wiki/1854_Broad_Street_cholera_outbreak + +This file contains a number of GIS layers created from Snow's original map which allow analyses to be +conducted on the data in modern GIS systems. For example, clustering of cases can be analysed and the +effect of spatial aggregation in modern anonymised health data releases. Of course, it's also just +interesting to look at the area, and how little it has changed since 1854. + +Files included: +(Many of the items in the list consist of many actual files (for example .shp, .dbf etc) + +* OSMap Raster Modern OS map of the area of the outbreak (from OS Open Data - contains Ordnance Survey data © Crown copyright and database right 2013) +* OSMap_Greyscale Raster Same as above, but in greyscale for easier visualisation (altered by conversion to greyscale, from OS Open Data - contains Ordnance Survey data © Crown copyright and database right 2013) +* SnowMap Raster Snow's original map, georeferenced and warped so that it accurately overlays the OS map +* CholeraDeaths Vector Points for each location of one or more deaths. Attribute value gives number of deaths at that location +* Pumps Vector Points for each location of a pump + +Created and compiled by Robin Wilson (robin@rtwilson.com, www.rtwilson.com/academic) - Jan 2011. \ No newline at end of file diff --git a/module3/exo3/SnowGIS_KML/SnowMap.tfw b/module3/exo3/SnowGIS_KML/SnowMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..29214e9db275d3436b1355a3acef39c56884ccbf --- /dev/null +++ b/module3/exo3/SnowGIS_KML/SnowMap.tfw @@ -0,0 +1,6 @@ +0.3159420000 +0.0000000000 +0.0000000000 +-0.3159420000 +528865.7464993792 +181433.8952167343 diff --git a/module3/exo3/SnowGIS_KML/SnowMap.tif b/module3/exo3/SnowGIS_KML/SnowMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..6c93480f7e00066e896cd1f2e1fccaa800b1fd22 Binary files /dev/null and b/module3/exo3/SnowGIS_KML/SnowMap.tif differ diff --git a/module3/exo3/SnowGIS_KML/SnowMap.tif.aux.xml b/module3/exo3/SnowGIS_KML/SnowMap.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..0acdf5fd960dc437c243e54b42c93f1216db1cbc --- /dev/null +++ b/module3/exo3/SnowGIS_KML/SnowMap.tif.aux.xml @@ -0,0 +1,60 @@ + + + + NEAREST + + + + + -0.5 + 255.5 + 256 + 1 + 0 + 1056558|38085|35030|30635|26721|23196|19973|17614|15202|13621|12110|10633|9602|8622|7615|6827|6160|5785|5263|4850|4471|4102|3821|3520|3396|3346|3106|3054|2953|2870|2747|2735|2682|2717|2536|2555|2465|2514|2461|2489|2566|2390|2491|2486|2418|2385|2321|2323|2264|2291|2389|2392|2227|2301|2275|2187|2254|2250|2202|2205|2187|2217|2155|2220|2105|2123|2165|2206|2149|2031|2108|2141|2066|2100|2080|2025|2107|2075|2068|2019|2023|2010|2026|2005|1995|2090|1978|2045|1994|1989|1999|2039|1942|1972|1946|1990|2006|1964|1962|1893|1939|1906|1888|1908|1968|1846|1918|1979|2044|1925|1884|1859|1862|1947|1930|1825|1934|1891|1975|1830|1898|1895|1926|1973|1924|1986|1920|1797|1912|1986|1890|1924|1944|1915|1996|1900|1925|1945|2011|1882|1953|1952|1974|1929|1997|2053|1981|1993|1959|1880|1925|1946|2015|1947|1917|2052|2062|2071|2017|2089|1949|2030|2007|2083|2080|1949|2085|2111|2091|2151|2135|2137|2019|2129|2076|2149|2084|2188|2108|2188|2105|2178|2159|2197|2146|2174|2360|2281|2260|2259|2254|2297|2279|2338|2337|2365|2450|2368|2407|2407|2435|2379|2488|2492|2497|2525|2490|2566|2577|2565|2676|2712|2726|2674|2688|2799|2707|2738|2831|2956|2800|2961|2904|3059|2994|3157|3254|3316|3508|3710|3905|4319|4664|5116|5937|6536|7435|8678|9923|11935|13906|16928|19919|23808|28421|34066|40774|48059|57324|67501|80304|94264|109903|125204|137869|5850359 + + + + 0 + 255 + 207.40977040919 + 94.77357404896 + + + + + + -0.5 + 255.5 + 256 + 1 + 0 + 1056558|38085|35030|30635|26721|23196|19973|17614|15202|13621|12110|10633|9602|8622|7615|6827|6160|5785|5263|4850|4471|4102|3821|3520|3396|3346|3106|3054|2953|2870|2747|2735|2682|2717|2536|2555|2465|2514|2461|2489|2566|2390|2491|2486|2418|2385|2321|2323|2264|2291|2389|2392|2227|2301|2275|2187|2254|2250|2202|2205|2187|2217|2155|2220|2105|2123|2165|2206|2149|2031|2108|2141|2066|2100|2080|2025|2107|2075|2068|2019|2023|2010|2026|2005|1995|2090|1978|2045|1994|1989|1999|2039|1942|1972|1946|1990|2006|1964|1962|1893|1939|1906|1888|1908|1968|1846|1918|1979|2044|1925|1884|1859|1862|1947|1930|1825|1934|1891|1975|1830|1898|1895|1926|1973|1924|1986|1920|1797|1912|1986|1890|1924|1944|1915|1996|1900|1925|1945|2011|1882|1953|1952|1974|1929|1997|2053|1981|1993|1959|1880|1925|1946|2015|1947|1917|2052|2062|2071|2017|2089|1949|2030|2007|2083|2080|1949|2085|2111|2091|2151|2135|2137|2019|2129|2076|2149|2084|2188|2108|2188|2105|2178|2159|2197|2146|2174|2360|2281|2260|2259|2254|2297|2279|2338|2337|2365|2450|2368|2407|2407|2435|2379|2488|2492|2497|2525|2490|2566|2577|2565|2676|2712|2726|2674|2688|2799|2707|2738|2831|2956|2800|2961|2904|3059|2994|3157|3254|3316|3508|3710|3905|4319|4664|5116|5937|6536|7435|8678|9923|11935|13906|16928|19919|23808|28421|34066|40774|48059|57324|67501|80304|94264|109903|125204|137869|5850359 + + + + 0 + 255 + 207.40977040919 + 94.77357404896 + + + + + + -0.5 + 255.5 + 256 + 1 + 0 + 1056558|38085|35030|30635|26721|23196|19973|17614|15202|13621|12110|10633|9602|8622|7615|6827|6160|5785|5263|4850|4471|4102|3821|3520|3396|3346|3106|3054|2953|2870|2747|2735|2682|2717|2536|2555|2465|2514|2461|2489|2566|2390|2491|2486|2418|2385|2321|2323|2264|2291|2389|2392|2227|2301|2275|2187|2254|2250|2202|2205|2187|2217|2155|2220|2105|2123|2165|2206|2149|2031|2108|2141|2066|2100|2080|2025|2107|2075|2068|2019|2023|2010|2026|2005|1995|2090|1978|2045|1994|1989|1999|2039|1942|1972|1946|1990|2006|1964|1962|1893|1939|1906|1888|1908|1968|1846|1918|1979|2044|1925|1884|1859|1862|1947|1930|1825|1934|1891|1975|1830|1898|1895|1926|1973|1924|1986|1920|1797|1912|1986|1890|1924|1944|1915|1996|1900|1925|1945|2011|1882|1953|1952|1974|1929|1997|2053|1981|1993|1959|1880|1925|1946|2015|1947|1917|2052|2062|2071|2017|2089|1949|2030|2007|2083|2080|1949|2085|2111|2091|2151|2135|2137|2019|2129|2076|2149|2084|2188|2108|2188|2105|2178|2159|2197|2146|2174|2360|2281|2260|2259|2254|2297|2279|2338|2337|2365|2450|2368|2407|2407|2435|2379|2488|2492|2497|2525|2490|2566|2577|2565|2676|2712|2726|2674|2688|2799|2707|2738|2831|2956|2800|2961|2904|3059|2994|3157|3254|3316|3508|3710|3905|4319|4664|5116|5937|6536|7435|8678|9923|11935|13906|16928|19919|23808|28421|34066|40774|48059|57324|67501|80304|94264|109903|125204|137869|5850359 + + + + 0 + 255 + 207.40977040919 + 94.77357404896 + + + diff --git a/module3/exo3/SnowGIS_KML/SnowMap.tif.ovr b/module3/exo3/SnowGIS_KML/SnowMap.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..7b5ea01f132c0be8255d51618a2bc4f8f834be05 Binary files /dev/null and b/module3/exo3/SnowGIS_KML/SnowMap.tif.ovr differ diff --git a/module3/exo3/SnowGIS_KML/cholera_deaths.kml b/module3/exo3/SnowGIS_KML/cholera_deaths.kml new file mode 100644 index 0000000000000000000000000000000000000000..d73f4942e43701f6cc51f0059ac892990ec428aa --- /dev/null +++ b/module3/exo3/SnowGIS_KML/cholera_deaths.kml @@ -0,0 +1,2505 @@ + + + + + + +count: 3 +]]> + + + 3 + + -0.13793,51.513418 + + + +count: 2 +]]> + + + 2 + + -0.137883,51.513361 + + + +count: 1 +]]> + + + 1 + + -0.137853,51.513317 + + + +count: 1 +]]> + + + 1 + + -0.137812,51.513262 + + + +count: 4 +]]> + + + 4 + + -0.137767,51.513204 + + + +count: 2 +]]> + + + 2 + + -0.137537,51.513184 + + + +count: 2 +]]> + + + 2 + + -0.1382,51.513359 + + + +count: 2 +]]> + + + 2 + + -0.138045,51.513328 + + + +count: 3 +]]> + + + 3 + + -0.138276,51.513323 + + + +count: 2 +]]> + + + 2 + + -0.138223,51.513427 + + + +count: 2 +]]> + + + 2 + + -0.138337,51.513381 + + + +count: 1 +]]> + + + 1 + + -0.138563,51.513462 + + + +count: 3 +]]> + + + 3 + + -0.138426,51.513216 + + + +count: 1 +]]> + + + 1 + + -0.138378,51.513169 + + + +count: 4 +]]> + + + 4 + + -0.138337,51.513116 + + + +count: 1 +]]> + + + 1 + + -0.138645,51.51324 + + + +count: 1 +]]> + + + 1 + + -0.138698,51.513164 + + + +count: 1 +]]> + + + 1 + + -0.137924,51.513178 + + + +count: 4 +]]> + + + 4 + + -0.137865,51.513111 + + + +count: 3 +]]> + + + 3 + + -0.137811,51.513055 + + + +count: 2 +]]> + + + 2 + + -0.138762,51.513441 + + + +count: 1 +]]> + + + 1 + + -0.138799,51.513592 + + + +count: 2 +]]> + + + 2 + + -0.139045,51.513402 + + + +count: 2 +]]> + + + 2 + + -0.13897,51.51338 + + + +count: 2 +]]> + + + 2 + + -0.138863,51.513411 + + + +count: 1 +]]> + + + 1 + + -0.138752,51.513641 + + + +count: 1 +]]> + + + 1 + + -0.138808,51.513693 + + + +count: 3 +]]> + + + 3 + + -0.138856,51.513745 + + + +count: 1 +]]> + + + 1 + + -0.138887,51.513676 + + + +count: 1 +]]> + + + 1 + + -0.139239,51.51359 + + + +count: 1 +]]> + + + 1 + + -0.139321,51.513663 + + + +count: 1 +]]> + + + 1 + + -0.139316,51.513502 + + + +count: 2 +]]> + + + 2 + + -0.139616,51.513583 + + + +count: 2 +]]> + + + 2 + + -0.139719,51.513541 + + + +count: 1 +]]> + + + 1 + + -0.140074,51.513298 + + + +count: 1 +]]> + + + 1 + + -0.139094,51.513291 + + + +count: 1 +]]> + + + 1 + + -0.139697,51.513013 + + + +count: 1 +]]> + + + 1 + + -0.139327,51.512965 + + + +count: 2 +]]> + + + 2 + + -0.139317,51.512893 + + + +count: 8 +]]> + + + 8 + + -0.139187,51.512964 + + + +count: 2 +]]> + + + 2 + + -0.139036,51.513025 + + + +count: 1 +]]> + + + 1 + + -0.139209,51.513027 + + + +count: 1 +]]> + + + 1 + + -0.138427,51.512831 + + + +count: 1 +]]> + + + 1 + + -0.138624,51.512885 + + + +count: 1 +]]> + + + 1 + + -0.138096,51.512526 + + + +count: 1 +]]> + + + 1 + + -0.138035,51.512465 + + + +count: 4 +]]> + + + 4 + + -0.137984,51.512428 + + + +count: 1 +]]> + + + 1 + + -0.138065,51.512415 + + + +count: 1 +]]> + + + 1 + + -0.138194,51.51251 + + + +count: 1 +]]> + + + 1 + + -0.137818,51.512378 + + + +count: 1 +]]> + + + 1 + + -0.137656,51.512447 + + + +count: 4 +]]> + + + 4 + + -0.137584,51.512491 + + + +count: 1 +]]> + + + 1 + + -0.13765,51.512374 + + + +count: 1 +]]> + + + 1 + + -0.13745,51.512339 + + + +count: 1 +]]> + + + 1 + + -0.137376,51.512364 + + + +count: 1 +]]> + + + 1 + + -0.137327,51.512319 + + + +count: 1 +]]> + + + 1 + + -0.13698,51.51254 + + + +count: 2 +]]> + + + 2 + + -0.13718,51.512649 + + + +count: 1 +]]> + + + 1 + + -0.137052,51.512692 + + + +count: 1 +]]> + + + 1 + + -0.137695,51.512957 + + + +count: 1 +]]> + + + 1 + + -0.137533,51.512765 + + + +count: 2 +]]> + + + 2 + + -0.137419,51.51278 + + + +count: 1 +]]> + + + 1 + + -0.137368,51.512726 + + + +count: 1 +]]> + + + 1 + + -0.137325,51.512681 + + + +count: 2 +]]> + + + 2 + + -0.137531,51.512914 + + + +count: 2 +]]> + + + 2 + + -0.137562,51.513046 + + + +count: 1 +]]> + + + 1 + + -0.137466,51.513074 + + + +count: 2 +]]> + + + 2 + + -0.137386,51.513087 + + + +count: 3 +]]> + + + 3 + + -0.137306,51.513122 + + + +count: 1 +]]> + + + 1 + + -0.137089,51.513187 + + + +count: 4 +]]> + + + 4 + + -0.136996,51.513214 + + + +count: 15 +]]> + + + 15 + + -0.136859,51.513249 + + + +count: 3 +]]> + + + 3 + + -0.136778,51.513271 + + + +count: 4 +]]> + + + 4 + + -0.136705,51.5133 + + + +count: 5 +]]> + + + 5 + + -0.136493,51.51316 + + + +count: 2 +]]> + + + 2 + + -0.13633,51.513016 + + + +count: 1 +]]> + + + 1 + + -0.136424,51.512921 + + + +count: 2 +]]> + + + 2 + + -0.136523,51.51289 + + + +count: 1 +]]> + + + 1 + + -0.136599,51.512859 + + + +count: 1 +]]> + + + 1 + + -0.136699,51.51283 + + + +count: 1 +]]> + + + 1 + + -0.136819,51.512782 + + + +count: 1 +]]> + + + 1 + + -0.136973,51.512729 + + + +count: 1 +]]> + + + 1 + + -0.136358,51.512868 + + + +count: 1 +]]> + + + 1 + + -0.13663,51.512723 + + + +count: 1 +]]> + + + 1 + + -0.136584,51.512654 + + + +count: 1 +]]> + + + 1 + + -0.136423,51.512713 + + + +count: 1 +]]> + + + 1 + + -0.136345,51.512615 + + + +count: 1 +]]> + + + 1 + + -0.136437,51.512491 + + + +count: 1 +]]> + + + 1 + + -0.136377,51.512449 + + + +count: 1 +]]> + + + 1 + + -0.136197,51.512465 + + + +count: 1 +]]> + + + 1 + + -0.136142,51.512413 + + + +count: 2 +]]> + + + 2 + + -0.136102,51.512358 + + + +count: 1 +]]> + + + 1 + + -0.13603,51.512271 + + + +count: 1 +]]> + + + 1 + + -0.13631,51.512355 + + + +count: 4 +]]> + + + 4 + + -0.13594,51.511991 + + + +count: 2 +]]> + + + 2 + + -0.135858,51.512083 + + + +count: 1 +]]> + + + 1 + + -0.1358,51.512031 + + + +count: 4 +]]> + + + 4 + + -0.135717,51.51197 + + + +count: 4 +]]> + + + 4 + + -0.135119,51.511882 + + + +count: 1 +]]> + + + 1 + + -0.135144,51.51205 + + + +count: 4 +]]> + + + 4 + + -0.135394,51.51225 + + + +count: 1 +]]> + + + 1 + + -0.135409,51.512162 + + + +count: 1 +]]> + + + 1 + + -0.135472,51.512212 + + + +count: 2 +]]> + + + 2 + + -0.135765,51.512573 + + + +count: 1 +]]> + + + 1 + + -0.135871,51.512575 + + + +count: 2 +]]> + + + 2 + + -0.135976,51.512672 + + + +count: 3 +]]> + + + 3 + + -0.136033,51.512727 + + + +count: 1 +]]> + + + 1 + + -0.136115,51.512794 + + + +count: 4 +]]> + + + 4 + + -0.13618,51.512846 + + + +count: 1 +]]> + + + 1 + + -0.136083,51.512879 + + + +count: 1 +]]> + + + 1 + + -0.136139,51.512939 + + + +count: 7 +]]> + + + 7 + + -0.135329,51.512765 + + + +count: 3 +]]> + + + 3 + + -0.135122,51.512844 + + + +count: 8 +]]> + + + 8 + + -0.134645,51.512532 + + + +count: 1 +]]> + + + 1 + + -0.134522,51.512198 + + + +count: 1 +]]> + + + 1 + + -0.134967,51.512215 + + + +count: 5 +]]> + + + 5 + + -0.135098,51.513154 + + + +count: 8 +]]> + + + 8 + + -0.134394,51.513056 + + + +count: 2 +]]> + + + 2 + + -0.134505,51.513165 + + + +count: 1 +]]> + + + 1 + + -0.134437,51.513098 + + + +count: 1 +]]> + + + 1 + + -0.134594,51.513238 + + + +count: 2 +]]> + + + 2 + + -0.13464,51.513293 + + + +count: 1 +]]> + + + 1 + + -0.134709,51.513379 + + + +count: 2 +]]> + + + 2 + + -0.134756,51.513431 + + + +count: 2 +]]> + + + 2 + + -0.135244,51.513475 + + + +count: 3 +]]> + + + 3 + + -0.134897,51.513422 + + + +count: 1 +]]> + + + 1 + + -0.135158,51.513528 + + + +count: 2 +]]> + + + 2 + + -0.135344,51.513481 + + + +count: 2 +]]> + + + 2 + + -0.135063,51.513594 + + + +count: 3 +]]> + + + 3 + + -0.135801,51.513227 + + + +count: 1 +]]> + + + 1 + + -0.135762,51.51318 + + + +count: 2 +]]> + + + 2 + + -0.13574,51.513132 + + + +count: 1 +]]> + + + 1 + + -0.135645,51.513048 + + + +count: 1 +]]> + + + 1 + + -0.135602,51.513006 + + + +count: 1 +]]> + + + 1 + + -0.135501,51.512883 + + + +count: 1 +]]> + + + 1 + + -0.135832,51.51327 + + + +count: 3 +]]> + + + 3 + + -0.136049,51.513459 + + + +count: 3 +]]> + + + 3 + + -0.13614,51.513431 + + + +count: 3 +]]> + + + 3 + + -0.136228,51.513402 + + + +count: 3 +]]> + + + 3 + + -0.134999,51.512593 + + + +count: 1 +]]> + + + 1 + + -0.134793,51.512585 + + + +count: 2 +]]> + + + 2 + + -0.134896,51.512555 + + + +count: 1 +]]> + + + 1 + + -0.135,51.512521 + + + +count: 1 +]]> + + + 1 + + -0.133483,51.513137 + + + +count: 1 +]]> + + + 1 + + -0.133265,51.513228 + + + +count: 2 +]]> + + + 2 + + -0.133296,51.513152 + + + +count: 1 +]]> + + + 1 + + -0.132933,51.513258 + + + +count: 1 +]]> + + + 1 + + -0.133998,51.513544 + + + +count: 1 +]]> + + + 1 + + -0.134042,51.513626 + + + +count: 2 +]]> + + + 2 + + -0.134156,51.513637 + + + +count: 2 +]]> + + + 2 + + -0.134091,51.513524 + + + +count: 1 +]]> + + + 1 + + -0.134272,51.51382 + + + +count: 1 +]]> + + + 1 + + -0.13422,51.513724 + + + +count: 1 +]]> + + + 1 + + -0.134704,51.513704 + + + +count: 1 +]]> + + + 1 + + -0.134782,51.513831 + + + +count: 1 +]]> + + + 1 + + -0.13501,51.513915 + + + +count: 1 +]]> + + + 1 + + -0.134923,51.513597 + + + +count: 1 +]]> + + + 1 + + -0.134885,51.514032 + + + +count: 5 +]]> + + + 5 + + -0.134212,51.513891 + + + +count: 1 +]]> + + + 1 + + -0.134135,51.513758 + + + +count: 1 +]]> + + + 1 + + -0.134364,51.514065 + + + +count: 2 +]]> + + + 2 + + -0.134447,51.514146 + + + +count: 2 +]]> + + + 2 + + -0.134479,51.514201 + + + +count: 1 +]]> + + + 1 + + -0.134658,51.51423 + + + +count: 1 +]]> + + + 1 + + -0.134367,51.514319 + + + +count: 1 +]]> + + + 1 + + -0.134179,51.514377 + + + +count: 1 +]]> + + + 1 + + -0.13416,51.514357 + + + +count: 2 +]]> + + + 2 + + -0.134069,51.514382 + + + +count: 2 +]]> + + + 2 + + -0.134085,51.514402 + + + +count: 5 +]]> + + + 5 + + -0.133821,51.514522 + + + +count: 1 +]]> + + + 1 + + -0.133922,51.514497 + + + +count: 1 +]]> + + + 1 + + -0.13385,51.514472 + + + +count: 1 +]]> + + + 1 + + -0.133725,51.514504 + + + +count: 1 +]]> + + + 1 + + -0.133745,51.514546 + + + +count: 4 +]]> + + + 4 + + -0.133676,51.514561 + + + +count: 1 +]]> + + + 1 + + -0.133563,51.514594 + + + +count: 2 +]]> + + + 2 + + -0.133467,51.514581 + + + +count: 1 +]]> + + + 1 + + -0.133393,51.514606 + + + +count: 1 +]]> + + + 1 + + -0.134474,51.515834 + + + +count: 1 +]]> + + + 1 + + -0.135259,51.515195 + + + +count: 1 +]]> + + + 1 + + -0.135395,51.515149 + + + +count: 1 +]]> + + + 1 + + -0.136022,51.514818 + + + +count: 3 +]]> + + + 3 + + -0.136804,51.514843 + + + +count: 1 +]]> + + + 1 + + -0.136583,51.514914 + + + +count: 1 +]]> + + + 1 + + -0.135653,51.514496 + + + +count: 2 +]]> + + + 2 + + -0.135578,51.514743 + + + +count: 1 +]]> + + + 1 + + -0.13486,51.514467 + + + +count: 1 +]]> + + + 1 + + -0.13469,51.514453 + + + +count: 1 +]]> + + + 1 + + -0.134818,51.514845 + + + +count: 1 +]]> + + + 1 + + -0.135704,51.514389 + + + +count: 1 +]]> + + + 1 + + -0.135561,51.514399 + + + +count: 2 +]]> + + + 2 + + -0.135649,51.514335 + + + +count: 1 +]]> + + + 1 + + -0.135415,51.514224 + + + +count: 1 +]]> + + + 1 + + -0.135576,51.51422 + + + +count: 2 +]]> + + + 2 + + -0.135357,51.514145 + + + +count: 3 +]]> + + + 3 + + -0.135475,51.514108 + + + +count: 2 +]]> + + + 2 + + -0.136226,51.514359 + + + +count: 1 +]]> + + + 1 + + -0.136328,51.514326 + + + +count: 1 +]]> + + + 1 + + -0.136222,51.514544 + + + +count: 1 +]]> + + + 1 + + -0.136117,51.514569 + + + +count: 1 +]]> + + + 1 + + -0.13603,51.514586 + + + +count: 1 +]]> + + + 1 + + -0.136266,51.514612 + + + +count: 2 +]]> + + + 2 + + -0.136421,51.514575 + + + +count: 3 +]]> + + + 3 + + -0.136935,51.514507 + + + +count: 3 +]]> + + + 3 + + -0.136931,51.514274 + + + +count: 1 +]]> + + + 1 + + -0.136799,51.514293 + + + +count: 1 +]]> + + + 1 + + -0.13678,51.514058 + + + +count: 3 +]]> + + + 3 + + -0.136696,51.514148 + + + +count: 1 +]]> + + + 1 + + -0.136712,51.513961 + + + +count: 1 +]]> + + + 1 + + -0.136123,51.514027 + + + +count: 1 +]]> + + + 1 + + -0.135958,51.514076 + + + +count: 1 +]]> + + + 1 + + -0.135883,51.514096 + + + +count: 2 +]]> + + + 2 + + -0.135788,51.514134 + + + +count: 2 +]]> + + + 2 + + -0.135849,51.514033 + + + +count: 4 +]]> + + + 4 + + -0.136008,51.513996 + + + +count: 5 +]]> + + + 5 + + -0.136099,51.51396 + + + +count: 2 +]]> + + + 2 + + -0.13617,51.513945 + + + +count: 5 +]]> + + + 5 + + -0.135485,51.513821 + + + +count: 5 +]]> + + + 5 + + -0.135374,51.513999 + + + +count: 3 +]]> + + + 3 + + -0.135582,51.513795 + + + +count: 3 +]]> + + + 3 + + -0.135679,51.513766 + + + +count: 1 +]]> + + + 1 + + -0.135814,51.513726 + + + +count: 5 +]]> + + + 5 + + -0.135905,51.513692 + + + +count: 4 +]]> + + + 4 + + -0.135992,51.513672 + + + +count: 4 +]]> + + + 4 + + -0.136217,51.513603 + + + +count: 1 +]]> + + + 1 + + -0.136579,51.513482 + + + +count: 4 +]]> + + + 4 + + -0.136675,51.513458 + + + +count: 1 +]]> + + + 1 + + -0.136764,51.513429 + + + +count: 3 +]]> + + + 3 + + -0.136877,51.513404 + + + +count: 2 +]]> + + + 2 + + -0.136953,51.513359 + + + +count: 1 +]]> + + + 1 + + -0.13723,51.513378 + + + +count: 2 +]]> + + + 2 + + -0.136651,51.513855 + + + +count: 1 +]]> + + + 1 + + -0.136503,51.513875 + + + +count: 1 +]]> + + + 1 + + -0.137367,51.513565 + + + +count: 2 +]]> + + + 2 + + -0.137422,51.513616 + + + +count: 3 +]]> + + + 3 + + -0.137472,51.513742 + + + +count: 1 +]]> + + + 1 + + -0.1383,51.513918 + + + +count: 1 +]]> + + + 1 + + -0.137363,51.513772 + + + +count: 4 +]]> + + + 4 + + -0.137995,51.513502 + + + +count: 2 +]]> + + + 2 + + -0.138139,51.513712 + + + +count: 2 +]]> + + + 2 + + -0.138239,51.513644 + + + +count: 1 +]]> + + + 1 + + -0.138272,51.513711 + + + +count: 5 +]]> + + + 5 + + -0.138083,51.514061 + + + +count: 3 +]]> + + + 3 + + -0.137912,51.514748 + + + +count: 2 +]]> + + + 2 + + -0.137707,51.514794 + + + +count: 3 +]]> + + + 3 + + -0.137108,51.514526 + + + +count: 2 +]]> + + + 2 + + -0.137065,51.514706 + + + +count: 1 +]]> + + + 1 + + -0.138474,51.512311 + + + +count: 1 +]]> + + + 1 + + -0.138123,51.511998 + + + +count: 1 +]]> + + + 1 + + -0.137762,51.511856 + + \ No newline at end of file diff --git a/module3/exo3/SnowGIS_KML/pumps.kml b/module3/exo3/SnowGIS_KML/pumps.kml new file mode 100644 index 0000000000000000000000000000000000000000..9303c5bcfcdfa28c60a938491f93a4f8df8cb396 --- /dev/null +++ b/module3/exo3/SnowGIS_KML/pumps.kml @@ -0,0 +1,162 @@ + + + + + + + + normal + #Style2-point-1 + + + highlight + #Style2-point-1-hover + + + + + + + normal + #Style2-line-2 + + + highlight + #Style2-line-2-hover + + + + + + + normal + #Style2-polygon-3 + + + highlight + #Style2-polygon-3-hover + + + + + + +]]> + #Style2-point-1-map + -0.136668,51.513341 + + + + +]]> + #Style2-point-1-map + -0.139586,51.513876 + + + + +]]> + #Style2-point-1-map + -0.139671,51.514906 + + + + +]]> + #Style2-point-1-map + -0.13163,51.512354 + + + + +]]> + #Style2-point-1-map + -0.133594,51.512139 + + + + +]]> + #Style2-point-1-map + -0.135919,51.511542 + + + + +]]> + #Style2-point-1-map + -0.133962,51.510019 + + + + +]]> + #Style2-point-1-map + -0.138199,51.511295 + + \ No newline at end of file diff --git a/module3/exo3/SnowGIS_SHP/Cholera_Deaths.dbf b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.dbf new file mode 100644 index 0000000000000000000000000000000000000000..fa87c71bd68314ed337415fb01daa179adeaf5d9 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.dbf differ diff --git a/module3/exo3/SnowGIS_SHP/Cholera_Deaths.prj b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.prj new file mode 100644 index 0000000000000000000000000000000000000000..9c24ee3b83411a6b7b3824844482477578ed1d96 --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.prj @@ -0,0 +1 @@ +PROJCS["OSGB 1936 / British National Grid",GEOGCS["OSGB 1936",DATUM["OSGB 1936",SPHEROID["Airy 1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",400000.0],PARAMETER["false_northing",-100000.0],PARAMETER["central_meridian",-2.0],PARAMETER["scale_factor",0.9996012717],PARAMETER["latitude_of_origin",49.0],UNIT["m",1.0]] \ No newline at end of file diff --git a/module3/exo3/SnowGIS_SHP/Cholera_Deaths.sbn b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.sbn new file mode 100644 index 0000000000000000000000000000000000000000..78b67b87f59ebc0eaaff28cc8aef777f625fa7f4 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.sbn differ diff --git a/module3/exo3/SnowGIS_SHP/Cholera_Deaths.sbx b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.sbx new file mode 100644 index 0000000000000000000000000000000000000000..2e583478e3601c51335e776bf238aa69dc00d2b3 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.sbx differ diff --git a/module3/exo3/SnowGIS_SHP/Cholera_Deaths.shp b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.shp new file mode 100644 index 0000000000000000000000000000000000000000..36257407885624121ec93ac267072b797c6f9ac9 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.shp differ diff --git a/module3/exo3/SnowGIS_SHP/Cholera_Deaths.shx b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.shx new file mode 100644 index 0000000000000000000000000000000000000000..1871dbee2783331929f391f91928cd33e3c12e99 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Cholera_Deaths.shx differ diff --git a/module3/exo3/SnowGIS_SHP/OSMap.tfw b/module3/exo3/SnowGIS_SHP/OSMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..0c98219dff65c33cbff2a34e40ba576281c53a76 --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/OSMap.tfw @@ -0,0 +1,6 @@ +1.0000000000 +0.0000000000 +0.0000000000 +-1.0000000000 +528765.5000000000 +181518.5000000000 diff --git a/module3/exo3/SnowGIS_SHP/OSMap.tif b/module3/exo3/SnowGIS_SHP/OSMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..543449fca3bca09d3dca661a517aa286b5d05675 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/OSMap.tif differ diff --git a/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tfw b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tfw new file mode 100644 index 0000000000000000000000000000000000000000..cec30fb38b277a4ac9786595102b4934713d41ae --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tfw @@ -0,0 +1,6 @@ +1.0000000000 +0.0000000000 +0.0000000000 +-0.9841121495 +528765.5000000000 +181518.5079439252 diff --git a/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif new file mode 100644 index 0000000000000000000000000000000000000000..b34cfb5c22ddcfb781d834953d0e359f5ab9208a Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif differ diff --git a/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif.aux.xml b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..1219c2595f62f66ae1e6b2ccfcd156ea838c0d80 --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif.aux.xml @@ -0,0 +1,11 @@ + + + + NEAREST + + + + THEMATIC + + + diff --git a/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif.ovr b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..d9ec763f2927c90acf04fdaecddd3aedb1fc0f61 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/OSMap_Grayscale.tif.ovr differ diff --git a/module3/exo3/SnowGIS_SHP/Pumps.dbf b/module3/exo3/SnowGIS_SHP/Pumps.dbf new file mode 100644 index 0000000000000000000000000000000000000000..e6d3a34a64f072d0443c885e1b26ef2a7900cdc0 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Pumps.dbf differ diff --git a/module3/exo3/SnowGIS_SHP/Pumps.prj b/module3/exo3/SnowGIS_SHP/Pumps.prj new file mode 100644 index 0000000000000000000000000000000000000000..9c24ee3b83411a6b7b3824844482477578ed1d96 --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/Pumps.prj @@ -0,0 +1 @@ +PROJCS["OSGB 1936 / British National Grid",GEOGCS["OSGB 1936",DATUM["OSGB 1936",SPHEROID["Airy 1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",400000.0],PARAMETER["false_northing",-100000.0],PARAMETER["central_meridian",-2.0],PARAMETER["scale_factor",0.9996012717],PARAMETER["latitude_of_origin",49.0],UNIT["m",1.0]] \ No newline at end of file diff --git a/module3/exo3/SnowGIS_SHP/Pumps.sbx b/module3/exo3/SnowGIS_SHP/Pumps.sbx new file mode 100644 index 0000000000000000000000000000000000000000..c54ddbe4c91094139d3000182f772ef87d4dcbaf Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Pumps.sbx differ diff --git a/module3/exo3/SnowGIS_SHP/Pumps.shp b/module3/exo3/SnowGIS_SHP/Pumps.shp new file mode 100644 index 0000000000000000000000000000000000000000..eb76199858d5ff403d8b2512a78cb512f1c2fc47 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Pumps.shp differ diff --git a/module3/exo3/SnowGIS_SHP/Pumps.shx b/module3/exo3/SnowGIS_SHP/Pumps.shx new file mode 100644 index 0000000000000000000000000000000000000000..4cc4dce7a38b6134528db8643ce7a4e6fe70b25d Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/Pumps.shx differ diff --git a/module3/exo3/SnowGIS_SHP/README.txt b/module3/exo3/SnowGIS_SHP/README.txt new file mode 100644 index 0000000000000000000000000000000000000000..e72abeecf2cc73fac1431c55044d217aae131b20 --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/README.txt @@ -0,0 +1,23 @@ +README file for Snow GIS data +----------------------------- + +This zip file contains a number of GIS layers relating to John Snow's 1854 investigation of a +Cholera outbreak in London - considered by many to be the first use of geographical analysis +in an epidemiological study. More details on the history are available at +http://en.wikipedia.org/wiki/1854_Broad_Street_cholera_outbreak + +This file contains a number of GIS layers created from Snow's original map which allow analyses to be +conducted on the data in modern GIS systems. For example, clustering of cases can be analysed and the +effect of spatial aggregation in modern anonymised health data releases. Of course, it's also just +interesting to look at the area, and how little it has changed since 1854. + +Files included: +(Many of the items in the list consist of many actual files (for example .shp, .dbf etc) + +* OSMap Raster Modern OS map of the area of the outbreak (from OS Open Data - contains Ordnance Survey data © Crown copyright and database right 2013) +* OSMap_Greyscale Raster Same as above, but in greyscale for easier visualisation (altered by conversion to greyscale, from OS Open Data - contains Ordnance Survey data © Crown copyright and database right 2013) +* SnowMap Raster Snow's original map, georeferenced and warped so that it accurately overlays the OS map +* CholeraDeaths Vector Points for each location of one or more deaths. Attribute value gives number of deaths at that location +* Pumps Vector Points for each location of a pump + +Created and compiled by Robin Wilson (robin@rtwilson.com, www.rtwilson.com/academic) - Jan 2011. \ No newline at end of file diff --git a/module3/exo3/SnowGIS_SHP/SnowMap.tfw b/module3/exo3/SnowGIS_SHP/SnowMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..29214e9db275d3436b1355a3acef39c56884ccbf --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/SnowMap.tfw @@ -0,0 +1,6 @@ +0.3159420000 +0.0000000000 +0.0000000000 +-0.3159420000 +528865.7464993792 +181433.8952167343 diff --git a/module3/exo3/SnowGIS_SHP/SnowMap.tif b/module3/exo3/SnowGIS_SHP/SnowMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..6c93480f7e00066e896cd1f2e1fccaa800b1fd22 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/SnowMap.tif differ diff --git a/module3/exo3/SnowGIS_SHP/SnowMap.tif.aux.xml b/module3/exo3/SnowGIS_SHP/SnowMap.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..0acdf5fd960dc437c243e54b42c93f1216db1cbc --- /dev/null +++ b/module3/exo3/SnowGIS_SHP/SnowMap.tif.aux.xml @@ -0,0 +1,60 @@ + + + + NEAREST + + + + + -0.5 + 255.5 + 256 + 1 + 0 + 1056558|38085|35030|30635|26721|23196|19973|17614|15202|13621|12110|10633|9602|8622|7615|6827|6160|5785|5263|4850|4471|4102|3821|3520|3396|3346|3106|3054|2953|2870|2747|2735|2682|2717|2536|2555|2465|2514|2461|2489|2566|2390|2491|2486|2418|2385|2321|2323|2264|2291|2389|2392|2227|2301|2275|2187|2254|2250|2202|2205|2187|2217|2155|2220|2105|2123|2165|2206|2149|2031|2108|2141|2066|2100|2080|2025|2107|2075|2068|2019|2023|2010|2026|2005|1995|2090|1978|2045|1994|1989|1999|2039|1942|1972|1946|1990|2006|1964|1962|1893|1939|1906|1888|1908|1968|1846|1918|1979|2044|1925|1884|1859|1862|1947|1930|1825|1934|1891|1975|1830|1898|1895|1926|1973|1924|1986|1920|1797|1912|1986|1890|1924|1944|1915|1996|1900|1925|1945|2011|1882|1953|1952|1974|1929|1997|2053|1981|1993|1959|1880|1925|1946|2015|1947|1917|2052|2062|2071|2017|2089|1949|2030|2007|2083|2080|1949|2085|2111|2091|2151|2135|2137|2019|2129|2076|2149|2084|2188|2108|2188|2105|2178|2159|2197|2146|2174|2360|2281|2260|2259|2254|2297|2279|2338|2337|2365|2450|2368|2407|2407|2435|2379|2488|2492|2497|2525|2490|2566|2577|2565|2676|2712|2726|2674|2688|2799|2707|2738|2831|2956|2800|2961|2904|3059|2994|3157|3254|3316|3508|3710|3905|4319|4664|5116|5937|6536|7435|8678|9923|11935|13906|16928|19919|23808|28421|34066|40774|48059|57324|67501|80304|94264|109903|125204|137869|5850359 + + + + 0 + 255 + 207.40977040919 + 94.77357404896 + + + + + + -0.5 + 255.5 + 256 + 1 + 0 + 1056558|38085|35030|30635|26721|23196|19973|17614|15202|13621|12110|10633|9602|8622|7615|6827|6160|5785|5263|4850|4471|4102|3821|3520|3396|3346|3106|3054|2953|2870|2747|2735|2682|2717|2536|2555|2465|2514|2461|2489|2566|2390|2491|2486|2418|2385|2321|2323|2264|2291|2389|2392|2227|2301|2275|2187|2254|2250|2202|2205|2187|2217|2155|2220|2105|2123|2165|2206|2149|2031|2108|2141|2066|2100|2080|2025|2107|2075|2068|2019|2023|2010|2026|2005|1995|2090|1978|2045|1994|1989|1999|2039|1942|1972|1946|1990|2006|1964|1962|1893|1939|1906|1888|1908|1968|1846|1918|1979|2044|1925|1884|1859|1862|1947|1930|1825|1934|1891|1975|1830|1898|1895|1926|1973|1924|1986|1920|1797|1912|1986|1890|1924|1944|1915|1996|1900|1925|1945|2011|1882|1953|1952|1974|1929|1997|2053|1981|1993|1959|1880|1925|1946|2015|1947|1917|2052|2062|2071|2017|2089|1949|2030|2007|2083|2080|1949|2085|2111|2091|2151|2135|2137|2019|2129|2076|2149|2084|2188|2108|2188|2105|2178|2159|2197|2146|2174|2360|2281|2260|2259|2254|2297|2279|2338|2337|2365|2450|2368|2407|2407|2435|2379|2488|2492|2497|2525|2490|2566|2577|2565|2676|2712|2726|2674|2688|2799|2707|2738|2831|2956|2800|2961|2904|3059|2994|3157|3254|3316|3508|3710|3905|4319|4664|5116|5937|6536|7435|8678|9923|11935|13906|16928|19919|23808|28421|34066|40774|48059|57324|67501|80304|94264|109903|125204|137869|5850359 + + + + 0 + 255 + 207.40977040919 + 94.77357404896 + + + + + + -0.5 + 255.5 + 256 + 1 + 0 + 1056558|38085|35030|30635|26721|23196|19973|17614|15202|13621|12110|10633|9602|8622|7615|6827|6160|5785|5263|4850|4471|4102|3821|3520|3396|3346|3106|3054|2953|2870|2747|2735|2682|2717|2536|2555|2465|2514|2461|2489|2566|2390|2491|2486|2418|2385|2321|2323|2264|2291|2389|2392|2227|2301|2275|2187|2254|2250|2202|2205|2187|2217|2155|2220|2105|2123|2165|2206|2149|2031|2108|2141|2066|2100|2080|2025|2107|2075|2068|2019|2023|2010|2026|2005|1995|2090|1978|2045|1994|1989|1999|2039|1942|1972|1946|1990|2006|1964|1962|1893|1939|1906|1888|1908|1968|1846|1918|1979|2044|1925|1884|1859|1862|1947|1930|1825|1934|1891|1975|1830|1898|1895|1926|1973|1924|1986|1920|1797|1912|1986|1890|1924|1944|1915|1996|1900|1925|1945|2011|1882|1953|1952|1974|1929|1997|2053|1981|1993|1959|1880|1925|1946|2015|1947|1917|2052|2062|2071|2017|2089|1949|2030|2007|2083|2080|1949|2085|2111|2091|2151|2135|2137|2019|2129|2076|2149|2084|2188|2108|2188|2105|2178|2159|2197|2146|2174|2360|2281|2260|2259|2254|2297|2279|2338|2337|2365|2450|2368|2407|2407|2435|2379|2488|2492|2497|2525|2490|2566|2577|2565|2676|2712|2726|2674|2688|2799|2707|2738|2831|2956|2800|2961|2904|3059|2994|3157|3254|3316|3508|3710|3905|4319|4664|5116|5937|6536|7435|8678|9923|11935|13906|16928|19919|23808|28421|34066|40774|48059|57324|67501|80304|94264|109903|125204|137869|5850359 + + + + 0 + 255 + 207.40977040919 + 94.77357404896 + + + diff --git a/module3/exo3/SnowGIS_SHP/SnowMap.tif.ovr b/module3/exo3/SnowGIS_SHP/SnowMap.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..7b5ea01f132c0be8255d51618a2bc4f8f834be05 Binary files /dev/null and b/module3/exo3/SnowGIS_SHP/SnowMap.tif.ovr differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._.DS_Store b/module3/exo3/__MACOSX/SnowGIS_KML/._.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a9dcab0cf4dc7031b5c3425b372ae810f96a6374 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._.DS_Store differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap.tfw b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap.tfw differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap.tif b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap.tif differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tfw b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tfw new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tfw differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif.aux.xml b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif.aux.xml differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif.ovr b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._OSMap_Grayscale.tif.ovr differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._README.txt b/module3/exo3/__MACOSX/SnowGIS_KML/._README.txt new file mode 100644 index 0000000000000000000000000000000000000000..c0461f91436943ff09f01f5503e6ce7bf541c385 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._README.txt differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tfw b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tfw differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif.aux.xml b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif.aux.xml differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif.ovr b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._SnowMap.tif.ovr differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._cholera_deaths.kml b/module3/exo3/__MACOSX/SnowGIS_KML/._cholera_deaths.kml new file mode 100644 index 0000000000000000000000000000000000000000..a53f5b6cb27ca04057e5cd946923cdc0ca5b58c7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._cholera_deaths.kml differ diff --git a/module3/exo3/__MACOSX/SnowGIS_KML/._pumps.kml b/module3/exo3/__MACOSX/SnowGIS_KML/._pumps.kml new file mode 100644 index 0000000000000000000000000000000000000000..2a563237b94a670b4c9ab79f871ea46cca811cab Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_KML/._pumps.kml differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.dbf b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.dbf new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.dbf differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.prj b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.prj new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.prj differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.sbn b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.sbn new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.sbn differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.sbx b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.sbx new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.sbx differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.shp b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.shp new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.shp differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.shx b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.shx new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Cholera_Deaths.shx differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap.tfw b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap.tfw differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap.tif b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap.tif differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tfw b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tfw new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tfw differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif.aux.xml b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif.aux.xml differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif.ovr b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._OSMap_Grayscale.tif.ovr differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.dbf b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.dbf new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.dbf differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.prj b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.prj new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.prj differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.sbx b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.sbx new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.sbx differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.shp b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.shp new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.shp differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.shx b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.shx new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._Pumps.shx differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._README.txt b/module3/exo3/__MACOSX/SnowGIS_SHP/._README.txt new file mode 100644 index 0000000000000000000000000000000000000000..c0461f91436943ff09f01f5503e6ce7bf541c385 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._README.txt differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tfw b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tfw new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tfw differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif.aux.xml b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif.aux.xml new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif.aux.xml differ diff --git a/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif.ovr b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif.ovr new file mode 100644 index 0000000000000000000000000000000000000000..641b9a03b66ff2f22cfd38fbba0ca35c8a975ca7 Binary files /dev/null and b/module3/exo3/__MACOSX/SnowGIS_SHP/._SnowMap.tif.ovr differ diff --git a/module3/exo3/exercice.ipynb b/module3/exo3/exercice.ipynb index 0bbbe371b01e359e381e43239412d77bf53fb1fb..482737c99ab27e605eedcac509cb756f1260294a 100644 --- a/module3/exo3/exercice.ipynb +++ b/module3/exo3/exercice.ipynb @@ -1,5 +1,650 @@ { - "cells": [], + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Sujet 3 : L'épidémie de choléra à Londres en 1854" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "À partir des données numériques, réalisez une carte dans l'esprit de celle de John Snow. Montrez les lieux de décès avec des symboles dont la taille indique le nombre de décès. Indiquez sur la même carte la localisation des pompes en utilisant une autre couleur et/ou un autre symbole. " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Installation les packages nécessaires \n", + "- package folium pour afficager la carte\n", + "- package geopandas pour lire les données \n", + "\n", + "Ce processus d'installation prendra certain minutes." + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Collecting folium\n", + " Downloading folium-0.12.1-py2.py3-none-any.whl (94 kB)\n", + "\u001b[K |████████████████████████████████| 94 kB 6.6 MB/s eta 0:00:01\n", + "\u001b[?25hRequirement already satisfied: jinja2>=2.9 in /opt/conda/lib/python3.6/site-packages (from folium) (2.11.0)\n", + "Collecting branca>=0.3.0\n", + " Downloading branca-0.4.2-py3-none-any.whl (24 kB)\n", + "Requirement already satisfied: numpy in /opt/conda/lib/python3.6/site-packages (from folium) (1.15.2)\n", + "Requirement already satisfied: requests in /opt/conda/lib/python3.6/site-packages (from folium) (2.23.0)\n", + "Requirement already satisfied: MarkupSafe>=0.23 in /opt/conda/lib/python3.6/site-packages (from jinja2>=2.9->folium) (1.1.1)\n", + "Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.6/site-packages (from requests->folium) (1.25.7)\n", + "Requirement already satisfied: idna<3,>=2.5 in /opt/conda/lib/python3.6/site-packages (from requests->folium) (2.9)\n", + "Requirement already satisfied: chardet<4,>=3.0.2 in /opt/conda/lib/python3.6/site-packages (from requests->folium) (3.0.4)\n", + "Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.6/site-packages (from requests->folium) (2020.4.5.1)\n", + "Installing collected packages: branca, folium\n", + "Successfully installed branca-0.4.2 folium-0.12.1\n", + "Collecting geopandas\n", + " Downloading geopandas-0.9.0-py2.py3-none-any.whl (994 kB)\n", + "\u001b[K |████████████████████████████████| 994 kB 6.0 MB/s eta 0:00:01\n", + "\u001b[?25hCollecting fiona>=1.8\n", + " Downloading Fiona-1.8.20-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (15.4 MB)\n", + "\u001b[K |████████████████████████████████| 15.4 MB 18.6 MB/s eta 0:00:01\n", + "\u001b[?25hCollecting pyproj>=2.2.0\n", + " Downloading pyproj-3.0.1-cp36-cp36m-manylinux2010_x86_64.whl (6.5 MB)\n", + "\u001b[K |████████████████████████████████| 6.5 MB 24.1 MB/s eta 0:00:01\n", + "\u001b[?25hCollecting pandas>=0.24.0\n", + " Downloading pandas-1.1.5-cp36-cp36m-manylinux1_x86_64.whl (9.5 MB)\n", + "\u001b[K |████████████████████████████████| 9.5 MB 62.1 MB/s eta 0:00:01\n", + "\u001b[?25hCollecting shapely>=1.6\n", + " Downloading Shapely-1.7.1-cp36-cp36m-manylinux1_x86_64.whl (1.0 MB)\n", + "\u001b[K |████████████████████████████████| 1.0 MB 29.2 MB/s eta 0:00:01\n", + "\u001b[?25hCollecting munch\n", + " Downloading munch-2.5.0-py2.py3-none-any.whl (10 kB)\n", + "Collecting click>=4.0\n", + " Downloading click-8.0.1-py3-none-any.whl (97 kB)\n", + "\u001b[K |████████████████████████████████| 97 kB 8.7 MB/s eta 0:00:01\n", + "\u001b[?25hRequirement already satisfied: six>=1.7 in /opt/conda/lib/python3.6/site-packages (from fiona>=1.8->geopandas) (1.14.0)\n", + "Requirement already satisfied: setuptools in /opt/conda/lib/python3.6/site-packages (from fiona>=1.8->geopandas) (45.2.0.post20200209)\n", + "Collecting click-plugins>=1.0\n", + " Downloading click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)\n", + "Collecting cligj>=0.5\n", + " Downloading cligj-0.7.2-py3-none-any.whl (7.1 kB)\n", + "Requirement already satisfied: certifi in /opt/conda/lib/python3.6/site-packages (from fiona>=1.8->geopandas) (2020.4.5.1)\n", + "Requirement already satisfied: attrs>=17 in /opt/conda/lib/python3.6/site-packages (from fiona>=1.8->geopandas) (19.3.0)\n", + "Collecting numpy>=1.15.4\n", + " Downloading numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)\n", + "\u001b[K |████████████████████████████████| 14.8 MB 59.1 MB/s eta 0:00:01\n", + "\u001b[?25hRequirement already satisfied: python-dateutil>=2.7.3 in /opt/conda/lib/python3.6/site-packages (from pandas>=0.24.0->geopandas) (2.8.1)\n", + "Requirement already satisfied: pytz>=2017.2 in /opt/conda/lib/python3.6/site-packages (from pandas>=0.24.0->geopandas) (2019.3)\n", + "Collecting importlib-metadata; python_version < \"3.8\"\n", + " Downloading importlib_metadata-4.4.0-py3-none-any.whl (17 kB)\n", + "Collecting typing-extensions>=3.6.4; python_version < \"3.8\"\n", + " Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)\n", + "Requirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.6/site-packages (from importlib-metadata; python_version < \"3.8\"->click>=4.0->fiona>=1.8->geopandas) (2.1.0)\n", + "Installing collected packages: munch, typing-extensions, importlib-metadata, click, click-plugins, cligj, fiona, pyproj, numpy, pandas, shapely, geopandas\n", + " Attempting uninstall: numpy\n", + " Found existing installation: numpy 1.15.2\n", + " Uninstalling numpy-1.15.2:\n", + " Successfully uninstalled numpy-1.15.2\n", + " Attempting uninstall: pandas\n", + " Found existing installation: pandas 0.22.0\n", + " Uninstalling pandas-0.22.0:\n", + " Successfully uninstalled pandas-0.22.0\n", + "Successfully installed click-8.0.1 click-plugins-1.1.1 cligj-0.7.2 fiona-1.8.20 geopandas-0.9.0 importlib-metadata-4.4.0 munch-2.5.0 numpy-1.19.5 pandas-1.1.5 pyproj-3.0.1 shapely-1.7.1 typing-extensions-3.10.0.0\n" + ] + } + ], + "source": [ + "import sys\n", + "!{sys.executable} -m pip install folium\n", + "!{sys.executable} -m pip install geopandas " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## 1 Récupérer des données\n", + "Récupérer les données de [Snow](https://johnsnowsociety.org/) dans le webset [ici](http://blog.rtwilson.com/john-snows-cholera-data-in-more-formats/), les données incluent l'information de pompes et les détails des morts. \n", + " - fichier 'cholera_deaths.kml' inclut la position des morts et le nombre correspondant\n", + " - fichier 'pumps.kml' inclut la position des pompes" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [], + "source": [ + "import requests\n", + "import zipfile\n", + "import io" + ] + }, + { + "cell_type": "code", + "execution_count": 34, + "metadata": {}, + "outputs": [], + "source": [ + "# Télécharge les données\n", + "# données de la format KML\n", + "zip_url = 'http://rtwilson.com/downloads/SnowGIS_KML.zip'\n", + "\n", + "r = requests.get(zip_url)\n", + "z = zipfile.ZipFile(io.BytesIO(r.content))\n", + "z.extractall(path='./')" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [], + "source": [ + "import geopandas as gpd\n", + "import fiona\n", + "\n", + "#Extraire les données des morts et le nombre correspondant\n", + "gpd.io.file.fiona.drvsupport.supported_drivers['KML'] = 'rw'\n", + "df = gpd.read_file('SnowGIS_KML/cholera_deaths.kml', driver='KML')" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "le nombre de mort peut être trouvé dans l'information 'Description' " + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
NameDescriptiongeometry
0<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13793 51.51342)
1<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13788 51.51336)
2<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13785 51.51332)
3<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13781 51.51326)
4<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13777 51.51320)
............
245<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13711 51.51453)
246<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13706 51.51471)
247<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13847 51.51231)
248<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13812 51.51200)
249<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13776 51.51186)
\n", + "

250 rows × 3 columns

\n", + "
" + ], + "text/plain": [ + " Name Description \\\n", + "0
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
NameDescriptiongeometry
0<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13667 51.51334)
1<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13959 51.51388)
2<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13967 51.51491)
3<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13163 51.51235)
4<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13359 51.51214)
5<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13592 51.51154)
6<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13396 51.51002)
7<div class=\"googft-info-window\" style=\"font-fa...POINT (-0.13820 51.51129)
\n", + "
" + ], + "text/plain": [ + " Name Description \\\n", + "0
')+10:row['Description'].rfind('
')]),\n", + " popup='Count:' + row['Description'][row['Description'].rfind('count:')+10:row['Description'].rfind('')],\n", + " color= 'red',\n", + " weight = 2,\n", + " fill=True,\n", + " fill_color='red',\n", + " fillOpacity=0,\n", + " ).add_to(m)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + " - la taille de la cercle rouge indique le nombre de décès, cliquez sur la zone du cercle rouge avec la souris pour afficher le nombre spécifique de décès à cet endroit.\n", + "\n", + " - Mark blue avec l'icône de gouttte d'eau indique la position des pompes." + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 19, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "m.save(\"mapBroadStreet1.html\")\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Résultat:\n", + "\n", + "La carte nous montre que la distribution du cercle rouge est concentrée autour de la position de pomp de 'Broadwick Street', et la position qui a le plus grand nombre de morts de 15 personnes est proche de la position de pomp de 'Broadwick Street' aussi." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## 3 Méthode de densité des décès \n", + "l'autres façons pour montrer que la pompe de Broad Street est au centre de l'épidémie. \n", + "\n", + "Calculer la densité des décès dans le quartier et l'afficher sur la carte. D'ici on calcul le nombre de morts à moins de 100 mètres de chaque pomp, et les affichons sur la carte.\n", + "\n", + "La couleur rouge indique le nombre de morts est grand, par contre la couleur blue indique le nombre de morts est petit." + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": {}, + "outputs": [], + "source": [ + "import math\n", + "\n", + "#La fonction pour calcul la distance avec le coordonnées de la carte\n", + "# code source reference \n", + "#https://instrovate.com/2019/07/01/tagging-two-locations-on-map-using-python-and-finding-distance-between-two-tagged-location-in-python/\n", + "\n", + "def find_distance(origin, destination):\n", + " lat1, lon1 = origin\n", + " lat2, lon2 = destination\n", + " radius = 6371 # km\n", + "\n", + " dlat = math.radians(lat2-lat1)\n", + " dlon = math.radians(lon2-lon1)\n", + " a = math.sin(dlat/2) * math.sin(dlat/2) + math.cos(math.radians(lat1)) \\\n", + " * math.cos(math.radians(lat2)) * math.sin(dlon/2) * math.sin(dlon/2)\n", + " c = 2 * math.atan2(math.sqrt(a), math.sqrt(1-a))\n", + " distance_bw_ori_desti = radius * c\n", + " return distance_bw_ori_desti\n" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": {}, + "outputs": [], + "source": [ + "import folium\n", + "from folium.plugins import HeatMap\n", + "\n", + "m = folium.Map(location=[51.51323855699922, -0.13695845651105376], zoom_start=16) \n", + "\n", + "countList = []\n", + "for index, row in pumpsdf.iterrows():\n", + " count = 0\n", + " for i, dfrow in df.iterrows():\n", + " dis = find_distance((dfrow['geometry'].coords[0][1],dfrow['geometry'].coords[0][0]),(row['geometry'].coords[0][1],row['geometry'].coords[0][0]))\n", + " \n", + " if dis*1000 < 100:\n", + " count = count + int(dfrow['Description'][dfrow['Description'].rfind('count:')+10:dfrow['Description'].rfind('')])\n", + " countList.append((row['geometry'].coords[0][1], row['geometry'].coords[0][0], count))\n", + " '''\n", + " folium.Circle(\n", + " location=[row['geometry'].coords[0][1], row['geometry'].coords[0][0]],\n", + " radius=100,\n", + " popup=str(count),\n", + " title=str(count),\n", + " color= 'blue',\n", + " weight = 6,\n", + " opacity = count/100,\n", + " fill=True,\n", + " #fill_color='blue',\n", + " fillOpacity=0,\n", + " ).add_to(m)\n", + " '''\n", + " folium.Marker(\n", + " location=[row['geometry'].coords[0][1], row['geometry'].coords[0][0]],\n", + " popup=str(count),\n", + " icon=folium.Icon(color='blue', icon='tint', prefix='glyphicon'),\n", + " ).add_to(m)\n", + "\n", + " m.add_child(HeatMap(countList, radius=100))" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": { + "scrolled": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "m.save(\"mapBroadStreet2.html\")\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Résultat:\n", + "\n", + "La carte nous montre que à côte de la position de pomp de 'Broadwick Street', la couleur de la région est plus rouge qu'il indique le nombre de morts est plus grand.\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], "metadata": { "kernelspec": { "display_name": "Python 3", @@ -16,10 +661,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.3" + "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 } - diff --git a/module3/exo3/mapBroadStreet1.html b/module3/exo3/mapBroadStreet1.html new file mode 100644 index 0000000000000000000000000000000000000000..28aeba5215f1d9ff0eda17ab183a12b88e1a7047 --- /dev/null +++ b/module3/exo3/mapBroadStreet1.html @@ -0,0 +1,4909 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/module3/exo3/mapBroadStreet2.html b/module3/exo3/mapBroadStreet2.html new file mode 100644 index 0000000000000000000000000000000000000000..c77cd6a78da0f475ab25f3fdba27c67128d6a6fc --- /dev/null +++ b/module3/exo3/mapBroadStreet2.html @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + \ No newline at end of file