Convert the geodetic survey monument viewer using two different approaches so we can determine when to use each approach for a given layer in the rest of the KML apps. The initial version of the viewer is in dbc-kml-apps/apps. It has the details network link layer converted using a custom output type called kayml_geodetic_control.
The first approach is to use kml placemark templates (e.g. title.ftl, description.ftl, height.ftl) and styled-layer descriptors to customize the appearance of each layer.
The second approach is to define a custom output type called kayml using an xslt transform.
Whatever the approach used, the new viewer should look like the old one as much as possible.
In each approach, migrating the viewer takes four steps:
Replace each mapserver network link with the appropriate geoserver network link from the BC Web Mapping Library
For each network link that needs to allow a user to click on a placemark to view feature details,
customize the network link and associated layer definition in geoserver using one of the approaches listed above.
Update all icon links to use the following production RawGit base urls:
for geocoder-related icons
use https://cdn.rawgit.com/bcgov/ols-devkit/df422089/kml/icons/geocoder
for databc logo icon
use https://cdn.rawgit.com/bcgov/ols-devkit/df422089/kml/icons/DataBC_logo.png
Convert the geodetic survey monument viewer using two different approaches so we can determine when to use each approach for a given layer in the rest of the KML apps. The initial version of the viewer is in dbc-kml-apps/apps. It has the details network link layer converted using a custom output type called kayml_geodetic_control.
The first approach is to use kml placemark templates (e.g. title.ftl, description.ftl, height.ftl) and styled-layer descriptors to customize the appearance of each layer.
The second approach is to define a custom output type called kayml using an xslt transform.
Whatever the approach used, the new viewer should look like the old one as much as possible.
In each approach, migrating the viewer takes four steps:
Replace each mapserver network link with the appropriate geoserver network link from the BC Web Mapping Library
For each network link that needs to allow a user to click on a placemark to view feature details, customize the network link and associated layer definition in geoserver using one of the approaches listed above.
Update all icon links to use the following production RawGit base urls:
for all other icons use https://cdn.rawgit.com/bcgov/dbc-kml-apps/62ebb524/kml/icons
Don't change any network links that reference DataBC location services (e.g., geomark, geocoder, geonames)