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

draw referenced ways and nodes for selected relations #25

Merged
merged 1 commit into from
Jan 26, 2016

Conversation

tyrasd
Copy link
Contributor

@tyrasd tyrasd commented Jan 24, 2016

implements functionality for #15

Way-member drawing is implemented as a recursive call to text2coord which would technically even allow to draw nested relations (but I wasn't sure if that makes much sense in practice and one would have to make sure that reference-loops are handled properly, which can be hairy!).

@Zverik
Copy link
Owner

Zverik commented Jan 26, 2016

Okay, this looks good, though I'm not sure this is useful. Thanks.

Zverik added a commit that referenced this pull request Jan 26, 2016
draw referenced ways and nodes for selected relations
@Zverik Zverik merged commit 47e3b02 into Zverik:master Jan 26, 2016
@tyrasd
Copy link
Contributor Author

tyrasd commented Jan 27, 2016

I'm not sure this is useful.

Why not?

@Zverik
Copy link
Owner

Zverik commented Jan 27, 2016

Relations are usually obvious from their tags (e.g. routes), and if not, showing their members would be more useful, since the focus of this editor is on individual objects.

@tyrasd
Copy link
Contributor Author

tyrasd commented Jan 27, 2016

So, why did you propose it in #15 (comment), then? 😕

@Zverik
Copy link
Owner

Zverik commented Jan 27, 2016

I proposed to draw single referenced members of relations.

@tyrasd
Copy link
Contributor Author

tyrasd commented Jan 27, 2016

Aaah, I see. That would make sense as well. For example, the selected member could be drawn in a separate "highlight" colour. I'll see what I can do…

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.

2 participants