包详细信息

geostyler-style

geostyler465.5kBSD-2-Clause10.3.0

Lint & Docs (main) [![Create & publish versioned documentation](https://github

自述文件

geostyler-style

Lint & Docs (main) Create & publish versioned documentation License

TypeScript Declaration File for the GeoStyler Style.

:rocket: GeoStyler Code Sprint 2025

We are happy to announce the next GeoStyler Code Sprint from 02.-06.06.2025 in Switzerland. Be part of it! More infos on https://geostyler.org/.

Documentation

https://geostyler.github.io/geostyler-style/docs/main/

Why another style format?

The Geostyler Style is not primarily intended to be a new standard for styling geographic data.

The main task of the format is to be an exchange format for all the other standards. It should be capable of storing the styling possibilities of SLD, OpenLayers-Styles, MapBox-Styles, CartoCSS (and others) while being easily read- and writable.

On the other hand it is used by the GeoStyler to build the UI components. This way you should be able to configure any type of style via UI and also translate between all supported formats (in theory :grin:).

TypeGuards

In addition to the definition itself, there are some custom TypeGuards that can be used as utility methods to enhance the coding experience with the geostyler-style.

import { isFilter, isSymbolizer } from 'geostyler-style/dist/typeguards';

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 💞

更新日志

10.3.0 (2025-06-10)

Features

  • add more wellknownnames (abe45ce)

10.2.0 (2025-06-06)

Features

  • update dependencies and switch to bun (9dd347d)

Bug Fixes

  • build: use vite for build (dfc3800)

10.1.0 (2025-06-04)

Features

Bug Fixes

  • correct typeguard for scale denominators (#654) (e90e1f3)

10.0.0 (2025-02-05)

⚠ BREAKING CHANGES

  • Due to the added WellKnownNames, typechecks for distinct values of WellKnownNames need to be adjusted to also distinguish the newly added WellKnownNames.

Features

  • add WellKnownNames to support extra styles from QGIS (#652) (1e9e90b)

9.2.0 (2024-11-26)

Features

  • add graphicfillpadding on fill symbolizer (711b71b)

9.1.0 (2024-07-09)

Features

  • allow numbers in the in function (2907811)

9.0.1 (2024-06-25)

Bug Fixes

9.0.0 (2024-06-25)

⚠ BREAKING CHANGES

  • order of arguments of the FCase function has been change

Features

Bug Fixes

9.0.0-next.5 (2024-06-20)

Bug Fixes

9.0.0-next.4 (2024-06-19)

Bug Fixes

9.0.0-next.3 (2024-06-19)

Bug Fixes

  • use proper node version (993a896)

9.0.0-next.2 (2024-06-19)

Bug Fixes

9.0.0-next.1 (2024-06-18)

⚠ BREAKING CHANGES

  • order of arguments of the FCase function has been change

Features

Bug Fixes

  • deps: update dependency @types/lodash to v4.17.5 (d32fec9)
  • fix esm exports (bfba56b)
  • fix semantic release plugin (0954bd7)
  • update FCase arguments (2d51319)
  • update repo schema (0b4c5c1)

8.1.0 (2023-12-01)

Features

  • adds isSprite typeguard (2684c38)

8.0.0 (2023-11-30)

⚠ BREAKING CHANGES

  • IconSymbolizer.image can be a Sprite

Features

  • add support for image sprites (f51c297)

Bug Fixes

  • replace width and height with size (f264c83)
  • add missing semantic-release dependency (aa60480)