Generating a KML ElevationΒΆ
This section covers how to use GeoServer templates in conjunction with Google Earth support for ‘height’ to create a height visualizations.
Create the
height.ftl
file in%TRAINING_ROOT%\geoserver_data\workspaces\geosolutions\states\states\
directoryOpen the
height.ftl
with a text editor and enter the following content:${PERSONS.value?number / 100.0}
Save the
height.ftl
and navigate to the GeoServer Layers Preview.Click the KML link next to the geosolutions:states layer.
In the resulting dialog choose to Open with Google Earth and OK (or double click on downloaded KML file)
Zoom in until states show up in vector form, and then tilt the view to see them extruded.