I've been looking at animating vector data in #QGIS with the Temporal Controller instead of the Time Manager. I started with @tjukanov's brilliant exercise: medium.com/@tjukanov/geog…
I wanted icons not circles, but Icons have directionality & I wanted them to face the right way
Thanks to @HeikkiVesanto giving me the code to find out the direction to the next point in a sequence:
...which I wrapped in a function to convert to degrees, I could use a Data Defined Override to set the rotation.
Now I had to overcome the issue of trains heading east being mirror images of trains heading west. I used InkScape to make two electric train SVG icons to account for this. Note they are facing down to avoid the 90° correction in QGIS as rotation breaks if you go over 360°
I used a rule based styling option to use different icons depending on whether the rotation value was above or below 180° and managed to get the trains pointing the right way. The preview in QGIS didn't render the frames fast enough so I had to create the video in a video editor:
• • •
Missing some Tweet in this thread? You can try to
force a refresh
I did a comparison of the different hill shading tools in #QGIS and got some amazing results. Each one was blended with a DTM to give a bit of depth. Have a look at this thread for details on the 7 ways I tried, these are the most interesting. 1/n
I was using a DSM of Arthur's Seat in Edinburgh. The first method was the most simple, just switch to Hillshading in the Layer Style Panel. Not bad, but a bit low on contrast. 2/n
I then tried the Terrain Shading Plugin, I ticked the Bidirectional lighting to boost the contrast. It was a bit disappointing compared to others but the Plugin can be used to calculate other layers which can be combined manually to create much better effects. 3/n