Copying fields from one layer to another in QGISHow to copy features from a vector layer to another vector layer with only correspondent attributes in QGISHow to recover deleted data from an edited point layer?Make a Qgis layer update from a changed data sourceMaking combobox with list of fields (from layer also selected in combobox) in pyQGIS?Is it possible to create a virtual layer based upon virtual (geometry) fields of another layer ?How to create a new attribute indicating which polygon from another layer contains each polygon on a layerQGIS coloring layers with same coloursMerging layers into one- QGISAutomatically select a feature from another layer based on shared attribute in QGISShowing two sets of points from two different fields in QGIS?

nginx serves wrong domain site. It doenst shows default site if no configuration applies

Find the wrong number in the given series: 6, 12, 21, 36, 56, 81?

Why doesn't the Lars family (and thus Luke) speak Huttese as their first language?

Too many spies!

Is it rude to tell recruiters I would only change jobs for a better salary?

Professor falsely accusing me of cheating in a class he does not teach, two months after end of the class. What precautions should I take?

How does one stock fund's charge of 1% more in operating expenses than another fund lower expected returns by 10%?

Doing research in academia and not liking competition

How to repair a laptop's screen hinges?

Construct a pentagon avoiding compass use

Why the term 'unified' in "unified mass unit"?

Can I intentionally omit previous work experience or pretend it doesn't exist when applying for jobs?

Installing ubuntu with HD + SSD

Metric version of "footage"?

Dropping outliers based on "2.5 times the RMSE"

Why does Hellboy file down his horns?

Alternatives to using writing paper for writing practice

I quit, and boss offered me 3 month "grace period" where I could still come back

Is this floating-point optimization allowed?

Create dashed intersections with labels using pgfplots and tikz

Is purchasing foreign currency before going abroad a losing proposition?

What does "Fotze" really mean?

Are there any double stars that I can actually see orbit each other?

Hacker Rank : Electronics Shop



Copying fields from one layer to another in QGIS


How to copy features from a vector layer to another vector layer with only correspondent attributes in QGISHow to recover deleted data from an edited point layer?Make a Qgis layer update from a changed data sourceMaking combobox with list of fields (from layer also selected in combobox) in pyQGIS?Is it possible to create a virtual layer based upon virtual (geometry) fields of another layer ?How to create a new attribute indicating which polygon from another layer contains each polygon on a layerQGIS coloring layers with same coloursMerging layers into one- QGISAutomatically select a feature from another layer based on shared attribute in QGISShowing two sets of points from two different fields in QGIS?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values:



  1. The first shapefile one I created with 12 fields (columns).

  2. To create the second, I duplicated the first one.

  3. Unchecked the first one to guarantee its safe.

  4. In the attribute table, deleted all the points of the second since
    the only thing important here is to keep the fields titles.

  5. Start to map new points with its new attributes.

After click on save layer edits, all my points on the first layer are gone. I can not understand why the points and data on the first layer are being deleted.










share|improve this question



















  • 8





    Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk, you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> export as new shapefile.

    – ahmadhanb
    Jul 5 at 6:23






  • 1





    @ahmadhanb please make this an answer so it can be accepted and upvoted

    – Ian Turton
    Jul 5 at 7:43











  • @IanTurton Thank you very much. The comment was added as an answer.

    – ahmadhanb
    Jul 5 at 8:50

















1















I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values:



  1. The first shapefile one I created with 12 fields (columns).

  2. To create the second, I duplicated the first one.

  3. Unchecked the first one to guarantee its safe.

  4. In the attribute table, deleted all the points of the second since
    the only thing important here is to keep the fields titles.

  5. Start to map new points with its new attributes.

After click on save layer edits, all my points on the first layer are gone. I can not understand why the points and data on the first layer are being deleted.










share|improve this question



















  • 8





    Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk, you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> export as new shapefile.

    – ahmadhanb
    Jul 5 at 6:23






  • 1





    @ahmadhanb please make this an answer so it can be accepted and upvoted

    – Ian Turton
    Jul 5 at 7:43











  • @IanTurton Thank you very much. The comment was added as an answer.

    – ahmadhanb
    Jul 5 at 8:50













1












1








1








