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.
First update: Glasgow Regions Mapped – Progress Update 1
Lets map the districts/regions/neighbourhoods/suburbs of Glasgow. The divisions of a city can be hard to distinguish, there are no hard boundaries between regions and these can be dynamic over time. Where does the West End begin? As soon as you cross the M8, or later? Where does the West End end? Before Partick, halfway through, or well past Scotstoun? Have your say!
People Make Glasgow, help define its boundaries.
This was done successfully in Boston: Bostonography – Neighborhoods as seen by the people.
Although Boston is a significantly easier target. Their map covered 21 different neighbourhoods. According to Wikipedia, Glasgow has at least 145 districts.
This will only be significant if we get a good number of responses. So please feel free to share!
Made possible by: Nick Martinelli from extent(PNW). Code on GitHub.
Map Glasgow’s Regions.