[Patch] Layers merge compatibility check should be mutual
|Reported by:||Don-vip||Owned by:||team|
Description (last modified by Don-vip)
This should be a reciprocal check, as it forbids for example, with the current implementation to define its own layer class extending OsmDataLayer without having it automatically potentially be merged with another OsmDataLayer (this is something a plugin writer would not want).
Please find attached a patch that performs a mutual check.