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

Refactor to use OpenMapTiles schema #46

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Refactor to use OpenMapTiles schema #46

merged 2 commits into from
Apr 15, 2024

Conversation

vycius
Copy link
Member

@vycius vycius commented Apr 14, 2024

Recently we had some issues related to typos in OpenMapTiles schema fields.

Integrate OpenMapTiles schema from https://github.com/openmaptiles/planetiler-openmaptiles/tree/main and use all available OpenMapTiles schema fields in classes.

@vycius vycius requested a review from AndriusGeo April 14, 2024 08:24
case "gz4" -> {
if ("funik.".equals(sf.getString("INFO"))) {
addTransportationFeature(FieldValue.CLASS_RAIL, FieldValue.SUBCLASS_FUNICULAR, minZoom, sf, features);
addTransportationFeature(CLASS_RAIL, FieldValues.SUBCLASS_FUNICULAR, minZoom, sf, features);
} else {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason CLASS_RAIL doesn't exist in schema.

@vycius vycius merged commit 5c33dbf into main Apr 15, 2024
6 checks passed
@vycius vycius deleted the openmaptiles-schema branch April 15, 2024 05:05
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

Successfully merging this pull request may close these issues.

1 participant