QGIS unable to perform point snapping to line. OS: Windows+Mac ElCapitanHow to avoid snapping errors in...

Buying a "Used" Router

Have any astronauts or cosmonauts died in space?

What is the reason behind this musical reference to Pinocchio in the Close Encounters main theme?

What did Putin say about a US deep state in his state-of-the-nation speech; what has he said in the past?

How Create a list of the first 10,000 digits of Pi and sum it?

How can guns be countered by melee combat without raw-ability or exceptional explanations?

How many copper coins fit inside a cubic foot?

Why is quixotic not Quixotic (a proper adjective)?

How does holding onto an active but un-used credit card affect your ability to get a loan?

What is the name of this perspective and how is it constructed?

How can changes in personality/values of a person who turned into a vampire be explained?

A cancellation property for permutations?

What does "don't have a baby" imply or mean in this sentence?

Did the characters in Moving Pictures not know about cameras like Twoflower's?

Multiplying elements of a list

Why Doesn't It Completely Uninstall?

Euler and minus sign

Is Screenshot Time-tracking Common?

Do error bars on probabilities have any meaning?

Cryptic cross... with words

Found a major flaw in paper from home university – to which I would like to return

What if you do not believe in the project benefits?

Why does this quiz question say that protons and electrons do not combine to form neutrons?

How can a kingdom keep the secret of a missing monarch from the public?



QGIS unable to perform point snapping to line. OS: Windows+Mac ElCapitan


How to avoid snapping errors in QGis?Snapping while measure in QGIS?QGIS 2.8.1 (Windows 64bit). Setting snapping to the “decoration” grid?Temporarily suspend snapping in QGISSnapping many vertices from line or polygon layer in QGIS?snapping line nodes to pointsSnapping points from layer to line in QGIS?Gaps left between features when snapping together (Line to Point)PostGIS - Snapping a point to a line doesn't workBulk Snapping Points to Line Vertex in QGIS?













0















I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used):



(For OSX El Capitan):



File"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 341, in processAlgorithm
with open(prjFile, 'w') as f:
PermissionError: [Errno 13] Permission denied: '.prj'



The above error being common to Mac and Windows as well. Sometimes while running the tool on windows environment is able to pass the permission error stage (somehow and its pretty weird, only sometimes) and generates only '.prj' file but fails stating:




'not able to generate shapefile'




I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.



All the supporting packages (GDAL) and respective python versions have been properly installed (3.6.7 for QGIS 3.0+).



My system specs are as follows:



System: Macbook Pro Mid 2012 i5 El Capitan + Windows 10 Pro (Bootcamp)



How can I fix this error?










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Where are you trying to save the output snapped point file? Are you sure you have write permission to the path?

    – Keagan Allan
    Jan 22 at 23:55











  • The path is a regular folder on both Mac as well as Windows. I happen to be the sole user of my system with all administrative rights. For both systems, the path happens to be a folder on desktop.

    – Sumit Shokeen
    Jan 24 at 1:41
















0















I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used):



(For OSX El Capitan):



File"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 341, in processAlgorithm
with open(prjFile, 'w') as f:
PermissionError: [Errno 13] Permission denied: '.prj'



The above error being common to Mac and Windows as well. Sometimes while running the tool on windows environment is able to pass the permission error stage (somehow and its pretty weird, only sometimes) and generates only '.prj' file but fails stating:




'not able to generate shapefile'




I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.



All the supporting packages (GDAL) and respective python versions have been properly installed (3.6.7 for QGIS 3.0+).



My system specs are as follows:



System: Macbook Pro Mid 2012 i5 El Capitan + Windows 10 Pro (Bootcamp)



How can I fix this error?










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Where are you trying to save the output snapped point file? Are you sure you have write permission to the path?

    – Keagan Allan
    Jan 22 at 23:55











  • The path is a regular folder on both Mac as well as Windows. I happen to be the sole user of my system with all administrative rights. For both systems, the path happens to be a folder on desktop.

    – Sumit Shokeen
    Jan 24 at 1:41














0












0








0








I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used):



(For OSX El Capitan):



