-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Polygon Layer - Color is wrong and cannot be changed #57861
Comments
Could you confirm you use the right tool to create the polygon ? Create annotation polygon is a completly different tool which will not add a polygon entity to your shapefile layer. Otherwise, I do not understand what you try to achieve. |
Apparently I am using the wrong one. But, the icon you are showing is not on my system. |
Okay I figured it out. Thank you! |
While that worked, I cannot remove the original layer. It does not show up in the panel as a layer, but is being displayed on the map. |
I was using the wrong icon to create the shape.
Once I clicked on the pencil, I was able to see the proper icon to use.
The only problem I had was the original shape I
created is not in the layer panel, but shows up
on the map. Cannot figure out how to remove it. I
have checked all the file directories, and
searched the disk drive. But, still cannot find it.
Michael
At 10:29 AM 6/24/2024, you wrote:
…Could you confirm you use the right tool to create the polygon ?
<https://github.com/qgis/QGIS/assets/39594821/89468906-1e50-4b24-8419-e8a9e8558124>image.png
(view on web)
Create annotation polygon is a completly
different tool which will not add a polygon entity to your shapefile layer.
See doc about annotation layer :
<https://docs.qgis.org/3.34/en/docs/user_manual/map_views/map_view.html#annotation-tools>https://docs.qgis.org/3.34/en/docs/user_manual/map_views/map_view.html#annotation-tools
Reply to this email directly,
<#57861 (comment)>view
it on GitHub, or
<https://github.com/notifications/unsubscribe-auth/BJNH3RJ25ZAG2NQZFXA7R6DZJAUL3AVCNFSM6AAAAABJZ52FK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWG4YTQOJSG4>unsubscribe.
You are receiving this because you authored the
thread.Message ID: ***@***.***>
|
@michaelc12143, please read the user guide at https://docs.qgis.org/3.34/en/docs/user_manual/map_views/map_view.html#annotation-tools |
What is the bug or the crash?
I create a new layer for a polygon to create a lake on a map. Create the lake, but cannot apply the color (in this case #4baffb). Instead it comes up with a random color. Once in a great while I get the correct color. Once the layer is completed, I cannot go back later and correct the color. The original random color is permanent.
Steps to reproduce the issue
Desktop running Windows 10
QGIS version is 3.36.3
Open Layer Panel on left side of screen (View > Panels > Layers)
Add Annotations to Toolbar (View > Toolbars > Annotations Toolbar)
In Layer Panel - Move cursor to one of the existing waterbodies and Click Once
Create Layer (Layer > Create Layer > New Shapefile Layer>
File Name (enter lake name)
Geometry Type (Polygon)
New Field (Name=name, Type=Text String, Length=”30” > Click Add toField List
New Field (Name=location, Type=Text String, Length=30 > Click Add Field
Click OK
Double Click on new lake in Layer Panel
Change Color to #4baffb
Click Apply & OK
On the Annotations Toolbar Click on 'Create Polygon Annotation' icon
Create Lake
Once lake is created, right click and apply color
Problem #1: Most of the time you get a random color like green, purple, red, etc. Once in a great while, you get the correct color.
Problem #2: If you click on the layer I just created, the correct color (#4bafb) comes up, but if you try to apply the color, it will not change it. Cannot find a work-around to change the color.
Note: The color of older shape files of lakes created under 3.22 can be changed under 3.36.3. Just not new shape files created under 3.36.3
Could not find a work-around for these two problems.
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Active Python plugins
QuickOSM
2.1.1
quick_map_services
0.19.32
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: