geoscript-groovy
geoscript-groovy copied to clipboard
Layer name [QUESTION]
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.
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 ;-)