Add layer name in index

This commit is contained in:
Fabio Sinibaldi 2022-10-03 15:32:59 +02:00
parent df4e62cfcc
commit 13c339d720
1 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,8 @@ public class SDIManagerWrapper extends SDIManager{
GCubeSDILayerBuilder builder = new GCubeSDILayerBuilder() GCubeSDILayerBuilder builder = new GCubeSDILayerBuilder()
.setWorkspace(workspace) .setWorkspace(workspace)
.setStoreName(storeName) .setStoreName(storeName)
.setHost(getGeoserverHostName()); .setHost(getGeoserverHostName())
.setLayerName(name);
GSFeatureTypeEncoder fte=new GSFeatureTypeEncoder(); GSFeatureTypeEncoder fte=new GSFeatureTypeEncoder();
fte.setAbstract("Centroid layer for "+name); fte.setAbstract("Centroid layer for "+name);