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













0















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.










share|improve this question
















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
















0















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.










share|improve this question
















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














0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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










1 Answer
1






active

oldest

votes


















0














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






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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






    share|improve this answer




























      0














      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






      share|improve this answer


























        0












        0








        0







        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






        share|improve this answer













        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 6 at 0:01









        scookscook

        111




        111






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            (145452) 2005 RN43 Классификация | Примечания | Ссылки |...

            Щит и меч (фильм) Содержание Названия серий | Сюжет |...

            Энтрерриос (город) Содержание История | Географическое...