geowave icon logo cropped v2

GeoWave Quickstart Guide Integrate with GeoServer

In order to view the images generated from the vector and raster demos, use the GeoServer web interface. The following command configures and restarts GeoServer.

Configure GeoServer

If using EMR, GeoServer is on non-standard port 8000, so the client must be configured (for standalone installer, GeoServer runs on default port so this step is unnecessary).

geowave config geoserver "$HOSTNAME:8000"

When using the standalone installer, however, we do need to run GeoServer.

geowave gs run

Add Layers and Styles

Add the layers for the demo(s) that you have completed.

Vector Demo Layers

  • Add layers for the point and kde representations of the data.

geowave gs layer add gdelt
geowave gs layer add gdelt-kde
  • Download and add the KDEColorMap and SubsamplePoints styles.

The KDEColorMap style is needed for the heatmap we produced with the KDE. The SubsamplePoints style will be used for the gdeltlayer.

cd /mnt
sudo wget s3.amazonaws.com/geowave/latest/scripts/emr/quickstart/KDEColorMap.sld
sudo wget s3.amazonaws.com/geowave/latest/scripts/emr/quickstart/SubsamplePoints.sld
geowave gs style add kdecolormap -sld /mnt/KDEColorMap.sld
geowave gs style add SubsamplePoints -sld /mnt/SubsamplePoints.sld
  • Set the styles of these layers.

geowave gs style set gdeltevent_kde --styleName kdecolormap
geowave gs style set gdeltevent --styleName SubsamplePoints

Raster Demo Layers

  • Add the layers created in the raster demo. The default styles for these layers is sufficient.

geowave gs layer add landsatraster
geowave gs layer add landsatvector --add ALL

Viewing the layers in GeoServer

The GeoServer web interface can be accessed in your browser:

Login to see the layers.

  • Username: admin

  • Password: geoserver

select emr
Figure 1. GeoServer Homepage

The homepage displays the layers, stores, and workspaces that were created in the demo. Select "Layer Preview" from the menu on the left side.

select emr
Figure 2. GeoServer Layer Preview

Click on the OpenLayers link by any of the layers to view any of the images. Clicking on the layer will give you the metadata associated with that point.

gdeltevent - shows all of the gdelt events in a bounding box around Berlin as individual points.

select emr
Figure 3. gdeltevent layer

gdeltevent_kde - a heat map produced using kernel density estimation in a bounding box around Berlin.

select emr
Figure 4. gdeltevent_kde layer

berlin_mosaic - a mosaic created from the raster data that fit into our specifications. This mosaic is made of 5 images.

select emr
Figure 5. berlin_mosaic layer

band/scene - representations of the vector data associated with the images. The band and scene layers are identical in this demo.

select emr
Figure 6. scene layer

Cluster Interaction

Back to the Demos