2

enter image description here

I am encountering an issue with QGIS where the options for Labels, Symbology, and Masks are not appearing or accessible. This problem is preventing me from properly labeling and styling my map layers, as well as applying other techniques.

How can I resolve this issue?

8
  • 5
    The "pop_vector_origin_only" layer seems to be an attribute layer without geometries. It is normal that you cannot define styles for such layers. Do you have the same issue with other layers, like "USA_Counties"?
    – user30184
    Commented May 26 at 15:31
  • Whenever I add a vector using the 'Delimited Text' option, I am unable to use labels, symbology, or masks.
    – Lazy
    Commented May 26 at 15:37
  • For example, I use the 'Delimited Text' option. docs.google.com/document/d/…
    – Lazy
    Commented May 26 at 15:44
  • 2
    Do you have geometries in your CSV? Could you show one row as an example?
    – user30184
    Commented May 26 at 15:47
  • 1
    Labels and symbology are connected to geometries. Perhaps you want to join the county names etc. to the vector layer that contains the corresponding geometries? See qgistutorials.com/en/docs/performing_table_joins.html.
    – user30184
    Commented May 26 at 16:30

1 Answer 1

8

It is not possible to configure labels or rendering styles for the non-spatial tables https://docs.qgis.org/3.34/en/docs/user_manual/working_with_vector/attribute_table.html#foreword-spatial-and-non-spatial-tables. Because the featured are without geometries, there is nothing to show on the map so this limitation in not surprising.

With these CSV files it is possible to test the QGIS user interface

wkt.csv
=======
WKT,PLACE_NAME
"POINT (0 0)","Null Island"

attribute.csv
=============
PLACE_NAME
"Null Island"

When layers are added to QGIS the wkt layer appears as a point layer, and the attribute layer appears as a non-spatial layer.

enter image description here

For the non-spatial layer it is not possible to define styles.

enter image description here

For the imported point layer it is possible to define styles, and QGIS creates the default styles automatically.

enter image description here

You wrote:

The data file does not contain geometry; it consists only of column vectors, such as county names, state names, state fips, etc.

You have a non-spatial layer so you cannot apply styles or labels into it.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.