I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values:



  1. The first shapefile one I created with 12 fields (columns).

  2. To create the second, I duplicated the first one.

  3. Unchecked the first one to guarantee its safe.

  4. In the attribute table, deleted all the points of the second since
    the only thing important here is to keep the fields titles.

  5. Start to map new points with its new attributes.

After click on save layer edits, all my points on the first layer are gone. I can not understand why the points and data on the first layer are being deleted.










share|improve this question
















I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values:



  1. The first shapefile one I created with 12 fields (columns).

  2. To create the second, I duplicated the first one.

  3. Unchecked the first one to guarantee its safe.

  4. In the attribute table, deleted all the points of the second since
    the only thing important here is to keep the fields titles.

  5. Start to map new points with its new attributes.

After click on save layer edits, all my points on the first layer are gone. I can not understand why the points and data on the first layer are being deleted.







qgis shapefile layers






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 5 at 11:24









ahmadhanb

25.2k3 gold badges22 silver badges59 bronze badges




25.2k3 gold badges22 silver badges59 bronze badges










asked Jul 5 at 6:17









VinicivsVinicivs

132 bronze badges




132 bronze badges







  • 8





    Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk, you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> export as new shapefile.

    – ahmadhanb
    Jul 5 at 6:23






  • 1





    @ahmadhanb please make this an answer so it can be accepted and upvoted

    – Ian Turton
    Jul 5 at 7:43











  • @IanTurton Thank you very much. The comment was added as an answer.

    – ahmadhanb
    Jul 5 at 8:50












  • 8





    Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk, you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> export as new shapefile.

    – ahmadhanb
    Jul 5 at 6:23






  • 1





    @ahmadhanb please make this an answer so it can be accepted and upvoted

    – Ian Turton
    Jul 5 at 7:43











  • @IanTurton Thank you very much. The comment was added as an answer.

    – ahmadhanb
    Jul 5 at 8:50







8




8





Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk, you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> export as new shapefile.

– ahmadhanb
Jul 5 at 6:23





Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk, you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> export as new shapefile.

– ahmadhanb
Jul 5 at 6:23




1




1





@ahmadhanb please make this an answer so it can be accepted and upvoted

– Ian Turton
Jul 5 at 7:43





@ahmadhanb please make this an answer so it can be accepted and upvoted

– Ian Turton
Jul 5 at 7:43













@IanTurton Thank you very much. The comment was added as an answer.

– ahmadhanb
Jul 5 at 8:50





@IanTurton Thank you very much. The comment was added as an answer.

– ahmadhanb
Jul 5 at 8:50










1 Answer
1






active

oldest

votes


















4














Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk (HDD), you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> Export -> Save feature as and create a new shapefile.



Before exporting to a new shapefile, you can uncheck the fields that you do not need and check the fields the you want to keep in the new shapefile



enter image description here






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%2f327889%2fcopying-fields-from-one-layer-to-another-in-qgis%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









    4














    Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk (HDD), you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> Export -> Save feature as and create a new shapefile.



    Before exporting to a new shapefile, you can uncheck the fields that you do not need and check the fields the you want to keep in the new shapefile



    enter image description here






    share|improve this answer



























      4














      Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk (HDD), you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> Export -> Save feature as and create a new shapefile.



      Before exporting to a new shapefile, you can uncheck the fields that you do not need and check the fields the you want to keep in the new shapefile



      enter image description here






      share|improve this answer

























        4












        4








        4







        Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk (HDD), you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> Export -> Save feature as and create a new shapefile.



        Before exporting to a new shapefile, you can uncheck the fields that you do not need and check the fields the you want to keep in the new shapefile



        enter image description here






        share|improve this answer













        Duplicating the layer in QGIS Canvas does not mean creating a new shapefile in your hard disk (HDD), you are still referencing to the same shapefile in your HDD. To create a new shapefile you need to right-click -> Export -> Save feature as and create a new shapefile.



        Before exporting to a new shapefile, you can uncheck the fields that you do not need and check the fields the you want to keep in the new shapefile



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 5 at 8:49









        ahmadhanbahmadhanb

        25.2k3 gold badges22 silver badges59 bronze badges




        25.2k3 gold badges22 silver badges59 bronze badges



























            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%2f327889%2fcopying-fields-from-one-layer-to-another-in-qgis%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

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?