This process outlines the process for creating Cloud Optimised Geotiffs suitable for hosting in services such as AWS S3. COGs enables more efficient workflows use cases such as fast access from Functions as a Services (E.g AWS Lambda), or comsumption into client desktop GIS systems (e.g QGIS). For more details on COGs please see https://www.cogeo.org/in-depth.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Print Yukon NTS tile names as html table with links, arranged in same order as they appear in a map index. | |
2015-Aug-19, [email protected] | |
License: X/MIT | |
''' | |
nts_txt_ordered = '''117C 117D | |
117B 117A | |
116NO 116P | |
116JK 116I 106L 106K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
function copyToClipboard(text) { | |
if (window.clipboardData && window.clipboardData.setData) { | |
/*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
return clipboardData.setData("Text", text); | |
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
var textarea = document.createElement("textarea"); | |
textarea.textContent = text; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"BACKLOG_FOLDER": { | |
"ACTIVE": true, | |
"NAME": "", | |
"TITLE": "BACKLOG", | |
"SORT": "-priority,duedate,categoryNames,subject", | |
"RESTRICT": "", | |
"DISPLAY_PROPERTIES": { | |
"OWNER": false, | |
"PERCENT": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Created by Leo: http://leoeditor.com/leo_toc.html --> | |
<leo_file xmlns:leo="http://leoeditor.com/namespaces/leo-python-editor/1.1" > | |
<leo_header file_format="2"/> | |
<vnodes> | |
<v t="mhw.20200710235109.1"><vh>History Tracer</vh> | |
<v t="mhw.20200308223025.1"><vh>@int history-tracer-port=8088</vh></v> | |
<v t="mhw.20200710235122.1"><vh>@button leo-ver-serv-start</vh></v> | |
<v t="mhw.20200710235134.1"><vh>@button leo-ver-serv-list</vh></v> | |
<v t="mhw.20200710235410.1"><vh>@button leo-ver-serv-stop</vh></v> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Measure and report the time it takes to simply `import arcpy` | |
Part of https://community.esri.com/message/914048-re-what-is-your-import-arcpy-overhead? | |
''' | |
from timeit import default_timer as timer | |
start = timer() | |
from datetime import datetime, timedelta | |
from uuid import uuid4 | |
eventid = datetime.now().strftime('%Y%m-%d%H-%M%S-') + str(uuid4()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''List all User Shell Folders via ID number. | |
An alternative to the usual | |
objShell = win32com.client.Dispatch("WScript.Shell") | |
allUserProgramsMenu = objShell.SpecialFolders("AllUsersPrograms") | |
because "These special folders do not work in all language locales, a preferred | |
method is to query the value from User Shell folders" |
Leo 5.8.1 beta 1, http://leoeditor.com, is now available on GitHub.
Leo is an IDE, outliner and PIM, as described here.
- during installation, set config to enabled
- edit policy, add your user on Local Comp Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Create symbolic links
- enable Windows Developer mode to bypass UAC requirement
- Search > For developer settings > Dev mode
Transcribed from an interview with Toby Schachman and Paula Te on The Afrofuturist Podcast:
There's this notion of the open-source movement. There are a lot of things
that we totally resonate with that because it's about understanding how your
technology works. We're totally 100% on board with that.
But then there are other issues with the open-source community, where it's
very internet-based and so open-source ends up benefitting this group of
people who have really strong access to internet and understand how to use