bcgov / bcgov/dbc-kml-apps

Convert orthphoto viewer from mapserver to geoserver

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Convert orthophoto viewer network links from mapserver to geoserver. The resulting app should be kept in apps and look like the [mapserver app](http://openmaps.gov.bc.ca/kml/BCGov_Ortho_Viewer.kml) as much as possible.

Migrating the viewer takes four steps:

1. For each simple GroundOverlay, 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 mapserver network link that needs to allow a user to click on a placemark to view feature details,
2.1 Replace the 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). Note the shape files used in mapserver need to be loaded into the WhereHouse, styled, and defined in GeoServer before they will appear in the before they will appear BCGov_Web_Map_Library. Angus Christian is point man on the GeoBC side for that. Not sure who in Data Admin is assigned to this.
2.2 Customize the network link and associated layer definition in geoserver by defining description.ftl and title.ftl templates and putting them into the appropriate subdirectory under geoserver/templates
2.3 Further customize the network link and associated layer definition in geoserver by defining named styles (e.g., SLDs) that reference kml icons held in this repo.


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

There is no need to change any network links that reference DataBC location services (e.g., geomark, geocoder, geonames)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the orthophoto viewer in apps and comparing it with the linked mapserver app. Use the BC Web Mapping Library to identify replacement GeoServer links, then inspect geoserver/templates for the required description.ftl and title.ftl locations. Done means the viewer uses the replacement links and specified icon URLs while leaving DataBC location-service links unchanged.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.