Step 1: Share your route in Google Maps
In Google Maps, create the route, then share it to get a link to the directions.
Step 2: Convert the route to a GPX file
Using the handy convert feature at GPS Visualizer (http://www.gpsvisualizer.com/convert_input), paste the link you copied from Google Maps, select GPX as the output format and download the file.
I have not used the Time Manager plugin either, but I think @Pedro is correct, this is a task for a field calculator first. Once you create the new field and fill it, then use the Time Manager to act upon the new data.
In this case, Python might make this an easier operation, given that it has some pretty powerful string operators. The default field ...
The only source of this error is in timemanagercontrol.py
expectedNumberOfFrames = self.timeLayerManager.getFrameCount()
if expectedNumberOfFrames == 0: # will be zero if no layer is time managed
self.animationActivated = False
if len(self.getTimeLayerManager().getTimeLayerList()) > 0:
error("Have layers, but ...
The pull request with the feature you mention has been merged (https://github.com/anitagraser/TimeManager/pull/295) but there hasn't been a new release of the plugin yet. Therefore, if you want to use this feature already, you need to download the plugin from Github (https://github.com/anitagraser/TimeManager/archive/master.zip) and install it manually (i.e. ...
I'm not aware of an already existing solution.
But if you want to get started on your own, you can add your own graphics items onto the map canvas.
Normally, such things would derive from QgsMapCanvasItem but in your case, as you probably don't want to place your item in map coordinates, but rather in screen coordinates, you should derive it from ...
Make sure you:
Create a style for the different colours (Categorised, Graduated etc.)
Create a field in the attribute table which contains the time in a suitable format (e.g. YYYY-MM-DD)
Use this field when adding a layer in the Time Manager plugin:
Change the Time frame size to suit your requirements:
Enable the layer, make sure the plugin is switched on ...
You can set up a filter on the layer so that QGIS will ignore any feature with a null value in the date field.
Layer Properties > General > Query Builder (under Provider feature filter)
Substitute the name of your time stamp field in this expression:
"timestamp" is not null
Now QGIS will completely ignore any features without a time stamp. They won'...
From your description I could not find anything wrong, so please allow me to post an example, which is working at millisecond intervals at my end.
1) My dummy dataset:
2) Time manager panel. I set the Time frame size: unit to milliseconds.
3) Clicking on [Settings] button, and then [Add layer] button to read the layer. As you see, time format is %Y-%m-%d ...
This solution works with time manager. This is a workaround.
I convert one time unit. By example: minutes as the value to slide on.
Here %M is the CHARGE field to silde on for START and END.
The minutes in normal usage of Time manager are replaced by the value of CHARGE field. In this snapshot, value is 15:
Tutorial based on point should work as well as for polygon. But before anything else you must normalize your dataset so that time manager can use it.
You should transform your data to fit this layout:
COUNTY_NAME / TIME / POP
Madison / 2001 / 1500
Guilford / 2001 /1500
Madison / 2002 /2000
Guilford / 2002 / 3000
Madison / 2003 / 3000
Guilford / 2003 / ...
Yes, the geometry type makes no difference. This example has lines: https://youtu.be/l29bOvGutBw
Start by extending the CSV with a column containing the line geometry in WKT format. Then load that into TimeManager.
LineString(x0 y0, x1 y1)
Coordinates can be as as precise as needed.
More simple than other solutions, use Field Calculator functions (QGIS 2.18 maybe under):
to_date(string) and format_date(datetime, format)
If '/' use regexp_replace( '2012/05/04' ,'/','-')
to_date('2012-05-04') → 2012-05-04
format_date('2012-05-15','dd.MM.yyyy') → '15.05.2012'
If you have problem with international date format you can use substring to ...
You did not mention the data formats that you have available, but in general I recommend looking into both Crayfish and Time Manager, two QGIS plugins which have been built to work with spatio temporal data.
Time Manager focuses on working with vector data (mostly moving objects modelled as points, but also other changing features modelled as vector ...
The solution that I managed to implement involved the process with which I write these files. So the solution is a roundabout method and doesn't directly address the issue.
Initially, I was writing a separate date and time column (of type String), 10 bytes wide and 8 bytes wide, respectively. I was under the impression the Shapefile format restricts ...
By using this expression :
color_hsv(0, scale_exp( day( age( "END" , animation_datetime() )),0,365,10,100,2),100)
In the data defined override for your polygon fill color you get the effect from red to pale red as the time goes.
This work like this color_hsv set the color with H set at 0 (for
red), S set as a scale_exp fonction to change over time and V ...
For each layer you want to animate you need to have a field with the stored time stamps. Time formats:
Load and prepare your layers in QGIS, open Time Manager plugin, hit 'Settings' button and add the layers you want to animate:
Adjust other animation ...
On my Win7 x64, the minimum datetime is 1970-01-01 01:00:00 (mktime returns 0).
A quick and dirty solution is to "shift" the dates into the supported range (over year 1970) by adding a big enough number to the year value.
Based on the description, you want to create an animation of one polygon feature (car park) with changing fill color (occupancy). This is not a heatmap. It's maybe a choropleth map with one feature ;)
I suggest the following steps:
decide animation frame length (e.g. one frame per minute)
aggregate number of cars in the car par within each given frame (...
As far as I know, there is no way to get the legend rendered in the main map window.
One approach to generate a video with legend would be to add an image containing the legend to the video using video processing software.
Notice how the time format in your screenshots reads "SECONDS F...". This means that the values you entered (e.g. 20130117) are interpreted as seconds rather than dates. To avoid this problem, please use the format YYYY-MM-DD when entering dates.
Put the data into a PostGIS database.
An index on the timestamp will speed up rendering considerably. Relative speedup depends on the datasource you're using now.
SpatiaLite with index could be an alternative if you cannot install PostGIS.