Skip to content

Disallow multiple layers with the same name #132

@sdruskat

Description

@sdruskat

IMHO, SLayers - in terms of how API users view them - have a single identitory feature, their name. Hence, I cannot see why Salt should allow multiple layers with the same name. I guess that most Salt users will use them in that way, i.e., have only one layer with any given name.

Therefore, it would make the layer API a lot more usable if Salt would disallow the creation of layers with a name that already exists. getLayerByName(String name) would then return only the one layer with that name.

@FlorianZipser: Is there a reason why the above assumptions are wrong?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions