Add Layer

Add a Layer

1. On the left menu, click on Layers

../../_images/Add-Layer-0.png ../../_images/spacer6.png

2. Click the “Add new layer” link

../../_images/layer-1.png ../../_images/spacer6.png

3. In the New Layer dropdown, select ‘postgis:postgis’

../../_images/layer-2.png ../../_images/spacer6.png

4. Upon selection, a list of layers availeble for publiscation will appear. On the “neighborhoods” layer, click the “Publish” link

../../_images/publish-layer.png ../../_images/spacer6.png

5. Scroll down to the “Bounding Boxes” section.

For “Native Bounding Box”, click “Compute from data” link.

On the “Lat/Lon Bounding Box” section, click “Compute from native bounds”

../../_images/layer-6.png ../../_images/spacer6.png

Accept all other defaults and click “Save”

Note

Repeat above for the Parks layer and Waterways layers.

Preview Layer

We can now preview our layer.

To do so, go to Layer Preview:

../../_images/layer-4.png ../../_images/spacer6.png

Then click the “OpenLayers” link:

../../_images/layer-5.png ../../_images/spacer6.png

Customize Features

The features available for display can be customized.

To do so click the “Customize attributes” box

../../_images/layer-attributes.png ../../_images/spacer6.png

With “Customize attributes” selected, we can edit Name, Type, Source, Description, Nillable, as well as Remove feature:

../../_images/layer-attributes-enabled.png ../../_images/spacer6.png