#31 adds support for checking the obs count as a heuristic to determine whether multiple spatial elements are describing the same entity.
However, an alternative to hard-coding "cell"/"spot" and erroring would be to allow the user to opt-in to using a layer/element-specific obsType name, to allow rendering more layers simultaneously.
ev.config.set({ 'per_element_entity_types': True })
Alternatively, we could add a mechanism to "register" globally the coordination values that correspond to each element of a spatialdata object.
E.g., ev.register_entity_types(sdata, "blobs_shapes", { "obsType": "blob", "featureType": "feature" }) which would override the obs/featureType logic.
#31 adds support for checking the obs count as a heuristic to determine whether multiple spatial elements are describing the same entity.
However, an alternative to hard-coding "cell"/"spot" and erroring would be to allow the user to opt-in to using a layer/element-specific obsType name, to allow rendering more layers simultaneously.
ev.config.set({ 'per_element_entity_types': True })Alternatively, we could add a mechanism to "register" globally the coordination values that correspond to each element of a spatialdata object.
E.g.,
ev.register_entity_types(sdata, "blobs_shapes", { "obsType": "blob", "featureType": "feature" })which would override the obs/featureType logic.