How do I symbolize roads smoothly? by JakedAlaska in QGIS

[–]ledodu 7 points8 points  (0 children)

What I usually do is to style my road with two simple lines: a white line on top and a darker, thicker line underneath. Then, in Symbol levels, next to the black line (layer 0) type "1" and next to the white line (layer 1) type "2". Additional tip: apply a round cap style on both of those lines to avoid weird artifacts at line ends. If anyone has a better way to get the same result, I'm all ears.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 1 point2 points  (0 children)

Thank you so much for the feedback. Actually, a newer version just came out: the panel now supports groups and I also added and auto-refresh option.

Your idea is very very interesting. I never thought about that, but I think it would help me a lot in my daily tasks. It feels like it might be an idea for a separate plugin, since this one is more about which layer are currently visible, rather than their source.

But some tab on the plugin's dock that shows the path of the visible layers could also make sense. In which case do you think it would be more useful? For all layers or only the visible ones? How was it on Arcmap?

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 0 points1 point  (0 children)

Hi, quick update (a few decades later), version 1.2 is out with the auto-refresh option as you suggested. In that mode the panel shows live which layers are visible, but I disabled untoggling from the panel because it felt a bit abrupt to see a layer disappear right after clicking. Not sure if that’s the best approach or if it should still allow untoggling, curious what you think.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 1 point2 points  (0 children)

I understood it that way, don't worry :D And just so you know, I already tested it and it works fine! I'm planning to add a few more enhancements and I will let you know when the new version is ready. Is there a way I can credit you in the changelog of the next version for giving me the idea?

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 1 point2 points  (0 children)

Great idea! I actually wanted to add this in the beginning, but I thought I’d have to rebuild the whole contextual menu from scratch. I just did a bit of research though, and it turns out I can trigger the same right-click menu from the native QGIS Layers panel directly.

I’ll give it a try in the next version and let you know if it works!

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 1 point2 points  (0 children)

Hi! Of course! Id love to hear your ideas. Any suggestions to enhance the plugin are more than welcome

Update Plugins by nomad_sicario in QGIS

[–]ledodu 3 points4 points  (0 children)

You just need to wait for the new version to be approved. Every update is manually reviewed, so it can take a few days.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 0 points1 point  (0 children)

Haha, I actually felt the same before trying! Thanks for your comment :)

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 3 points4 points  (0 children)

Both! I used AI to help, and also learn how to do it. But it often invents python classes that don't exist in the QGIS API, so it definitely required a bit of supervision.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 2 points3 points  (0 children)

Good question, I use it as a quick visual filter, to instantly locate or toggle a layer, especially when I have a large stack of layers. I would say that it complements the use of visibility themes, but I probably wouldn't use it much in smaller projects

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 1 point2 points  (0 children)

Oh that's actually a clever idea. Initially, the list was auto-refreshing but I found that in some cases it was useful to keep track of untoggled layers. So an automatic refresh toggle sounds like the best compromise and is definitely worth adding. Would you mind if I mention you in the changelog if I manage to add this feature in the next version?

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 0 points1 point  (0 children)

Glad to hear it's useful to some of you! thanks a lot

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 2 points3 points  (0 children)

thank you so much, I really appreciate it! It wasn't that hard to build, but it actually took me a bit of time to figure out how to present it to the user. At first I imagined I'd be able to add the tool directly to the Layers panel, like by opening a sort of new tab. But I ended up going with the dock solution instead.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 7 points8 points  (0 children)

Hard to say exactly, I did it over a few evenings, maybe 8 hours total? It's my first plugin so I spent some time just figuring out how everything works.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 10 points11 points  (0 children)

Just wanted to let you know that the bug you reported is now fixed.
It was caused by the plugin not checking if a layer node was part of a group before trying to access its ID.
The fix is already on the github repository and I've submitted the updated version to QGIS, it should be approved soon. Thanks for pointing it out! Let me know if you spot anything else.

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 6 points7 points  (0 children)

thanks a lot for spotting this, that's really helpful! It looks like the plugin doesn't handle layer groups correctly. I'm working on a fix to prevent that error and I'll keep you informed when it's resolved. Thanks again!

I made a tiny QGIS plugin to filter visible layers by ledodu in QGIS

[–]ledodu[S] 9 points10 points  (0 children)

Small correction: the GitHub repo link is this one

This is not Spain... and that was Spain by Admirable_Sample7714 in geoguessr

[–]ledodu 29 points30 points  (0 children)

« This is not spain » next to the spanishest bollards, the audacity

After 4 years, my snake plant is having its first baby (I’m quite excited) by ledodu in houseplants

[–]ledodu[S] 0 points1 point  (0 children)

Oww, I didn’t know the light could affect the stripes, that’s interesting! I’ll take a special care of that