Skip to content

A collection of OGC Web Services utilities based on OpenLayers and Node.js

License

Notifications You must be signed in to change notification settings

DeutscherWetterdienst/ogcutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ogcutils

A collection of OGC Web Services utilities based on OpenLayers and Node.js

Version License CircleCI

Add to your node.js project

To use the ogcutils package, simple add the dependency to your package.json as follows:

npm i @deutscherwetterdienst/ogcutils

Test the ogcutils package

To test the ogcutils package, import it in your js file and run the getAvailableLayers method:

import {getAvailableLayers} from 'ogcutils'

capabilitiesUrl = "<url that points to the capabilities xml document>" // usually something like https://example.com/wms?request=GetCapabilities

getAvailableLayers(capabilitiesUrl).then((layers) => {
    console.log("Available Layers:", layers)
});

About

A collection of OGC Web Services utilities based on OpenLayers and Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published