Winner of the 2016 OS OpenData Award for Excellence in the use of OpenData from the British Cartographic Society.
The mapping process creates a random point within a building shell inside of a postcode area, which is repeated for every person in a postcode. This is in contrast to a simpler process, which does not take into account buildings at all, working simply with postcode areas. This can be seen in my previous post: Population of Scotland Mapped
The Guardian – Every person in England and Wales on a map by Chris Cross
Based on the 2011 Scottish Census population data.
Data from the National Records of Scotland.
Combined with the Ordnance Survey, Open Map product.
Rendered with: QGIS tile writer python script.
In honour of the Forth Road Bridge re-opening completely. I created a map of the impact it has had on drive times from Edinburgh.
This is based on the OS Open Roads Product, using pgRouting, and network generated using the guide from Ross McDonald.
This does not take into account the increase of traffic on the other routes, or traffic in general. Would be interesting to see a real impact map from one of the major navigation providers.
Putting Stirling on the Map
Monday 29th February 2016 at 7.30pm in the Smith
Paula Williams, Curator of Maps, Mountaineering and Polar Collections, from the National Library of Scotland will talk about four hundred years of mapping the Stirling area, illustrated with maps from the NLS collection.
See the Stirling Local History Society for details:
And the Flyer.
I have been working a lot with points recently, and one thing with the default selection highlighting in QGIS is that selections do not really stand out. This is especially true with point layers.
A bit of an extreme example, but there are 15 points selected in the middle of this image.
However, we can remedy this with the Expression Plus plugin (by Nathan Woodrow) and a rule based symbology.
This plugin adds a great function: isselected()
With this we can easily create rule to symbolise features that are selected.
The rule for symbology is as follows:
isselected( @layer_name )
isselected( 'ACTUAL_NAME_OF_LAYER' )
So we can see that 2.12 has added a slightly more dynamic way of applying the symbology.
We can now slightly more easily see our selection.
But one final setting. With symbol levels we can really make the selections pop.
Symbol levels can be set from the bottom right of the styles tab, through rendering order. We simply want out selection to have a higher number than the other symbologies. Thus being rendered in a later pass and appearing on top.
A cool python script has been created that allows you to easily convert your google location (Takeout) data into a shapefile.
You can get your data from: Google Takeout
And you only need the “Location History – JSON format”
The conversion python script can be downloaded from: GitHub
The python script requires GDAL and its python bindings, but can be easily run if you installed QGIS using the OSGeo4W installer. From the advanced installer, under the Lib section.
Then using the OSGeo4W Shell.
Run the command:
python "C:\FullPath_to_Python_Script\read_location_data.py" "C:\FullPath_to_Input_File\LocationHistory.json" "C:\output_path" output_file_name ESRI_Shapefile
python "C:\FilePath\Takeout\Location History\read_location_data.py" "C:\FilePath\Takeout\Location History\LocationHistory.json" "C:\FilePath\Takeout\Location History" output ESRI_Shapefile
Then just style it in QGIS as desired.