Modify

Opened 12 years ago

Closed 12 years ago

Last modified 6 years ago

#7450 closed enhancement (fixed)

Warning against misaligned imagery

Reported by: DJTerentjev@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: imagery, offset Cc:

Description

Very often newbie to OSM start their contribution with moving old or create new objects according imagery. They just don't know imagery can be offset. Especially for mountainous areas imagery offset can be great. We need to inform them for first time they using imagery. Simple dialogue window. Please see attached image.

Attachments (8)

JOSM Eng.png (27.8 KB ) - added by DJTerentjev@… 12 years ago.
Offset warning
Idea.png (181.5 KB ) - added by akks 12 years ago.
black_x.png (155 bytes ) - added by Zverikk 12 years ago.
josm-nagging.patch (981 bytes ) - added by Zverikk 12 years ago.
AlignImageryPanel.java (4.2 KB ) - added by Zverikk 12 years ago.
josm-nagging2.patch (4.7 KB ) - added by akks 12 years ago.
TopPanelsAndImageryNagging.patch (8.1 KB ) - added by akks 12 years ago.
screenshot_7450.png (175.8 KB ) - added by skyper 12 years ago.
screenshot

Download all attachments as: .zip

Change History (51)

by DJTerentjev@…, 12 years ago

Attachment: JOSM Eng.png added

Offset warning

comment:1 by skyper, 12 years ago

Owner: changed from Dmitry <DJTerentjev@…> to team

comment:2 by akks, 12 years ago

This can be really useful for beginners. Adding is is also simple.

Maybe some picture in dialog can help (not absolutely necessary)
Is the link for "read more" already known?

comment:3 by stoecker, 12 years ago

I don't see a big sense in this. This is stated in many places already. When people don't read, one more text wont help as well and it will only annoy the others.

comment:4 by akks, 12 years ago

The sense is not big, but it exists. Maybe we need to show them some picture if they can not read?
Too many novices start from moving existing roads to "True Bing" :)

comment:5 by Don-vip, 12 years ago

If added, it should at least not be displayed in expert mode :)

comment:6 by akks, 12 years ago

Of course. And it has checkbox "not show this again" :)

Let us wait for pictures or links to place on this dialog.

comment:7 by Dmitry <DJTerentjev@…>, 12 years ago

So far I can find only wiki page in Russian http://wiki.openstreetmap.org/wiki/RU:Использование_аэрофотоснимков.
It have couple pictures. But let me translate it in English and I will look for better picture.

comment:8 by akks, 12 years ago

We need some small picture for users (maybe some crossing "before" and "after" shift with icon of shifting tool) and international link in wiki.

comment:9 by mekillot@…, 12 years ago

It's a very big problem that newibies align objects to bing, which has offset.
This fix will help at least to minimize this problem.

comment:11 by Dmitry <DJTerentjev@…>, 12 years ago

in reply to:  11 comment:12 by akks, 12 years ago

Replying to Dmitry:

This is international link: http://wiki.openstreetmap.org/wiki/Using_Imagery

Thank you!

Should we place some picture on dialog?
Something like following, but with better composition, idea and design:

Version 3, edited 12 years ago by akks (previous) (next) (diff)

by akks, 12 years ago

Attachment: Idea.png added

comment:13 by Dmitry <DJTerentjev@…>, 12 years ago

akks,

For me any design will be OK. I'll happy with your design. Yesterday there was idea in irc: https://www2.dropbox.com/sh/p0ryog4igdaivdg/6XTjy-BL5s/Josm.png. I don't want upload this picture, because I could't reach its author FelisPimeja.

in reply to:  13 comment:14 by akks, 12 years ago

Replying to Dmitry:

akks,

For me any design will be OK. I'll happy with your design. Yesterday there was idea in irc: https://www2.dropbox.com/sh/p0ryog4igdaivdg/6XTjy-BL5s/Josm.png. I don't want upload this picture, because I could't reach its author FelisPimeja.

FelisPimeja's design can be good, but we have no such panel components currently, so for now let us do simple dialog :) If we want to include the warning in Tested, we

  • should hurry :)
  • should ask permission
  • should find some smaller descriptive picture or leave only text with link
Last edited 12 years ago by akks (previous) (diff)

comment:15 by Dmitry <DJTerentjev@…>, 12 years ago

Whose permission we should ask? I make one version of screenshots: http://wiki.openstreetmap.org/wiki/JOSM_offset_images and post it on the forum. Hopefully we will have some good ideas.

in reply to:  15 comment:16 by akks, 12 years ago

Replying to Dmitry:

Whose permission we should ask? I make one version of screenshots: http://wiki.openstreetmap.org/wiki/JOSM_offset_images and post it on the forum. Hopefully we will have some good ideas.

Permission from team to commit during stabilization phase when it will be ready. It would be polite :)

@team: How much size we can take for picture (50kb?, 20kb?). Or it is OK to include external web image in this case?

Last edited 12 years ago by akks (previous) (diff)

comment:17 by stoecker, 12 years ago

  • This is nothing for next tested, to late for this.
    • We have imagery there for years now, so one more month wont change situation significantly
  • An image wastes too much space
  • Why not simply (if it must be which I still not see) add a dialog linking to a description in online help?

comment:18 by Zverikk, 12 years ago

Please check http://textual.ru/josm-nagging.jar
I've attached a patch, a new class and a black X image (it looks better with it).

Note that the message appears only once after an imagery layer has been added, and only in non-expert mode.

Last edited 12 years ago by Zverikk (previous) (diff)

