Nyall Dawson d0882d0f06 When auto selecting the default identifier field for a layer,
prefer something like "admin_name" over "type_name".

By penalising results with "type", "class", "cat" in their names
we are less likely to accidentally select a category field as the
friendly identifier when a better one exists.

Also add tests for this logic.
2021-02-06 10:10:51 +10:00
..
2020-11-12 07:14:46 +10:00
2020-11-12 07:14:46 +10:00
2020-11-28 05:24:54 +10:00
2020-11-12 07:14:46 +10:00
2020-09-20 06:57:20 +10:00
2021-01-14 08:09:36 +10:00
2021-01-12 06:02:57 +10:00