How to Create Layer Groups in GeoServer.
తెలుగులో నేర్చుకుందాం
Layer Groups
A layer group is a container in which layers can be organized in a hierarchical structure. A layer group can be referred to by a single name in WMS requests. This allows simpler requests, as one layer can be specified instead of multiple individual layers.
- To create Layer Groups, click on LayersGroups under Data. This will bring up the layersGroupspage, wherein you can view/createlayer groups.
Figure 28 - Layer groups window before adding Layer groups
- Click on add new layer group.
- Create layer group Name (Ex: India_Layers_Group)
- Create Title (Ex: India_Layers_Group)
- Create Abstract about the group (optional)
- Select Workspace (Ex: India_Political, see figure 7)
- Click on Find for CRC and search for existing CRS and select (Ex:4326)
- Click on Generate Bounds(To create boundary extents from the existing data, recommended to generate bounds after adding layers; see figure 31)
- Select Singlein mode
- Click on Add Layerand choose layers to add to group
Figure 29 - Before adding Layers
Figure 30 - Selecting Layers
Figure 31 - After adding Layers
- In figure 31 you can see the layers arranged in hierarchical structure
- Click on Save (to save layer group)
Figure 32 - Layer groups window after adding Layer groups
- To View the Layer Group, click on Layer Previewunder Data. This will bring up the Layer Preview page, go to created layer group and click on Open layers.
Figure 33 - Layer preview page with added layers and layer groups
Figure 34 - Layer group preview
Comments
Post a Comment