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

warn when mapy.cz is used in a source tag #9709

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Jakuje
Copy link

@Jakuje Jakuje commented Jun 23, 2023

I went through the changesets and most of them use directly mapserver.mapy.cz (some older used mX.mapserver.mapy.cz so I hope this regex should work and would not cause any false positives.

See #9708

I went through the changesets and most of them use directly `mapserver.mapy.cz` (some older used `mX.mapserver.mapy.cz` so I hope this regex should work and would not cause any false positives.

Fixes openstreetmap#9708
@tyrasd tyrasd added the validation An issue with the validation or Q/A code label Jul 12, 2023
@tyrasd tyrasd changed the title Ban usage from of copyrighted imagery from mapy.cz warn when mapy.cz is used in a source tag Jul 12, 2023
@tyrasd
Copy link
Member

tyrasd commented Jul 12, 2023

Adding this validation is fine, but note that it likely does not do what you might have intended with this PR: it only shows a warning when mapy.cz is used in a source tag of a map feature, (see screenshot below). It does not prevent users from using mapy.cz as a background layer.

image

Copy link
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

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

One small detail is missing here: There must be a translatable string with a description of why this source is not suitable for mapping in OSM, see https://github.com/openstreetmap/iD/blob/v2.25.2/data/core.yaml#L1810-L1813 how it was done for the other existing source tag validations.

@pnorman
Copy link
Contributor

pnorman commented Sep 24, 2023

Given the original issue is solved, can this PR be closed?

@zbycz
Copy link
Contributor

zbycz commented Sep 25, 2023

Yes, thanks. This can be closed. Solved via openstreetmap/openstreetmap-website#4093

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validation An issue with the validation or Q/A code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants