How do I create a symbol on qgis that has a number assigned to it? I am trying to make a square symbol with a number inside. everytime I place the marker I would like it to ask me what the number is everytime so I can place specific number symbols in different areas on my map. Anybody know how to do this?

  • I created a new layer with a symbol and added a new field called type. then on the label tab I tied it to that type field but nothing shows up when I try to plot it. – bazzi Jul 23 '18 at 19:04

You can actually do this through symbology rather than a mixed symbology-label style as you suggest in your comment above.

  1. Make sure the field that contains the relevant number you want displayed is a string type, it won't work otherwise.
  2. Symbolise your point layer with your square background
  3. Add a new symbol layer above the square - set the symbology type to "Font Marker"

enter image description here

  1. Rather than setting a particular font marker, set the data defined override to equal the field that contains your marker - format as required

enter image description here

To get it to ask you what the number is each time you digitise a feature you need to turn on the attribute form popup for your layer. You can do this through Properties -> Fields. Then when you're editing the layer, every time you digitise a new point it will produce an input box to allow you to edit the field and will automatically display this on the map.

enter image description here

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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