Making part of lines layer transparent based on circleHow to change layer transparency without changing...

Self organizing bonuses?

R or Cpp for some finance work involved complex numbers?

How can I cut a metal pipe while preserving the wires inside?

What is the purpose of the redundant "いい人" in this example sentence

Hieroglyphs numerals

How can I find out a substance name based on its structural formula?

Would a physician with migraine better treat their patients?

How can AnyDVD destroy a DVD drive?

How to verify whether function is surjective or injective

Why is it popular to teach modulus via the example of mod 12 and analogue clocks?

What does "drop" mean in this context?

Which collation should I use for biblical Hebrew?

How did Ron get five hundred Chocolate Frog cards?

Are there any rules around when something can be described as "based on a true story"?

"Dear Stack Exchange, I am very disappointed in you" - How to construct a strong opening line in a letter?

Variable fixing based on a good feasible solution

First aid scissors confiscated by Dubai airport security

Is the value of a probability density function for a given input a point, a range, or both?

What are the consequences for downstream actors of redistributing a work under a wider CC license than the copyright holder authorized?

Skewer removal without quick release

When was “sf” first used to describe science fiction?

Is it realistic that an advanced species isn't good at war?

Why is coffee provided during big chess events when it contains a banned substance?

What's the current zodiac?



Making part of lines layer transparent based on circle


How to change layer transparency without changing border lines?Changing georef backgound colourqgis2leaf exporting transparent polygons as all blackcreating a transparent layer background in QGISCreating symbology for polygon layer which has opaque outlines but transparent colored fills using ArcGIS for Desktop?Making lines curvy using QGIS?Fill Transparent to Vector LayerFill transparency of custom SVG symbolHow do I make my raster layer transparent where there is no data?Identifying overlapping lines within layer






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








3

















I have lines from a centerpoint going outwards at 10 degree intervals. I want to make the inner portion within the black circle of those lines transparent (25%). How can I do this?



enter image description here










share|improve this question









New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























  • How are your data structured ? Do u have an ID for each line ?

    – snaileater
    8 hours ago











  • hello, each line was on a different layer, i combined them all in 1 layer. can i add an ID using the attribute Table?

    – SSR2000
    8 hours ago











  • Could inner segments be detached from the outer ones?

    – Rodrigo Vargas
    6 hours ago











  • no they are lines from the center point outwards for a fixed distance, all of them.

    – SSR2000
    5 hours ago


















3

















I have lines from a centerpoint going outwards at 10 degree intervals. I want to make the inner portion within the black circle of those lines transparent (25%). How can I do this?



enter image description here










share|improve this question









New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























  • How are your data structured ? Do u have an ID for each line ?

    – snaileater
    8 hours ago











  • hello, each line was on a different layer, i combined them all in 1 layer. can i add an ID using the attribute Table?

    – SSR2000
    8 hours ago











  • Could inner segments be detached from the outer ones?

    – Rodrigo Vargas
    6 hours ago











  • no they are lines from the center point outwards for a fixed distance, all of them.

    – SSR2000
    5 hours ago














3












3








3








I have lines from a centerpoint going outwards at 10 degree intervals. I want to make the inner portion within the black circle of those lines transparent (25%). How can I do this?



enter image description here










share|improve this question









New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have lines from a centerpoint going outwards at 10 degree intervals. I want to make the inner portion within the black circle of those lines transparent (25%). How can I do this?



enter image description here







qgis symbology






share|improve this question









New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question



share|improve this question








edited 6 hours ago









MrXsquared

3,9241 gold badge12 silver badges26 bronze badges




3,9241 gold badge12 silver badges26 bronze badges






New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 9 hours ago









SSR2000SSR2000

162 bronze badges




162 bronze badges




New contributor



SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




