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

geostyler-cql-parser

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geostyler-cql-parser

Translates CQL Filters and Geostyler Style Filters

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Greenkeeper badge Build Status Coverage Status

geostyler-cql-parser

GeoStyler Translates CQL Filter and Geostyler Style Filters

This is almost a 1on1 transformation from the OpenLayers v2 CQL Parser to TypeScript. Except that it writes Filters in the GeoStyler Style format instead of ol styles.

But you can easily transform the GeoStyler Styles to OL3 with the GeoStyler OpenLayers Parser. So its just two steps from CQL Filter to OL3 Styles.

Building the parser

Run npm run generate everytime the cql-parser.js needs to be updated.

Important: Make sure to remove the export of main in order to prevent errors that occur when using the parser in the browser. I.e. following lines should be removed:

exports.main = function commonjsMain (args) {};
if (typeof module !== 'undefined' && require.main === module) {
  exports.main(process.argv.slice(1));
}

Funding & financial sponsorship

Maintenance and further development of this code can be funded through the GeoStyler Open Collective. All contributions and expenses can transparently be reviewed by anyone; you see what we use the donated money for. Thank you for any financial support you give the GeoStyler project 💞

Keywords

FAQs

Package last updated on 25 Jun 2024

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