Skip to main content
edited title
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

How to label a Labeling selection of an OSM layer in QGIS depending on certain tags?

added tag
Link
Ian Turton
  • 83.2k
  • 6
  • 89
  • 189
deleted 8 characters in body; edited title
Source Link
underdark
  • 84.5k
  • 22
  • 233
  • 415

How to label a selection of an OpenStreetMap-data-layer in QGISOSM layer depending on certain tags?

I just imported original OSM data to export a pdf-map by assigning graphic attributes to the features I need.

The label tool in QGIS 1.8 allows to select certain features, like I can do with the graphic style. But I do not know and can not find how to label a feature like ref (street-nr) of a certain tag like highway = motorway (especially if all other line elements are labeled by name).

tags LIKE '%"highway"="motorway"%'

and then? ref is a feature with an attribute in the column tags.

Another Example: Can I achieve several labeling sizes for different tags like city, town or suburb?

The old labeling menu allows only one label attribution for each layer. Can I select labeling by any attribute?

Thanks for any help and tips concerning the syntax in QGIS attribution and labeling. (The answer: "How to label features in QGIS using SQL statement?" did not help at least)

Robert

How to label a selection of an OpenStreetMap-data-layer in QGIS depending on certain tags

I just imported original OSM data to export a pdf-map by assigning graphic attributes to the features I need.

The label tool in QGIS 1.8 allows to select certain features, like I can do with the graphic style. But I do not know and can not find how to label a feature like ref (street-nr) of a certain tag like highway = motorway (especially if all other line elements are labeled by name).

tags LIKE '%"highway"="motorway"%'

and then? ref is a feature with an attribute in the column tags.

Another Example: Can I achieve several labeling sizes for different tags like city, town or suburb?

The old labeling menu allows only one label attribution for each layer. Can I select labeling by any attribute?

Thanks for any help and tips concerning the syntax in QGIS attribution and labeling. (The answer: "How to label features in QGIS using SQL statement?" did not help at least)

Robert

How to label a selection of an OSM layer depending on certain tags?

I just imported original OSM data to export a pdf-map by assigning graphic attributes to the features I need.

The label tool in QGIS 1.8 allows to select certain features, like I can do with the graphic style. But I do not know and can not find how to label a feature like ref (street-nr) of a certain tag like highway = motorway (especially if all other line elements are labeled by name).

tags LIKE '%"highway"="motorway"%'

and then? ref is a feature with an attribute in the column tags.

Another Example: Can I achieve several labeling sizes for different tags like city, town or suburb?

The old labeling menu allows only one label attribution for each layer. Can I select labeling by any attribute?

Thanks for any help and tips concerning the syntax in QGIS attribution and labeling. (The answer: "How to label features in QGIS using SQL statement?" did not help at least)

deleted 2 characters in body
Source Link
GIS-Jonathan
  • 6.8k
  • 5
  • 30
  • 58
Loading
Source Link
Loading