File"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 341, in processAlgorithm
with open(prjFile, 'w') as f:
PermissionError: [Errno 13] Permission denied: '.prj'



The above error being common to Mac and Windows as well. Sometimes while running the tool on windows environment is able to pass the permission error stage (somehow and its pretty weird, only sometimes) and generates only '.prj' file but fails stating:




'not able to generate shapefile'




I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.



All the supporting packages (GDAL) and respective python versions have been properly installed (3.6.7 for QGIS 3.0+).



My system specs are as follows:



System: Macbook Pro Mid 2012 i5 El Capitan + Windows 10 Pro (Bootcamp)



How can I fix this error?










share|improve this question
















I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used):



(For OSX El Capitan):



File"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 341, in processAlgorithm
with open(prjFile, 'w') as f:
PermissionError: [Errno 13] Permission denied: '.prj'



The above error being common to Mac and Windows as well. Sometimes while running the tool on windows environment is able to pass the permission error stage (somehow and its pretty weird, only sometimes) and generates only '.prj' file but fails stating:




'not able to generate shapefile'




I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.



All the supporting packages (GDAL) and respective python versions have been properly installed (3.6.7 for QGIS 3.0+).



My system specs are as follows:



System: Macbook Pro Mid 2012 i5 El Capitan + Windows 10 Pro (Bootcamp)



How can I fix this error?







qgis error snapping prj






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 22 at 23:54









Keagan Allan

2,3381519




2,3381519










asked Jan 22 at 21:55









Sumit ShokeenSumit Shokeen

11




11





bumped to the homepage by Community 9 mins 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 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    Where are you trying to save the output snapped point file? Are you sure you have write permission to the path?

    – Keagan Allan
    Jan 22 at 23:55











  • The path is a regular folder on both Mac as well as Windows. I happen to be the sole user of my system with all administrative rights. For both systems, the path happens to be a folder on desktop.

    – Sumit Shokeen
    Jan 24 at 1:41














  • 1





    Where are you trying to save the output snapped point file? Are you sure you have write permission to the path?

    – Keagan Allan
    Jan 22 at 23:55











  • The path is a regular folder on both Mac as well as Windows. I happen to be the sole user of my system with all administrative rights. For both systems, the path happens to be a folder on desktop.

    – Sumit Shokeen
    Jan 24 at 1:41








1




1





Where are you trying to save the output snapped point file? Are you sure you have write permission to the path?

– Keagan Allan
Jan 22 at 23:55





Where are you trying to save the output snapped point file? Are you sure you have write permission to the path?

– Keagan Allan
Jan 22 at 23:55













The path is a regular folder on both Mac as well as Windows. I happen to be the sole user of my system with all administrative rights. For both systems, the path happens to be a folder on desktop.

– Sumit Shokeen
Jan 24 at 1:41





The path is a regular folder on both Mac as well as Windows. I happen to be the sole user of my system with all administrative rights. For both systems, the path happens to be a folder on desktop.

– Sumit Shokeen
Jan 24 at 1:41










1 Answer
1






active

oldest

votes


















0














The Windows Issue




I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.




That's not good. When you install QGIS from stand-alone installer, it changes some paths of enviroment variables. To install a version, you need to do a complete uninstall of the previous version, that means removing registry entries and the C:UsersYourUserAppDataRoamming and LocalQGIS (version) folders.



If you install from OSGeo4W network installer you will have only two versions of QGIS, one is from the qgis package (current version 3.4.4), and other from the qgis-ltr package (current version 2.18.28). Both versions can run fine on the same machine.



Even when many QGIS tools could work well in multiple stand-alone installs, SAGA tools are especially susceptible to errors of this type.



A possible workaround that can save you that issue at this moment, is to choose a file to save the output of the tool (directly from the GUI), instead of creating a temporary file and try to load it in qgis from there. Even reading files from the disk instead of project layers could solve it. (Try both)





