Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@camptocamp/ogc-client

Package Overview
Dependencies
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@camptocamp/ogc-client

A pure JS library for interacting with geospatial services.

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
increased by17.86%
Maintainers
5
Weekly downloads
 
Created
Source

ogc-client

A javascript library for interacting with OGC-compliant services

ogc-client is a pure Javascript library which implements several OGC standards and will help you interact with them in a user-friendly and consistent way.

The following standards are partially implemented:

  • WMS - Web Map Service
  • WFS - Web Feature Service

Why no WMTS support? Because openlayers has a incredibly thorough and well-tested WMTS capabilities parser and you should just use it. Reimplementing it in ogc-client currently does not bring any significant value.

TODO: link to demo app on gh-pages

Why use it?

  1. ogc-client will abstract the service version so you don't have to worry about it
  2. ogc-client will handle XML so you only have to deal with native Javascript objects
  3. ogc-client will hide the complexity of OGC standards behind straightforward APIs
  4. ogc-client will run heavy tasks in a worker to avoid blocking the main thread
  5. ogc-client will handle errors in a graceful way and extract relevant messages for you
  6. ogc-client will tell you if a service is not useable for CORS-related issues

Instructions

To install ogc-client, run:

$ npm install --save @camptocamp/ogc-client

API

TODO

Demo

The demo app is located in the demo folder. To start it locally, clone the repository and run the following commands:

$ cd demo
$ npm install
$ npm run serve

The app is based on Vue.js 2 and will showcase most features implemented in the library. You will need to supply it with valid OGC service urls.

FAQs

Package last updated on 14 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc