Skip to content

CWM Overview

Jeremy Ho edited this page Oct 22, 2021 · 8 revisions

Common Web Mapping Service

Summary

The Common Web Mapping (CWM) Service is a small, client-side map viewer designed to be embedded within NRM transactional applications. The CWM Service provides access to a variety of data sources including up-to-the-minute spatial data from the NRM operational databases as well as point-in-time spatial data from the BC Geographic Warehouse (BCGW). The CWM Services supports real-time access to external spatial data sources using the Web Mapping Service (WMS) and Web Feature Service (WFS) standards-based protocols.

Compatibility

The CWM Service utilizes an HTML client component based upon CSS, HTML5 and JavaScript technology. The CWMS client component provides a simple API that enables client pages to interact with the map display and underlying spatial data. Spatial data types supported by the CWM Serviceinclude WKT, GPX, KML, GML, GeoJSON, and Shapefile.

Capabilities

The CWM Service provides functionality that can be configured to support the requirements of the line-of-business application. These functions include:

  • Display of (multiple) tiled base maps
  • Access to web map services that provide spatial data for display and querying
  • Access to spatial query services that support location searching and geocoding
  • Creating and edit spatial geometry for viewing
  • Measure distance and area
  • Import/export spatial datasets in a variety of formats, including WKT, GPX, KML, GeoJSON, GeoMark and shapefiles
  • Save geometry to the database
  • Print maps

Common Web Mapping Service (CWM) Application Programming Interface (API) Definitions

The Open API (Swagger) definition for the CWM API's can be found in the API Store.

Documentation for the Common Web Mapping API's and code samples can be found in Confluence.

Developer Guide

The Common Web Mapping (CWM) Service is a small, client-side map viewer designed to be embedded in line-of-business applications. CWM Service provides access to a variety of data sources including current transactional data from the NRS operational database as well as point-in-time data from the BC Geographic Warehouse (BCGW).

  • The CWM Systems includes four APIs; documentation for these API's may be found at:

Documentation for the CWMS API Documentation for the CWM Feature Class API Documentation for the CWM Map Image Generator API Documentation for the Spatial Overlay Service API

Additional Resources

BC Webmaps Options CWM Developer's Guide CWM showcase application

Documentation

Open API definitions Documentation on Confluence
Web Mapping Common Web Mapping Service
Feature Class Feature Class Service
Map Image Map Image Service
Spatial Overlay Spatial Overlay Service
Clone this wiki locally