GeoWave Quickstart Guide Integrate with GeoServer geowave-icon-logo-cropped

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

SandBox

geowave config geoserver sandbox.hortonworks.com:8993

EMR

geowave config geoserver "$HOSTNAME:8000"

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 addlayer gdelt
geowave gs addlayer 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.

You could use the default GeoServer points style, however the SubsamplePoints style tells the GeoWave framework to utilize Spatial Subsampling. This greatly increases the efficiency by only plotting the minimum number of points at each zoom level necessary to show an accurate representation of the total points on the map.

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 addstyle kdecolormap -sld /mnt/KDEColorMap.sld
geowave gs addstyle SubsamplePoints -sld /mnt/SubsamplePoints.sld
  • Set the styles of these layers.

geowave gs setls gdeltevent_kde --styleName kdecolormap
geowave gs setls gdeltevent --styleName SubsamplePoints

Raster Demo Layers

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

geowave gs addlayer landsatraster
geowave gs addlayer landsatvector --add ALL

Cluster Interaction

Back to the Demos