Making part of lines layer transparent based on circleHow 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
How can organize the disordered columns using awk/sed?
How can I cut a metal pipe while preserving the wires inside?
How should I tell a professor the answer to something he doesn't know?
What is the fastest algorithm for finding the natural logarithm of a big number?
Proofreading a novel: is it okay to use a question mark with an exclamation mark - "?!"
How safe is using non-RoHS parts?
Is Having my Players Control Two Parties a Good Idea?
How to respond when insulted by a grad student in a different department?
Can digital computers understand infinity?
What does "drop" mean in this context?
What is the German word for: "It only works when I try to show you how it does not work"?
Does my code handle negative numbers or zero when summing squared digits?
How to protect my Wi-Fi password from being displayed by Android phones when sharing it with QR code?
An idiomatic word for "very little" in this context?
Do you say "good game" after a game in which your opponent played poorly?
Making part of lines layer transparent based on circle
What is the type of this light bulb?
Can I hide one of my siamese twins heads in public?
Why are Starfleet vessels designed with nacelles so far away from the hull?
Why is it popular to teach modulus via the example of mod 12 and analogue clocks?
How did Ron get five hundred Chocolate Frog cards?
Is it true that if we start a sentence with 'the', this 'the' can be omitted?
What is the word for things that work even when they aren't working (e.g. escalators)?
Giving a character trauma but not "diagnosing" her?
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;
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?
qgis symbology
New contributor
add a comment
|
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?
qgis symbology
New contributor
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
7 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
add a comment
|
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?
qgis symbology
New contributor
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?
qgis symbology
qgis symbology
New contributor
New contributor
edited 5 hours ago
MrXsquared
3,9241 gold badge12 silver badges26 bronze badges
3,9241 gold badge12 silver badges26 bronze badges
New contributor
asked 8 hours ago
SSR2000SSR2000
162 bronze badges
162 bronze badges
New contributor
New contributor
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
7 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
add a comment
|
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
7 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
7 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
7 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
add a comment
|
1 Answer
1
active
oldest
votes
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).
(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.
(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).
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
4 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
4 hours ago
1
@SSR2000 Have you changed the syntax to fit your data? For instance'circle'
should be the layername of your circle.
– Kazuhito
4 hours ago
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/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.
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%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
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).
(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.
(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).
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
4 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
4 hours ago
1
@SSR2000 Have you changed the syntax to fit your data? For instance'circle'
should be the layername of your circle.
– Kazuhito
4 hours ago
add a comment
|
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).
(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.
(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).
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
4 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
4 hours ago
1
@SSR2000 Have you changed the syntax to fit your data? For instance'circle'
should be the layername of your circle.
– Kazuhito
4 hours ago
add a comment
|
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).
(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.
(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).
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).
(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.
(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).
answered 5 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
4 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
4 hours ago
1
@SSR2000 Have you changed the syntax to fit your data? For instance'circle'
should be the layername of your circle.
– Kazuhito
4 hours ago
add a comment
|
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
4 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
4 hours ago
1
@SSR2000 Have you changed the syntax to fit your data? For instance'circle'
should be the layername of your circle.
– Kazuhito
4 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
4 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
4 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
4 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
4 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
4 hours ago
@SSR2000 Have you changed the syntax to fit your data? For instance
'circle'
should be the layername of your circle.– Kazuhito
4 hours ago
add a comment
|
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.
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.
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%2f337859%2fmaking-part-of-lines-layer-transparent-based-on-circle%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
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
7 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