geoscript / geoscript-groovy

A Groovy implementation of GeoScript.
https://geoscript.net/groovy
MIT License
46 stars 22 forks source link

Layer name [QUESTION] #74

Open ebocher opened 2 years ago

ebocher commented 2 years ago

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 commented 2 years ago

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 ;-)