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: 3 months 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-21T13:00:53.000Z (4 months ago)
- Last Synced: 2024-07-21T14:24:50.529Z (4 months ago)
- Topics: geostyler, typescript
- Language: TypeScript
- Homepage: https://geostyler.github.io/geostyler-style/docs/master/
- Size: 7.08 MB
- Stars: 16
- Watchers: 20
- Forks: 15
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# geostyler-style
[![Lint & Docs (main)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml/badge.svg)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml)
[![Create & publish versioned documentation](https://github.com/geostyler/geostyler-style/actions/workflows/on-publish.yml/badge.svg)](https://github.com/geostyler/geostyler-style/actions/workflows/on-publish.yml)
[![License](https://img.shields.io/github/license/geostyler/geostyler-style)](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 💞