Regarding the problem in Mac machines, I don't know. But I suspect that may be something similar.






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%2f309559%2fqgis-unable-to-perform-point-snapping-to-line-os-windowsmac-elcapitan%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














    The Windows Issue




    I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.




    That's not good. When you install QGIS from stand-alone installer, it changes some paths of enviroment variables. To install a version, you need to do a complete uninstall of the previous version, that means removing registry entries and the C:UsersYourUserAppDataRoamming and LocalQGIS (version) folders.



    If you install from OSGeo4W network installer you will have only two versions of QGIS, one is from the qgis package (current version 3.4.4), and other from the qgis-ltr package (current version 2.18.28). Both versions can run fine on the same machine.



    Even when many QGIS tools could work well in multiple stand-alone installs, SAGA tools are especially susceptible to errors of this type.



    A possible workaround that can save you that issue at this moment, is to choose a file to save the output of the tool (directly from the GUI), instead of creating a temporary file and try to load it in qgis from there. Even reading files from the disk instead of project layers could solve it. (Try both)





    Regarding the problem in Mac machines, I don't know. But I suspect that may be something similar.






    share|improve this answer




























      0














      The Windows Issue




      I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.




      That's not good. When you install QGIS from stand-alone installer, it changes some paths of enviroment variables. To install a version, you need to do a complete uninstall of the previous version, that means removing registry entries and the C:UsersYourUserAppDataRoamming and LocalQGIS (version) folders.



      If you install from OSGeo4W network installer you will have only two versions of QGIS, one is from the qgis package (current version 3.4.4), and other from the qgis-ltr package (current version 2.18.28). Both versions can run fine on the same machine.



      Even when many QGIS tools could work well in multiple stand-alone installs, SAGA tools are especially susceptible to errors of this type.



      A possible workaround that can save you that issue at this moment, is to choose a file to save the output of the tool (directly from the GUI), instead of creating a temporary file and try to load it in qgis from there. Even reading files from the disk instead of project layers could solve it. (Try both)





      Regarding the problem in Mac machines, I don't know. But I suspect that may be something similar.






      share|improve this answer


























        0












        0








        0







        The Windows Issue




        I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.




        That's not good. When you install QGIS from stand-alone installer, it changes some paths of enviroment variables. To install a version, you need to do a complete uninstall of the previous version, that means removing registry entries and the C:UsersYourUserAppDataRoamming and LocalQGIS (version) folders.



        If you install from OSGeo4W network installer you will have only two versions of QGIS, one is from the qgis package (current version 3.4.4), and other from the qgis-ltr package (current version 2.18.28). Both versions can run fine on the same machine.



        Even when many QGIS tools could work well in multiple stand-alone installs, SAGA tools are especially susceptible to errors of this type.



        A possible workaround that can save you that issue at this moment, is to choose a file to save the output of the tool (directly from the GUI), instead of creating a temporary file and try to load it in qgis from there. Even reading files from the disk instead of project layers could solve it. (Try both)





        Regarding the problem in Mac machines, I don't know. But I suspect that may be something similar.






        share|improve this answer













        The Windows Issue




        I have tried it on QGIS Versions: 2.18, 3.2, 3.4.3 and 3.4.4.




        That's not good. When you install QGIS from stand-alone installer, it changes some paths of enviroment variables. To install a version, you need to do a complete uninstall of the previous version, that means removing registry entries and the C:UsersYourUserAppDataRoamming and LocalQGIS (version) folders.



        If you install from OSGeo4W network installer you will have only two versions of QGIS, one is from the qgis package (current version 3.4.4), and other from the qgis-ltr package (current version 2.18.28). Both versions can run fine on the same machine.



        Even when many QGIS tools could work well in multiple stand-alone installs, SAGA tools are especially susceptible to errors of this type.



        A possible workaround that can save you that issue at this moment, is to choose a file to save the output of the tool (directly from the GUI), instead of creating a temporary file and try to load it in qgis from there. Even reading files from the disk instead of project layers could solve it. (Try both)





        Regarding the problem in Mac machines, I don't know. But I suspect that may be something similar.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 23 at 1:43









        Gabriel De LucaGabriel De Luca

        2,633215




        2,633215






























            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%2f309559%2fqgis-unable-to-perform-point-snapping-to-line-os-windowsmac-elcapitan%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

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

            is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

            Meter-Bus Содержание Параметры шины | Стандартизация |...