New answers tagged attributes
Although the title does not reflect anymore the solution I solved the problem this way: I generated the PNG files with the GRASS animation tool as suggested by me in my question and by @markusN in his answer. That part I already had but I mention it for completeness of the answer. Instead getting the time stamps from the shapefile I exported the ...
Consider to look into GRASS GIS 7. It comes with an easy to use animation tool (with film export): http://grass.osgeo.org/grass70/manuals/wxGUI.animation.html Example video: http://www.youtube.com/watch?v=oTQ963mC9JE ... and more related videos: http://www.youtube.com/user/kratoan1
This is connected to a related question I asked earlier: Create and immediately update field using Field Calculator Following on from Matthias' answer, this expression allowed me to add a filter and populate NewColumn in just one step: case when "column_1" ILIKE '%Country%' then 1 else 0 end
Sure. import fiona with fiona.open("file.shp") as src: filtered = filter(lambda f: f['properties']['foo']=='bar', src) It's documented at http://toblerity.org/fiona/manual.html#filtering. The thing is: shapefiles don't have standard and interoperable attribute indexes and so you have to loop over all features and test them no matter what. If you ...
You could achieve this based on the QGIS Combo Manager Just create your own filter for the fields in a subclass of FieldCombo. The following code is untested (literally), so please bear with me if there's a typo or other minor problems, and think of it as a reference. from qgiscombomanager import * class MyFieldCombo( FieldCombo ): def __init__(self, ...
Top 50 recent answers are included