Skip to content

Update Roads.java: exclude 'platform_edge' from railways#547

Open
pietervdvn wants to merge 6 commits intoprotomaps:mainfrom
pietervdvn:patch-3
Open

Update Roads.java: exclude 'platform_edge' from railways#547
pietervdvn wants to merge 6 commits intoprotomaps:mainfrom
pietervdvn:patch-3

Conversation

@pietervdvn
Copy link
Contributor

@pietervdvn pietervdvn commented Jan 28, 2026

Apparently, some people add the edge of platforms into OpenStreetMap.

This was picked up as "railway", giving extra railways renderings where there are none (the two "dead end" railways should dissappear):

image

This PR excludes them from tile generation

Copy link
Collaborator

@migurski migurski left a comment

Choose a reason for hiding this comment

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

This change looks good, really appreciate it. Would you be able to address the linter feedback so it can be merged?

@wipfli
Copy link
Collaborator

wipfli commented Feb 4, 2026

Adding a render test here: pietervdvn#1

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
75.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@pietervdvn
Copy link
Contributor Author

I've addressed the linter feedback, but, to be a bit blunt: why bother? The tooling can do this fully automatically. IMHO, automatically linting/formatting the codebase every now and then can be done with a script without having to do another round of feedback to me. (For context: I simply made the changes in the web editor without setting up the dev environment)

@pietervdvn
Copy link
Contributor Author

I've also merged (and fixed) in the render test by @wipfli

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.

3 participants