Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish presets #49

Open
hiddewie opened this issue May 11, 2024 · 0 comments
Open

Publish presets #49

hiddewie opened this issue May 11, 2024 · 0 comments

Comments

@hiddewie
Copy link
Owner

hiddewie commented May 11, 2024

https://josm.openstreetmap.de/wiki/Presets.

Can be published as .zip through the proxy, or through Github releases.

hiddewie added a commit that referenced this issue Dec 14, 2024
Part of #107

Part of #49

This PR defines features for every source, with a identifier and
description.

Changes:
- Simplify existing feature YAML content (remove one layer of indent).
- Let the proxy host a `features.json` that contains the descriptions
for the feature in each layer.
- Define a few new feature files in the `features` directory that
describe features of a certain layer.
- Use some of the feature files in the legend generation. Some legends
are still layer specific and custom.
- Generate the popup from the structured feature descriptions: title,
properties and type (point, line or polygon) for OSM link generation.
- Add many TODOs in feature code where more properties could be made
available for usage in the popup.

Dynamic icons (e.g. based on signal type or speed values) for signals do
not work yet and will show `undefined` in the label.

*View diff with whitespace disabled*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant