1

I'm trying to create a shapefile I can use as a template for a breeding bird survey. The basic gist was that each species has a two letter code and a colour depending on the BTO listing. Each bird is either red, amber or green. There would then be extra markers to say whether the bird was singing or calling etc. So, I set up an attribute table with a column labelled "BTO Code" and "Behaviour"

I then went ahead and set it up so that when you typed a species code into that column, it would set the point marker as those letters coloured either green, amber or red. At first it was working, I kept testing it as I went along and the points were showing up fine on the map. The markers for singing/calling were working fine too. Below is what shapefile and my rules looked like:

enter image description here

enter image description here

Well, I just finished adding the last few species, clicked apply and ALL my points disappeared. Now when I try to add a species, they appear in the attribute table but not the map!

I'm at a loss. This is my second attempt at creating this shapefile/styling and the same thing happened last time, last time I assumed it was something I had done wrong, and couldn't for the life of me figure out what it was so I just started again. I really don't have the will to do this all over again! I'm at my wits end. Please can someone with a bit more knowledge than me shed some light on why it would suddenly stop working when I've done everything right in the code?

All I can think is that there may be a limit to how many rules you can set when using rule-based styling? There are a lot of birds! I've looked online though and can't find anything regarding a limit to how many rules you can set.

  • Sorry I forgot to mention this is in QGIS! – MysticWolf23 Jan 21 at 11:47
  • Welcome to gis.SE! Please take the tour and find out how to write good questions. Please give further information on your expressions and include screenshots. – Stefan Jan 21 at 11:53
  • I have added screenshots showing expressions and what the styling did look like before they all disappeared – MysticWolf23 Jan 21 at 11:59
  • You could try to only create the behavioural rules and then refine these using a classification based on the species. – Erik Jan 21 at 12:02
  • And save the style once in a while. – Stefan Jan 21 at 12:03

Your Answer

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

Browse other questions tagged or ask your own question.