Spatial referencing system