Functions to manage SpatialParameter