bcgov / bcgov/dbc-kml-apps

Convert geodetic survey monument viewer from mapserver to geoserver

Open
#4 1 comment 0 reactions 1 assignee Claimed by @popkinj View on GitHub
Dominant language
No language data
Stars
0
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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](http://openmaps.gov.bc.ca/kml/BCGov_Geodetic_Survey_Viewer.kml) as much as possible.

In each approach, migrating the viewer takes four steps:

1. Replace each mapserver network link with the appropriate geoserver network link from the [BC Web Mapping Library](http://openmaps.gov.bc.ca/kml/BCGov_Web_Map_Library.kml)

2. 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.

3. 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

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.