theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
110 stars 8 forks source link

topo editor: make icons smaller #3747

Closed georg-d closed 4 years ago

georg-d commented 4 years ago

EDIT: This comment was edited - mainly resolved parts striked through - after comment by nicHoch that CTRL supresses auto joining of 2 points.

What happened?

For wide but high rock faces like Carrière in Gueberschwihr or even worse Hornberger Platte, photos taken from ground level have a perspective distortion (my translation guess for DE "perspektivische Verzerrung") and thus appear "compressed" in the top compared to the middle or bottom. This can be reduced to a certain degree by doing perspective transformation, so e.g. the panorama for below screenshot is by intention not correct in the sense vertical features are not vertical but bent to the top outside (see large tree at right), because that incorrectnes reduces the "compression" at top compared to the "more correct" panorama for Hornberger Platte, but this problem reduction is limited as too strong perspective transformation creates a very artificial look most people reject/dislike. Similar for photos taken not in approximately 90° angle to the rock face but a much lower angle (so "along" the rock); then, "compression" happens at left or right instead of top. This distortion reduces the available space in the topo editor so much that it is impossible to place points for bolts etc a) at all (because the amount of points with their current icon size and paddings does not fit into the available space, i.e. overlap each other) or b) where they belong (because they are "too nearby each other" for their size and thus automatically joined). This is true not only on tiny screens but also on a 27" display with 2560x1440 pixels resolution, so a display allowing to recognize the bolts in the photo underlaying the topo - even without zooming in.

Example screenshot 20200827 125247 New Issue theCrag topo Aspect a) Between the arrow and the top, there need to be placed 4 points but only 2-3 fit. Aspect b) The center of the currently edited point needs to be where the arrow indicates (there's the bolt), but moving the currently edited point even slightly down joins it with the point below.

What you expected:

As long as bolts can be recognized in the underlaying photo, so the resolution / size of the photo is high enough for single bolts, it is possible to draw a) all bolts and b) at the correct location in a way they can be clearly recognized. Ways to improve the situation:

If you've more ideas how to improve the situation or how to work around, please share :)

killakalle commented 4 years ago

+1 from me

Not for drawing bolts, though, but for drawing routes that are close to each other. Mostly for 'steep' photos where you are standing too close to the cliff, of for photos taken from too far away.

The following workaround gets you most of the way. You can actually draw points really close to each other - within their 'snap distance' if you click them into the right spot on the first try. However, you cannot move or adjust them anymore, because they will instantly snap. With this workaround, you cannot add points, though, that would fall within the circle of another point. See an example screenshot below.

image

@georg-d Do you think there is actually a lot of added value by drawing bolts on steep distorted images, e.g. Hornberger Platte: image? Wouldn't it be sufficient for people if they knew the total number of bolts for that route which can be provided in the respective field?

This issue and potential solution are actually very related in my opinion: https://github.com/theCrag/website/issues/1701

georg-d commented 4 years ago

Not for drawing bolts, though, but for drawing routes that are close to each other.

Yes, different aspect of same issue.

The following workaround gets you most of the way. You can actually draw points really close to each other - within their 'snap distance' if you click them into the right spot on the first try.

Yes, it's a viable workaround for the aspect you mentioned, i.e. when you only want the line (which is already quite thin compared to icons like "lower off") but you can't place it properly just because the "handles" do auto snap. For all other shapes, in my experience, the mentioned workaround turned out to be only seldomly viable because the quite big icons hide each other or the line (e.g. Carrière in Gueberschwihr number lables 15+16 hide the line, or in below screenshot, top left of number 19 the point icons overlap).

@georg-d Do you think there is actually a lot of added value by drawing bolts on steep distorted images, e.g. Hornberger Platte: image? Wouldn't it be sufficient for people if they knew the total number of bolts for that route which can be provided in the respective field?

This leads off the topic, hence here only the summary: At this part of the cliff, the only clearly recognizable landmarks are the bolts, that's why they do IMHO add considerable value in this case. More details in https://www.thecrag.com/photo/3448195608 - I'd be happy to get ideas leading to a good solution! 😄

This issue and potential solution are actually very related in my opinion:

1701

The issues are related, yes, but not the same: #1701 is about viewing topos where too much overlay hides the actual rock. For that, I never felt a need for action because you can hide/show the overlay via a button, so you can toggle between the rock structure and the route overlay. But we have no solution for within the route overlay, so 1) for space conflicts between the single icons and the lines of the overlay layer and 2) the padding issue (auto snap) while editing - that is the issue #3747. Funny that #1701 descibes a solution for issue #3747 :-)

nicHoch commented 4 years ago

there are other good points in the issue but the official method to avoid snapping points is to pres CTRL while moving the points around.

killakalle commented 4 years ago

@nicHoch great tip! Why haven't I thought of trying this?!

This solves the issue described in this ticket for me. (Though, not https://github.com/theCrag/website/issues/1701 but that's anyhow another ticket.)

georg-d commented 4 years ago

the official method to avoid snapping points is to pres CTRL while moving the points around.

After reading that, I did not find it in text & video in https://www.thecrag.com/en/article/topotutorial - does anyone sees a reason why it shall not be mentioned? If not, I'd add it for DE and I will create a task/trello for EN, so someone with permission can change EN.

I updated issue title and original post accordingly.

rouletout commented 4 years ago

Task is / will be in trello to create missing key in EN, closing here.