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.
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 the layers for the demo(s) that you have completed.
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
The GeoServer web interface can be accessed in your browser:
http://localhost:8080/geoserver/web (Standalone Installer)
Login to see the layers.
The homepage displays the layers, stores, and workspaces that were created in the demo. Select "Layer Preview" from the menu on the left side.
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.
gdeltevent_kde - a heat map produced using kernel density estimation in a bounding box around Berlin.
berlin_mosaic - a mosaic created from the raster data that fit into our specifications. This mosaic is made of 5 images.
band/scene - representations of the vector data associated with the images. The band and scene layers are identical in this demo.