Shapefile or geodatabase?
A nice overview and comparison of the shapefile, personal geodatabase and file geodatabase over at the guys at GIS Geography. Its a good succinct summary and review of the pros and cons. They do note that the file geodatabase is proprietary (to Esri), but not that the shapefile is too. And whilst (quitea while ago) Esri published a whitepaper detailing the specification of the shapefile its worth noting that they have released the API to the file geodatabase as well.
Evidence Matters
Sense About Science kicked off their Evidence Matters campaign earlier this year and this month held a meeting in parliament to push the importance of policy decisions based upon factual evidence. That is, making decisions that have impact upon society for the benefit of all, not simply to push a political agenda or because it’s what politicians believe but not what evidence shows. And the corollary is ignoring evidence - when it has been collected and presented, don’t make a decision because you don’t like the evidence (the so-called “post-truth society”). It’s critically important for the community we share and the environment we inhabit. There shouldn’t be elitist strongholds on decision making, but egalitarian approaches that value all.
UPDATE: Cookie Cutter and ArcGIS 10.4
Way back in 2009 I published a paper on the Cookie Cutter which outlined a method (and accompanying script) for calculating the volume of drumlins. This worked in ArcGIS 9.2 using the Python interface to a number of ArcGIS toolbox tools. Fast forward 9 years since I first wrote the script and, not too surprisingly, it doesn’t work (thanks for telling me Arturs!).
I finally sat down a few weeks ago to bug fix the script which was actually easier than I thought it would. It’s actually comprised of two scripts - the first sets up some working directories and takes an input shapefile, splitting into a number of new shapelines (one per drumlin). The second script then performs the volume calculation on each drumlins. It turns out (given Im pretty much only calling Toolbox tools) that there wasn’t much to fix… a third party script splitting the initial shapefile had to be removed, a bug in the command adding a new field and then reference to ArcGIS 10.4 paths. For those wanting to use it, please download the attached files and follow the notes below.
<
ul>
C:Python27ArcGIS10.4python.exe
concat(‘A’, @row_number )
The key output is the Volume_Master.dbf table. You can open this in excel. It is zonal stats from ArcGIS for each individual drumlin (subtracted from the cookie cut DEM). The critical value is the SUM column that shows the total height for all pixels within the drumlin. Multiply this by 25 (for a 5x5 pixel) to give you drumlin volume.
UPDATE: If you can’t (or don’t want to) use Spyder you can just run the py script directly from the command line using the interpreter that ships with ArcGIS.
Get ahead in QGIS …
I’ve already blogged about Steve Bernard’s excellent YouTube Channel on QGIS, well to continue in that vein, here’s a link to a series of free (and paid for) courses in QGIS over at GeoAcademy. I cant vouch for the courses themselves, but it’s great to see such variety springing up. QGIS is my goto for geoprocessing on a daily basis…
Note to self… duplicating a tab in Firefox
This is one of those actions that is incredibly useful every so often… you have a tab open and you actually want to duplicate (so you have an active copy) and then carry on working with the current tab. Except there is no “duplicate tab” (or clone) option when you right click in the window or on the tab. This is actually one of those Unix-esque type daisy-chaining of functions to achieve the same in result. So… middle clicking on a link will load that link in a new tab (very useful itself). Solution:
middle click on the reload page icon (next to the address bar)
Always easy when you know how!
It’s a , stupid!!
Yes, one of the manuscript writing moments where I was using Endnote and wanted to cite a webpage for an organisation. Enter the oranisation name in and the European Geosciences Union gets turned into…
Union
This is one of those annoying diversions where you either go and work and the syntax for citing it or… do it manually.
In this instance I Googled it and found that all that was needed was the humble
,
at the end of the author field. It’s always easy when you know how!