SSR2000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • How are your data structured ? Do u have an ID for each line ?

    – snaileater
    8 hours ago











  • hello, each line was on a different layer, i combined them all in 1 layer. can i add an ID using the attribute Table?

    – SSR2000
    8 hours ago











  • Could inner segments be detached from the outer ones?

    – Rodrigo Vargas
    6 hours ago











  • no they are lines from the center point outwards for a fixed distance, all of them.

    – SSR2000
    5 hours ago



















  • How are your data structured ? Do u have an ID for each line ?

    – snaileater
    8 hours ago











  • hello, each line was on a different layer, i combined them all in 1 layer. can i add an ID using the attribute Table?

    – SSR2000
    8 hours ago











  • Could inner segments be detached from the outer ones?

    – Rodrigo Vargas
    6 hours ago











  • no they are lines from the center point outwards for a fixed distance, all of them.

    – SSR2000
    5 hours ago

















How are your data structured ? Do u have an ID for each line ?

– snaileater
8 hours ago





How are your data structured ? Do u have an ID for each line ?

– snaileater
8 hours ago













hello, each line was on a different layer, i combined them all in 1 layer. can i add an ID using the attribute Table?

– SSR2000
8 hours ago





hello, each line was on a different layer, i combined them all in 1 layer. can i add an ID using the attribute Table?

– SSR2000
8 hours ago













Could inner segments be detached from the outer ones?

– Rodrigo Vargas
6 hours ago





Could inner segments be detached from the outer ones?

– Rodrigo Vargas
6 hours ago













no they are lines from the center point outwards for a fixed distance, all of them.

– SSR2000
5 hours ago





no they are lines from the center point outwards for a fixed distance, all of them.

– SSR2000
5 hours ago










1 Answer
1






active

oldest

votes


















2


















I would try layered Geometry generator lines for this.



Open the layer properties of your line layer (radial_spokes in this example) and create two stacked Geometry generators (by hitting green 'plus' button at the upper right corner).



enter image description here



(1) Make the first geometry generator layer for lines Within the circle by:



intersection($geometry, geometry(get_feature_by_id('circle', 1)))


(
if the layername of your circle is 'circle' and your circle has an id = 1).



(2) Then set opacity (transparency) to 25% (or 75%?) for this part.



enter image description here



(3) Next, make the second geometry generator for lines outside of the circle by:



difference($geometry, geometry(get_feature_by_id('circle', 1)))


(The color for the lines outside of the circle is kept unchanged).






share|improve this answer



























  • hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

    – SSR2000
    5 hours ago






  • 1





    @SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

    – Kazuhito
    5 hours ago






  • 1





    @SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

    – Kazuhito
    5 hours ago















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/4.0/"u003ecc by-sa 4.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
});


}
});







SSR2000 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded
















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f337859%2fmaking-part-of-lines-layer-transparent-based-on-circle%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









2


















I would try layered Geometry generator lines for this.



Open the layer properties of your line layer (radial_spokes in this example) and create two stacked Geometry generators (by hitting green 'plus' button at the upper right corner).



enter image description here



(1) Make the first geometry generator layer for lines Within the circle by:



intersection($geometry, geometry(get_feature_by_id('circle', 1)))


(
if the layername of your circle is 'circle' and your circle has an id = 1).



(2) Then set opacity (transparency) to 25% (or 75%?) for this part.



enter image description here



(3) Next, make the second geometry generator for lines outside of the circle by:



difference($geometry, geometry(get_feature_by_id('circle', 1)))


(The color for the lines outside of the circle is kept unchanged).






share|improve this answer



























  • hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

    – SSR2000
    5 hours ago






  • 1





    @SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

    – Kazuhito
    5 hours ago






  • 1





    @SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

    – Kazuhito
    5 hours ago


















2


















I would try layered Geometry generator lines for this.



Open the layer properties of your line layer (radial_spokes in this example) and create two stacked Geometry generators (by hitting green 'plus' button at the upper right corner).



enter image description here



