
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
geostyler-cql-parser
Advanced tools
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.
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));
}
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 💞
FAQs
Translates CQL Filters and Geostyler Style Filters
The npm package geostyler-cql-parser receives a total of 8,501 weekly downloads. As such, geostyler-cql-parser popularity was classified as popular.
We found that geostyler-cql-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.