raster/vector layer type restriction