X-Git-Url: http://git.vanrenterghem.biz/www2.vanrenterghem.biz.git/blobdiff_plain/9d5cad4353459e7fa815d6a8a677037b58e69668..7c8fdc2671a706f0dafabfcc92d6559843a0d3c7:/source/posts/using_spatial_features_and_openstreetmap.org diff --git a/source/posts/using_spatial_features_and_openstreetmap.org b/source/posts/using_spatial_features_and_openstreetmap.org index 690bd4c..218c8c3 100644 --- a/source/posts/using_spatial_features_and_openstreetmap.org +++ b/source/posts/using_spatial_features_and_openstreetmap.org @@ -1,24 +1,18 @@ -#+date 2017-10-12 21:30:51 +0800 -#+filetags R spatial analysi visualisation +#+date: <2017-10-12 21:30:51 +0800> +#+filetags :R:spatial:analysis:visualisation: #+title: Using spatial features and openstreetmap -Turns out it is possible, thanks to the good folks at -[[file:stamen.com][Stamen Design]], to get fairly unobtrusive maps based +Turns out it is possible, thanks to the good folks at [[http://stamen.com][Stamen Design]], to get fairly unobtrusive maps based on the OpenStreetMap data. -Combining this with a SLIP dataset from the Western Australian -government on active schools in the state provided a good opportunity to -check out the recently released -[[https://cran.r-project.org/web/packages/sf/index.html][sf (Simple -Features) package]] in R. +Combining this with a SLIP dataset from the Western Australian government on active schools in the state provided a good opportunity to +check out the recently released [[https://cran.r-project.org/web/packages/sf/index.html][sf (Simple Features) package]] in R. -Simple features are a standardized way to encode spatial vector data. -Support in R was added in November 2016. For users of the tidyverse, -this makes manipulating shapefiles and the likes easier, as simple +Simple features are a standardized way to encode spatial vector data. Support in R was added in November 2016. For users of the tidyverse, this makes manipulating shapefiles and the likes easier, as simple features in R are dataframes! -[[Plot of secondary schools by student -population|/pics/Western_Australia_metro_secondary_schools.png]] +#+CAPTION: Plot of secondary schools by student population. +#+ATTR_HTML: :class img-fluid :alt Plot of secondary schools by student population. +[[file:../assets/Western_Australia_metro_secondary_schools.png]] -[[http://git.vanrenterghem.biz/?p=R/project-wa-schools.git;a=summary][Full -details in git]]. +[[http://git.vanrenterghem.biz/?p=R/project-wa-schools.git;a=summary][Full details in git]].