by Zverikk, 12 years ago

Attachment: black_x.png added

by Zverikk, 12 years ago

Attachment: josm-nagging.patch added

by Zverikk, 12 years ago

Attachment: AlignImageryPanel.java added

comment:19 by Dmitry <DJTerentjev@…>, 12 years ago

Looks good. Thanks.

comment:20 by akks, 12 years ago

Now when stable version is released we can add this too. There are two things to improve:

  • Duplicate UrlLabel - Zveriks's simplfied variant based on JLabel looks better then standard UrlLabel based on JEditorPane. Was there any reason to use JEditorPane? I tried to do simplification in main core UrlLabel. It works but font size and vertical alignment differs (size can be increased).
  • Adding panel (or mutliple panels?) on top on the map should probably be in MapFrame class. It can be useful for optional exposing additional MapMode settings, different messages, etc. What do you think?

comment:21 by akks, 12 years ago

In 5050/josm:

UrlLabel class simplification by Zverik, better label layout in VersionInfoPanel (see #7450, #7326)

comment:22 by akks, 12 years ago

I have included UrlLabel simplification, now the patch is shorter (works exactly like before).

by akks, 12 years ago

Attachment: josm-nagging2.patch added

comment:23 by akks, 12 years ago

5053/josm fixes code style of 5050/josm (removed import .*). 3 plugins are also fixed to use new UrlLabel correctly.

Last edited 12 years ago by akks (previous) (diff)

comment:24 by akks, 12 years ago

MapFrame (Main.map) methods for adding, removing and getting components on top of MapView were introduced in this patch.
These components (usually panels but I also tried JButton's) can be useful for interface simplification or enhancements, I think.

Zveriks's patch was changed a little to use these methods instead of "hack" (now Main.map.addTopPanel(p)) :-)

Last edited 12 years ago by akks (previous) (diff)

comment:25 by akks, 12 years ago

A there more problems that needed to be solved before committing?

comment:26 by akks, 12 years ago

In 5091/josm:

Warning against misaligned imagery for new users - see #7450.
Added addTopPanel function in MapFrame for other possible enhancements

comment:27 by akks, 12 years ago

Please check the code and behaviour and close the ticket if all is OK.

in reply to:  27 comment:28 by skyper, 12 years ago

Replying to akks:

Please check the code and behaviour and close the ticket if all is OK.

On a 1280x1024 screen resolution the close button (X) is hidden by the toggle dialogs.

comment:29 by akks, 12 years ago

In 5119/josm:

minor fix: Imagery offset warning on small resolution screens, see #7450

comment:30 by akks, 12 years ago

Did last change help?

in reply to:  30 comment:31 by skyper, 12 years ago

Replying to akks:

Did last change help?

Yes it did, thanks.

comment:32 by akks, 12 years ago

It was easy :)
Can we close the ticket now?

in reply to:  32 comment:33 by skyper, 12 years ago

Replying to akks:

It was easy :)
Can we close the ticket now?

Seems to me that even applying did not help testing (probably many tester use expert mode and/or start with existing preferences).

Go ahead and close, I can reopen anytime if needed.

comment:34 by akks, 12 years ago

So let's close this for now :)

comment:35 by akks, 12 years ago

Resolution: fixed
Status: newclosed

comment:36 by skyper, 12 years ago

Resolution: fixed
Status: closedreopened

Sorry, probably did not check good enough.

I still have one minor issue:

The link to the help page turns invisible after few second. It is still there (between message and close button) and it works if you click on its spot but it is invisible.

Last edited 12 years ago by skyper (previous) (diff)

comment:37 by akks, 12 years ago

Can not reproduce... Which OS and screen resolution are you using?

in reply to:  37 ; comment:38 by skyper, 12 years ago

Replying to akks:

Can not reproduce... Which OS and screen resolution are you using?

GNU Debian wheezy (testing) with a 1024x768 resolution.

in reply to:  38 ; comment:39 by akks, 12 years ago

Replying to skyper:

Replying to akks:

Can not reproduce... Which OS and screen resolution are you using?

GNU Debian wheezy (testing) with a 1024x768 resolution.

Can not catch the effect on RedHat 4... Can you please check if UrlLabels in AboutDialog and History dialog (links to user and changeset) vanish the same way?

in reply to:  39 comment:40 by skyper, 12 years ago

Replying to akks:

Replying to skyper:

GNU Debian wheezy (testing) with a 1024x768 resolution.

Can not catch the effect on RedHat 4... Can you please check if UrlLabels in AboutDialog and History dialog (links to user and changeset) vanish the same way?

No not the same. With "About" it is hard to tell as I can not smaller the window, but with "History" it is definitly different. Have a look:

screenshot

This is on a different pc than yesterday ! Gonna try it with ubuntu later.

by skyper, 12 years ago

Attachment: screenshot_7450.png added

screenshot

comment:41 by skyper, 12 years ago

Stange if I smaller the main window it reappears in two lines and does not vanish anymore. A side affect is then that the toggle dialog right panels automatically smallers to only a small line.

It also seems to vanish faster on a faster machine.

comment:42 by akks, 12 years ago

Too big font for Josm interface - on Windows it is smaller and all fits even for 800x600 :)
I'll try to change layout a little.

comment:43 by akks, 12 years ago

Resolution: fixed
Status: reopenedclosed

In 5128/josm:

fix #7450: minor change - better layout tuning for small screens for imagery align nagging panel

comment:44 by Don-vip, 6 years ago

Ticket #6229 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.