Add spatial unit editor [#409]