geoscript-groovy icon indicating copy to clipboard operation
geoscript-groovy copied to clipboard

Layer name [QUESTION]

Open ebocher opened this issue 2 years ago • 1 comments

The getName() method returns the name of the feature datasource instead of the name of the layer. Usually the layer name is independent of the data source. There may be a modeling problem with geoscript. Because a layer is not an abstraction of a data source (Feature or Raster) but directly linked to a FeatureSource.

ebocher avatar Sep 05 '22 12:09 ebocher

To share a pratical example , if we use the name of the datasource as the name of the layer, if we display the legend for two layers attached to the same datasource you will have the same name for the legend group title. I hope I am clear ;-)

ebocher avatar Sep 15 '22 09:09 ebocher