Clipping a raster by a polygon layer: Error “Cutline is not valid after transformation”Image does not...

What does "Puller Prush Person" mean?

Is this a crack on the carbon frame?

How to say job offer in Mandarin/Cantonese?

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Writing rule which states that two causes for the same superpower is bad writing

Arthur Somervell: 1000 Exercises - Meaning of this notation

"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"

What are these boxed doors outside store fronts in New York?

Font hinting is lost in Chrome-like browsers (for some languages )

Modeling an IPv4 Address

LaTeX closing $ signs makes cursor jump

Do I have a twin with permutated remainders?

What's the point of deactivating Num Lock on login screens?

can i play a electric guitar through a bass amp?

Service Entrance Breakers Rain Shield

How does strength of boric acid solution increase in presence of salicylic acid?

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

Mathematical cryptic clues

Why Is Death Allowed In the Matrix?

How is it possible to have an ability score that is less than 3?

Why does Kotter return in Welcome Back Kotter?

The use of multiple foreign keys on same column in SQL Server

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?



Clipping a raster by a polygon layer: Error “Cutline is not valid after transformation”


Image does not display after clipping raster using ArcGIS Desktop?Rasterfile clipping error: Cannot compute bounding box of cutlineError when I try to convert Corine Land Cover 2000 tiff to shapefile in QGIS 2.10.1 or clip CLC2000 by a polygonQGIS Error clipping raster?Error in clipping raster (.bil) using vector polygon in qgisCutline without a geometry errorClipping raster by mask in QGIS?Clipping Error 1: Cutline polygon is invalidFixing invalid geometry (self intersection)Error when clipping raster with vector layer






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







2















I have a raster layer (3 cm x 3 cm) and a vector layer with polygons and when I try to clip the raster by the polygon layer to have just the bare earth/ground regions left over, so I can interpolate them afterwards, I always get the error below:



Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924 
ERROR 1: Cutline is not valid after transformation


The polygon layer was derived from the raster layer.



I am working with QGIS.












share|improve this question
















bumped to the homepage by Community 26 mins ago


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











  • 3





    Try buffering the vector layer with a buffer size of 0. Sounds weird, but helps sometimes.

    – underdark
    Nov 8 '16 at 20:22











  • Thanks for your answer, but maybe I didn't really get it: If I buffer a layer with a buffer size of 0 in the distance field, shouldn't I get an empty layer?

    – Moo
    Nov 8 '16 at 20:39











  • No. The buffer adds to the input geometry. In this case, it adds nothing but might clean up some errors.

    – underdark
    Nov 8 '16 at 20:43











  • So when I set the Fixed Distance Buffer with a distance of 0.0, it creates a new layer with no visuable data.... this is probably not the expected result?

    – Moo
    Nov 8 '16 at 20:52






  • 1





    It may mean that the source geometry has such problem with the topology that buffer operation fails.

    – user30184
    Nov 8 '16 at 21:12


















2















I have a raster layer (3 cm x 3 cm) and a vector layer with polygons and when I try to clip the raster by the polygon layer to have just the bare earth/ground regions left over, so I can interpolate them afterwards, I always get the error below:



Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924 
ERROR 1: Cutline is not valid after transformation


The polygon layer was derived from the raster layer.



I am working with QGIS.












share|improve this question
















bumped to the homepage by Community 26 mins ago


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











  • 3





    Try buffering the vector layer with a buffer size of 0. Sounds weird, but helps sometimes.

    – underdark
    Nov 8 '16 at 20:22











  • Thanks for your answer, but maybe I didn't really get it: If I buffer a layer with a buffer size of 0 in the distance field, shouldn't I get an empty layer?

    – Moo
    Nov 8 '16 at 20:39











  • No. The buffer adds to the input geometry. In this case, it adds nothing but might clean up some errors.

    – underdark
    Nov 8 '16 at 20:43











  • So when I set the Fixed Distance Buffer with a distance of 0.0, it creates a new layer with no visuable data.... this is probably not the expected result?

    – Moo
    Nov 8 '16 at 20:52






  • 1





    It may mean that the source geometry has such problem with the topology that buffer operation fails.

    – user30184
    Nov 8 '16 at 21:12














2












2








2








I have a raster layer (3 cm x 3 cm) and a vector layer with polygons and when I try to clip the raster by the polygon layer to have just the bare earth/ground regions left over, so I can interpolate them afterwards, I always get the error below:



Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924 
ERROR 1: Cutline is not valid after transformation


The polygon layer was derived from the raster layer.



I am working with QGIS.












share|improve this question
















I have a raster layer (3 cm x 3 cm) and a vector layer with polygons and when I try to clip the raster by the polygon layer to have just the bare earth/ground regions left over, so I can interpolate them afterwards, I always get the error below:



Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924 
ERROR 1: Cutline is not valid after transformation


The polygon layer was derived from the raster layer.



I am working with QGIS.









qgis polygon clip error self-intersection






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 '16 at 20:34









underdark

69.1k13178348




69.1k13178348










asked Nov 8 '16 at 20:09









MooMoo

6618




