QGIS Automated photo importUsing QGIS Photo import plugin?how to add a custom SRID to SpatialiteGoogle+ photo...
PTIJ: Aliyot for the deceased
How do we objectively assess if a dialogue sounds unnatural or cringy?
Are angels creatures (Mark 16:15) and can they repent (Rev 2:5 and Rom 8:21)
Deal the cards to the players
Has a sovereign Communist government ever run, and conceded loss, on a fair election?
An Undercover Army
Dukha vs legitimate need
Searching for a string that contains the file name
Preparing as much as possible of a cake in advance
Linear Combination of Atomic Orbitals
What is the oldest European royal house?
Was it really inappropriate to write a pull request for the company I interviewed with?
Why is there an extra space when I type "ls" on the Desktop?
What does it mean when I add a new variable to my linear model and the R^2 stays the same?
Are Wave equations equivalent to Maxwell equations in free space?
How do you make a gun that shoots melee weapons and/or swords?
Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?
Is being socially reclusive okay for a graduate student?
Learning to quickly identify valid fingering for piano?
The need of reserving one's ability in job interviews
How to make sure I'm assertive enough in contact with subordinates?
Can a Mimic (container form) actually hold loot?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Can a Mexican citizen living in US under DACA drive to Canada?
QGIS Automated photo import
Using QGIS Photo import plugin?how to add a custom SRID to SpatialiteGoogle+ photo in QgisAutomated Viewshed in QGISQGIS Pipe Flow and Aerial PhotoCan QGIS do automated spatial ETL?Import Pandas or any Python module into QGIS internal Pythonautomated spatial Query QGISImplementing 2SFCA in QGIS using automated process?Creating automated clipping in QGIS
Is there a way to set up an automated photo import from a network folder in QGIS?
Specifically, I would like to push a custom button and select a root folder, and as images populate the folder I would like them to import into QGIS. Intervals of 30 min to 1 hour for automated import but with the option of manually refreshing and importing if there are new files.
Is this even possible? Not looking for hand holding or completed answer, maybe a nudge in the right direction.
qgis
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Is there a way to set up an automated photo import from a network folder in QGIS?
Specifically, I would like to push a custom button and select a root folder, and as images populate the folder I would like them to import into QGIS. Intervals of 30 min to 1 hour for automated import but with the option of manually refreshing and importing if there are new files.
Is this even possible? Not looking for hand holding or completed answer, maybe a nudge in the right direction.
qgis
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
It is possible, but will need some custom python scripting -- there's no out of the box tool to do this
– ndawson
Feb 6 at 0:00
add a comment |
Is there a way to set up an automated photo import from a network folder in QGIS?
Specifically, I would like to push a custom button and select a root folder, and as images populate the folder I would like them to import into QGIS. Intervals of 30 min to 1 hour for automated import but with the option of manually refreshing and importing if there are new files.
Is this even possible? Not looking for hand holding or completed answer, maybe a nudge in the right direction.
qgis
Is there a way to set up an automated photo import from a network folder in QGIS?
Specifically, I would like to push a custom button and select a root folder, and as images populate the folder I would like them to import into QGIS. Intervals of 30 min to 1 hour for automated import but with the option of manually refreshing and importing if there are new files.
Is this even possible? Not looking for hand holding or completed answer, maybe a nudge in the right direction.
qgis
qgis
edited Feb 5 at 22:11
Fran Raga
3,060922
3,060922
asked Feb 5 at 22:09
jsbcfjsbcf
1
1
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
It is possible, but will need some custom python scripting -- there's no out of the box tool to do this
– ndawson
Feb 6 at 0:00
add a comment |
It is possible, but will need some custom python scripting -- there's no out of the box tool to do this
– ndawson
Feb 6 at 0:00
It is possible, but will need some custom python scripting -- there's no out of the box tool to do this
– ndawson
Feb 6 at 0:00
It is possible, but will need some custom python scripting -- there's no out of the box tool to do this
– ndawson
Feb 6 at 0:00
add a comment |
1 Answer
1
active
oldest
votes
You could definitely write a custom script to auto-download files from the internet or a network folder using cron (if you're a unix/linux user) or schtasks (if you're a windows person), which lets you execute scripts at specific times of day. For importing them into QGIS, you could use cron functions/schtasks cmdlets to execute a download to a folder and then subsequently execute another script to add it as a QGIS layer or whatever using the QGIS API for Python. There's also the QGIS network module that has the contentfetcher method for HTTP servers, but idk if that will work for your network folder since it is an HTTP protocol for getting data from a URL.
As far as having the option to do it manually, you would just want to save the script and make it executable so you could execute it from the terminal/CMD whenever you like. I've included the links to the cron, schtasks and QGIS network docs below, which should put you on the right path. If you don't have experience with scripting just yet, I'd start with the basics of a language that you can then use to solve solutions like this regularly instead of finding ad hoc applications - it's well worth the time.
If you add some more details like the programming languages you're familiar with, your OS, how you want to store your data (data layer, map document, jpeg, etc), you will get a lot more detailed and helpful answer.
https://qgis.org/pyqgis/3.0/core/Network/index.html
https://help.ubuntu.com/community/CronHowto
https://docs.microsoft.com/en-us/windows/desktop/taskschd/schtasks
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f311160%2fqgis-automated-photo-import%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You could definitely write a custom script to auto-download files from the internet or a network folder using cron (if you're a unix/linux user) or schtasks (if you're a windows person), which lets you execute scripts at specific times of day. For importing them into QGIS, you could use cron functions/schtasks cmdlets to execute a download to a folder and then subsequently execute another script to add it as a QGIS layer or whatever using the QGIS API for Python. There's also the QGIS network module that has the contentfetcher method for HTTP servers, but idk if that will work for your network folder since it is an HTTP protocol for getting data from a URL.
As far as having the option to do it manually, you would just want to save the script and make it executable so you could execute it from the terminal/CMD whenever you like. I've included the links to the cron, schtasks and QGIS network docs below, which should put you on the right path. If you don't have experience with scripting just yet, I'd start with the basics of a language that you can then use to solve solutions like this regularly instead of finding ad hoc applications - it's well worth the time.
If you add some more details like the programming languages you're familiar with, your OS, how you want to store your data (data layer, map document, jpeg, etc), you will get a lot more detailed and helpful answer.
https://qgis.org/pyqgis/3.0/core/Network/index.html
https://help.ubuntu.com/community/CronHowto
https://docs.microsoft.com/en-us/windows/desktop/taskschd/schtasks
add a comment |
You could definitely write a custom script to auto-download files from the internet or a network folder using cron (if you're a unix/linux user) or schtasks (if you're a windows person), which lets you execute scripts at specific times of day. For importing them into QGIS, you could use cron functions/schtasks cmdlets to execute a download to a folder and then subsequently execute another script to add it as a QGIS layer or whatever using the QGIS API for Python. There's also the QGIS network module that has the contentfetcher method for HTTP servers, but idk if that will work for your network folder since it is an HTTP protocol for getting data from a URL.
As far as having the option to do it manually, you would just want to save the script and make it executable so you could execute it from the terminal/CMD whenever you like. I've included the links to the cron, schtasks and QGIS network docs below, which should put you on the right path. If you don't have experience with scripting just yet, I'd start with the basics of a language that you can then use to solve solutions like this regularly instead of finding ad hoc applications - it's well worth the time.
If you add some more details like the programming languages you're familiar with, your OS, how you want to store your data (data layer, map document, jpeg, etc), you will get a lot more detailed and helpful answer.
https://qgis.org/pyqgis/3.0/core/Network/index.html
https://help.ubuntu.com/community/CronHowto
https://docs.microsoft.com/en-us/windows/desktop/taskschd/schtasks
add a comment |
You could definitely write a custom script to auto-download files from the internet or a network folder using cron (if you're a unix/linux user) or schtasks (if you're a windows person), which lets you execute scripts at specific times of day. For importing them into QGIS, you could use cron functions/schtasks cmdlets to execute a download to a folder and then subsequently execute another script to add it as a QGIS layer or whatever using the QGIS API for Python. There's also the QGIS network module that has the contentfetcher method for HTTP servers, but idk if that will work for your network folder since it is an HTTP protocol for getting data from a URL.
As far as having the option to do it manually, you would just want to save the script and make it executable so you could execute it from the terminal/CMD whenever you like. I've included the links to the cron, schtasks and QGIS network docs below, which should put you on the right path. If you don't have experience with scripting just yet, I'd start with the basics of a language that you can then use to solve solutions like this regularly instead of finding ad hoc applications - it's well worth the time.
If you add some more details like the programming languages you're familiar with, your OS, how you want to store your data (data layer, map document, jpeg, etc), you will get a lot more detailed and helpful answer.
https://qgis.org/pyqgis/3.0/core/Network/index.html
https://help.ubuntu.com/community/CronHowto
https://docs.microsoft.com/en-us/windows/desktop/taskschd/schtasks
You could definitely write a custom script to auto-download files from the internet or a network folder using cron (if you're a unix/linux user) or schtasks (if you're a windows person), which lets you execute scripts at specific times of day. For importing them into QGIS, you could use cron functions/schtasks cmdlets to execute a download to a folder and then subsequently execute another script to add it as a QGIS layer or whatever using the QGIS API for Python. There's also the QGIS network module that has the contentfetcher method for HTTP servers, but idk if that will work for your network folder since it is an HTTP protocol for getting data from a URL.
As far as having the option to do it manually, you would just want to save the script and make it executable so you could execute it from the terminal/CMD whenever you like. I've included the links to the cron, schtasks and QGIS network docs below, which should put you on the right path. If you don't have experience with scripting just yet, I'd start with the basics of a language that you can then use to solve solutions like this regularly instead of finding ad hoc applications - it's well worth the time.
If you add some more details like the programming languages you're familiar with, your OS, how you want to store your data (data layer, map document, jpeg, etc), you will get a lot more detailed and helpful answer.
https://qgis.org/pyqgis/3.0/core/Network/index.html
https://help.ubuntu.com/community/CronHowto
https://docs.microsoft.com/en-us/windows/desktop/taskschd/schtasks
answered Feb 6 at 0:01
scookscook
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f311160%2fqgis-automated-photo-import%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It is possible, but will need some custom python scripting -- there's no out of the box tool to do this
– ndawson
Feb 6 at 0:00