bcgov / bcgov/dbc-kml-apps

Convert airphoto viewer from mapserver to geoserver

Open
#11 2 comments 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 airphoto viewer network links from mapserver to geoserver. The resulting app should be kept in dbc-kml-apps/apps and look like the [mapserver app](http://openmaps.gov.bc.ca/kml/BCGov_Airphoto_Viewer_WMS.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 in dbc-kml-apps/apps by comparing the existing mapserver app with the BC Web Mapping Library links. Review geoserver/templates and kml/icons for the referenced templates, styles, and production icon URLs; completion means the viewer is migrated while DataBC location-service links remain unchanged. GeoServer data, styling, and warehouse dependencies need confirmation before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.