Composing a Map¶
Let’s start composing a custom map by adding some layers from our local GeoServer.
Click the Add Layer button. The Available Layers dialog opens.
By default, the list of Available Layers is tuned to our local GeoServer instance. You should recognize some of the layer names from previous chapters.
Make sure that Local GeoServer is selected in the data source drop-down. Select the earthmap group layer and the smallworld feature layer that we previously created in GeoServer, and Add them to the map.
Layers can be added individually by simply double-clicking a row in the list of Available Layers. Alternately, you can Shift/Control + Click to select multiple layers, and then click the Add Layers button at the bottom of the panel.
When your layers have been added, close the Available Layers dialog by clicking Done.
Back on your map, you can re-order your layers by selecting an item, and dragging and dropping it above or below another in the Layers Panel. Re-order your layers, so they appear as follows:
Why do the buffers look squished?
The Available Layers window includes our Local GeoServer and a selection of popular mapping services by default. You can add other WMS or WFS services that you know about by following these steps:
Click Add (layer) to open the Available Layers window.
Click the Add a New Server button.
Enter a valid URL to a WMS endpoint, and click the Add Server button.
An example of this would be http://suite.opengeo.org/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities
Select your new server’s name in the drop-down list to view all of the layers available from that server that can be added to your map.
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License. Feel free to use this material, but we ask that you please retain the OpenGeo branding, logos and style.