Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geostyler/geostyler-style
Style declaration files for the GeoStyler project
https://github.com/geostyler/geostyler-style
geostyler typescript
Last synced: about 5 hours ago
JSON representation
Style declaration files for the GeoStyler project
- Host: GitHub
- URL: https://github.com/geostyler/geostyler-style
- Owner: geostyler
- License: bsd-2-clause
- Created: 2018-04-20T09:36:06.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T14:34:00.000Z (9 days ago)
- Last Synced: 2025-02-12T18:14:06.848Z (7 days ago)
- Topics: geostyler, typescript
- Language: TypeScript
- Homepage: https://geostyler.github.io/geostyler-style/docs/master/
- Size: 7.37 MB
- Stars: 17
- Watchers: 18
- Forks: 16
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# geostyler-style
[](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml)
[](https://github.com/geostyler/geostyler-style/actions/workflows/on-publish.yml)
[](https://github.com/geostyler/geostyler-style/blob/main/LICENSE)TypeScript Declaration File for the [GeoStyler](https://github.com/geostyler/geostyler) Style.
### 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](https://github.com/geostyler/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](https://basarat.gitbook.io/typescript/type-system/typeguard#user-defined-type-guards) that can be used as utility methods to enhance the coding experience with the geostyler-style.
```typescript
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](https://opencollective.com/geostyler). 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 💞