6618





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


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










  • 3





    Try buffering the vector layer with a buffer size of 0. Sounds weird, but helps sometimes.

    – underdark
    Nov 8 '16 at 20:22











  • Thanks for your answer, but maybe I didn't really get it: If I buffer a layer with a buffer size of 0 in the distance field, shouldn't I get an empty layer?

    – Moo
    Nov 8 '16 at 20:39











  • No. The buffer adds to the input geometry. In this case, it adds nothing but might clean up some errors.

    – underdark
    Nov 8 '16 at 20:43











  • So when I set the Fixed Distance Buffer with a distance of 0.0, it creates a new layer with no visuable data.... this is probably not the expected result?

    – Moo
    Nov 8 '16 at 20:52






  • 1





    It may mean that the source geometry has such problem with the topology that buffer operation fails.

    – user30184
    Nov 8 '16 at 21:12














  • 3





    Try buffering the vector layer with a buffer size of 0. Sounds weird, but helps sometimes.

    – underdark
    Nov 8 '16 at 20:22











  • Thanks for your answer, but maybe I didn't really get it: If I buffer a layer with a buffer size of 0 in the distance field, shouldn't I get an empty layer?

    – Moo
    Nov 8 '16 at 20:39











  • No. The buffer adds to the input geometry. In this case, it adds nothing but might clean up some errors.

    – underdark
    Nov 8 '16 at 20:43











  • So when I set the Fixed Distance Buffer with a distance of 0.0, it creates a new layer with no visuable data.... this is probably not the expected result?

    – Moo
    Nov 8 '16 at 20:52






  • 1





    It may mean that the source geometry has such problem with the topology that buffer operation fails.

    – user30184
    Nov 8 '16 at 21:12








3




3





Try buffering the vector layer with a buffer size of 0. Sounds weird, but helps sometimes.

– underdark
Nov 8 '16 at 20:22





Try buffering the vector layer with a buffer size of 0. Sounds weird, but helps sometimes.

– underdark
Nov 8 '16 at 20:22













Thanks for your answer, but maybe I didn't really get it: If I buffer a layer with a buffer size of 0 in the distance field, shouldn't I get an empty layer?

– Moo
Nov 8 '16 at 20:39





Thanks for your answer, but maybe I didn't really get it: If I buffer a layer with a buffer size of 0 in the distance field, shouldn't I get an empty layer?

– Moo
Nov 8 '16 at 20:39













No. The buffer adds to the input geometry. In this case, it adds nothing but might clean up some errors.

– underdark
Nov 8 '16 at 20:43





No. The buffer adds to the input geometry. In this case, it adds nothing but might clean up some errors.

– underdark
Nov 8 '16 at 20:43













So when I set the Fixed Distance Buffer with a distance of 0.0, it creates a new layer with no visuable data.... this is probably not the expected result?

– Moo
Nov 8 '16 at 20:52





So when I set the Fixed Distance Buffer with a distance of 0.0, it creates a new layer with no visuable data.... this is probably not the expected result?

– Moo
Nov 8 '16 at 20:52




1




1





It may mean that the source geometry has such problem with the topology that buffer operation fails.

– user30184
Nov 8 '16 at 21:12





It may mean that the source geometry has such problem with the topology that buffer operation fails.

– user30184
Nov 8 '16 at 21:12










1 Answer
1






active

oldest

votes


















0














I had the same problem.



I had download some rather standard data. A vectorset and a rasterset named "Danmark_2015_Regn_Sønder_Dråby".



It kept throwing a Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924
ERROR 1: Cutline is not valid after transformation



I tried zero-dist buffer, Vclean and so on.



Then I copied the files and renamed to "Raster" and "Vector".



Magic happend. It then completed in first go.






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%2f217079%2fclipping-a-raster-by-a-polygon-layer-error-cutline-is-not-valid-after-transfor%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














    I had the same problem.



    I had download some rather standard data. A vectorset and a rasterset named "Danmark_2015_Regn_Sønder_Dråby".



    It kept throwing a Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924
    ERROR 1: Cutline is not valid after transformation



    I tried zero-dist buffer, Vclean and so on.



    Then I copied the files and renamed to "Raster" and "Vector".



    Magic happend. It then completed in first go.






    share|improve this answer




























      0














      I had the same problem.



      I had download some rather standard data. A vectorset and a rasterset named "Danmark_2015_Regn_Sønder_Dråby".



      It kept throwing a Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924
      ERROR 1: Cutline is not valid after transformation



      I tried zero-dist buffer, Vclean and so on.



      Then I copied the files and renamed to "Raster" and "Vector".



      Magic happend. It then completed in first go.






      share|improve this answer


























        0












        0








        0







        I had the same problem.



        I had download some rather standard data. A vectorset and a rasterset named "Danmark_2015_Regn_Sønder_Dråby".



        It kept throwing a Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924
        ERROR 1: Cutline is not valid after transformation



        I tried zero-dist buffer, Vclean and so on.



        Then I copied the files and renamed to "Raster" and "Vector".



        Magic happend. It then completed in first go.






        share|improve this answer













        I had the same problem.



        I had download some rather standard data. A vectorset and a rasterset named "Danmark_2015_Regn_Sønder_Dråby".



        It kept throwing a Warning 1: Ring Self-intersection at or near point 571.37754947319627 322.188317745924
        ERROR 1: Cutline is not valid after transformation



        I tried zero-dist buffer, Vclean and so on.



        Then I copied the files and renamed to "Raster" and "Vector".



        Magic happend. It then completed in first go.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 23 '18 at 12:17









        MathiasMathias

        284




        284






























            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%2f217079%2fclipping-a-raster-by-a-polygon-layer-error-cutline-is-not-valid-after-transfor%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

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

            Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

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