Clipping a raster by a polygon layer: Error “Cutline is not valid after transformation” The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)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
Do working physicists consider Newtonian mechanics to be "falsified"?
Why did Peik Lin say, "I'm not an animal"?
Word to describe a time interval
How to type a long/em dash `—`
Circular reasoning in L'Hopital's rule
Didn't get enough time to take a Coding Test - what to do now?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?
Keeping a retro style to sci-fi spaceships?
How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?
What's the point in a preamp?
How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?
How did passengers keep warm on sail ships?
Can withdrawing asylum be illegal?
Intergalactic human space ship encounters another ship, character gets shunted off beyond known universe, reality starts collapsing
Why doesn't a hydraulic lever violate conservation of energy?
Does Parliament hold absolute power in the UK?
Why are PDP-7-style microprogrammed instructions out of vogue?
What do I do when my TA workload is more than expected?
Sort list of array linked objects by keys and values
Could an empire control the whole planet with today's comunication methods?
Is an up-to-date browser secure on an out-of-date OS?
Simulating Exploding Dice
How do you keep chess fun when your opponent constantly beats you?
Clipping a raster by a polygon layer: Error “Cutline is not valid after transformation”
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)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;
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
|
show 2 more comments
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
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
|
show 2 more comments
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
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
qgis polygon clip error self-intersection
edited Nov 8 '16 at 20:34
underdark♦
69.2k13178348
69.2k13178348
asked Nov 8 '16 at 20:09
MooMoo
6618
6618
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
|
show 2 more comments
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
|
show 2 more comments
1 Answer
1
active
oldest
votes
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.
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%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
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.
add a comment |
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.
add a comment |
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.
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.
answered Jun 23 '18 at 12:17
MathiasMathias
284
284
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%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
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
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