2

In 3.0 you can use QGIS's built in flashFeatureIds method on MapCanvas objects canvas = iface.mapCanvas() layer = iface.activeLayer() my_features_ids = [42, 43, 45] canvas.flashFeatureIds(layer, my_feature_ids) This method also lets you modify the style of the flashing


2

The GeoJSON source method has an option to indicate the 'date' columns. Can you try with something like this? const dateColumns = ['date']; const options = { dateColumns }; const newSource = new carto.source.GeoJSON(JSON.parse(this.source), options); :wave


1

Time series in GeoServer tend to be collections of rasters or single vector files. So you need a single shapefile with a date column in it, the animation will then allow you to show the various features in the layer that match the time settings.


1

A bit of a roundabout method, but here's what worked for me: Make a shell script w/ gdal_translate to extract all bands as separate .tif files gdal_translate -b <bandnum> in.tif out<bandnum>.tif (Optional) For my case I needed to apply a custom colormap to each .tif file, so I used MultiQML + Qgis console. Output:colored<bandnum>.tif ...


1

Yes. If you load a gif into QGIS as a raster you can use a World File to locate it geographically. Since its world unicorn day, here's a Unicorn GIF loaded into QGIS: note that it will not animate. The image is loaded as a raster with 80 bands. I think each band is a frame of animation but you'd have to play with it to make it animate. What I've shown is a ...


1

You can find the code from each chapter at https://github.com/Robinlovelace/geocompr/tree/master/code/chapters. The code for the first animation is at https://github.com/Robinlovelace/geocompr/blob/master/code/08-urban-animation.R, and for the second one at https://github.com/Robinlovelace/geocompr/blob/master/code/08-usboundaries.R.


1

readOGR syntax can be a bit unfriendly at times. Here's a suggestion. Assuming your shapefile path is - C:/Users/Merry/Desktop/ro_judete_polgion.shp, the following should work: library(rgdal) #try without specifying a layer ro_judete_poligon <- readOGR("C:/Users/Merry/Desktop/ro_judete_poligon.shp")


1

Looking at your requirements I would suggest you to use kernel-density: http://desktop.arcgis.com/en/arcmap/10.3/tools/spatial-analyst-toolbox/kernel-density.htm


1

There are multiple things going wrong in the second script you provide. I will list them from top to down so you can make this work: Your defined your palette without brackets (it should be a list) and you did not provide all necessary commas and quotation marks. var visNDVI = {min: 0, max: 0.8, palette: ['FFFFFF', 'CE7E45', 'DF923D', '...


1

Yes, as a basic example something like this would change the stroke width and fill opacity on a 10 second cycle var timer = 0; var style = function(feature) { return new ol.style.Style({ stroke: new ol.style.Stroke({ color: '#fff', width: (timer%10)+1 }), fill: new ol.style.Fill({ color: 'rgba(255,0,0,' + (((timer%10)+1)/10) ...


1

If you're familiar with arcgis pro, then you can export your animation into a movie, and then embed it on your presentation.


1

It appears that there isn't a single way approach to achieve the outcome you are seeking. However, that are several ways that you may be able to have the change to adjust the speed of your route animation. Animate found route #101 is a suggestion from a user to add this feature - Add an option to animate the display of a new route, such that it grows ...


1

The Extent you are trying to send as the input to view.goTo(...) is not valid since you cannot autocast xmin, ymin, xmax, and ymax according to the documentation (see that there is only the "autocast" keyword on the spatialReference property - not on xmin, ymin, etc). So instead of autocasting you should include the Extent module in your AMD includes: ...


Only top voted, non community-wiki answers of a minimum length are eligible