(1) Make the first geometry generator layer for lines Within the circle by:



intersection($geometry, geometry(get_feature_by_id('circle', 1)))


(
if the layername of your circle is 'circle' and your circle has an id = 1).



(2) Then set opacity (transparency) to 25% (or 75%?) for this part.



enter image description here



(3) Next, make the second geometry generator for lines outside of the circle by:



difference($geometry, geometry(get_feature_by_id('circle', 1)))


(The color for the lines outside of the circle is kept unchanged).






share|improve this answer



























  • hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

    – SSR2000
    5 hours ago






  • 1





    @SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

    – Kazuhito
    5 hours ago






  • 1





    @SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

    – Kazuhito
    5 hours ago
















2














2










2









I would try layered Geometry generator lines for this.



Open the layer properties of your line layer (radial_spokes in this example) and create two stacked Geometry generators (by hitting green 'plus' button at the upper right corner).



enter image description here



(1) Make the first geometry generator layer for lines Within the circle by:



intersection($geometry, geometry(get_feature_by_id('circle', 1)))


(
if the layername of your circle is 'circle' and your circle has an id = 1).



(2) Then set opacity (transparency) to 25% (or 75%?) for this part.



enter image description here



(3) Next, make the second geometry generator for lines outside of the circle by:



difference($geometry, geometry(get_feature_by_id('circle', 1)))


(The color for the lines outside of the circle is kept unchanged).






share|improve this answer














I would try layered Geometry generator lines for this.



Open the layer properties of your line layer (radial_spokes in this example) and create two stacked Geometry generators (by hitting green 'plus' button at the upper right corner).



enter image description here



(1) Make the first geometry generator layer for lines Within the circle by:



intersection($geometry, geometry(get_feature_by_id('circle', 1)))


(
if the layername of your circle is 'circle' and your circle has an id = 1).



(2) Then set opacity (transparency) to 25% (or 75%?) for this part.



enter image description here



(3) Next, make the second geometry generator for lines outside of the circle by:



difference($geometry, geometry(get_feature_by_id('circle', 1)))


(The color for the lines outside of the circle is kept unchanged).







share|improve this answer













share|improve this answer




share|improve this answer



share|improve this answer










answered 6 hours ago









KazuhitoKazuhito

18.5k4 gold badges26 silver badges95 bronze badges




18.5k4 gold badges26 silver badges95 bronze badges
















  • hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

    – SSR2000
    5 hours ago






  • 1





    @SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

    – Kazuhito
    5 hours ago






  • 1





    @SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

    – Kazuhito
    5 hours ago





















  • hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

    – SSR2000
    5 hours ago






  • 1





    @SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

    – Kazuhito
    5 hours ago






  • 1





    @SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

    – Kazuhito
    5 hours ago



















hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

– SSR2000
5 hours ago





hi, thanks for your answer, this created a new black colored layer on top of it. i must add the circle is a polygon with fill set to full transparent and the border is visible, that is what is creating the circle. the spokes were each on 1 different line layer, i managed to merge the spoke lines into 1 layer. but i cannot merge the circle and the lines layers.

– SSR2000
5 hours ago




1




1





@SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

– Kazuhito
5 hours ago





@SSR2000 Can you add an image to explain what is happening? As you see it on my example, the lines and circle layers are separated. You do not have to merge them.

– Kazuhito
5 hours ago




1




1





@SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

– Kazuhito
5 hours ago







@SSR2000 Have you changed the syntax to fit your data? For instance 'circle' should be the layername of your circle.

– Kazuhito
5 hours ago













SSR2000 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded

















SSR2000 is a new contributor. Be nice, and check out our Code of Conduct.













SSR2000 is a new contributor. Be nice, and check out our Code of Conduct.












SSR2000 is a new contributor. Be nice, and check out our Code of Conduct.
















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%2f337859%2fmaking-part-of-lines-layer-transparent-based-on-circle%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

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...