Modify

Opened 2 years ago

Closed 2 years ago

#5979 closed defect (fixed)

YahooPlugin does not work

Reported by: cmuelle8 Owned by: cmuelle8
Priority: normal Component: Core
Version: Keywords:
Cc:

Description (last modified by cmuelle8)

Shows red background "error" on activation.

Can anyone confirm this?

used url in preferences is: http://josm.openstreetmap.de/wmsplugin/YahooDirect.html?

webkit-image is installed and working

thx

Attachments (1)

map.png (371.5 KB) - added by cmuelle8 2 years ago.
visualizing the problem

Download all attachments as: .zip

Change History (13)

comment:1 Changed 2 years ago by cmuelle8

Btw, do I still need a working webkit-image binary since the introduction of imagery plugin?

comment:2 Changed 2 years ago by cmuelle8

  • Resolution set to othersoftware
  • Status changed from new to closed

--> I do, I'll update the http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMSPlugin#Gentoo_webkit-image_ebuild

maybe webkit-image.ebuild should get a bug on bugs.gentoo.org..

I fear that it will be removed one day, since it is on the obsolete WMSPlugin wiki page

Greetings..

comment:3 Changed 2 years ago by cmuelle8

  • Description modified (diff)
  • Resolution othersoftware deleted
  • Status changed from closed to reopened

comment:4 Changed 2 years ago by cmuelle8

  • Description modified (diff)

Ok, I noticed an ebuild in the help page for the imagery plugin as well - but it still has the dodoc entry that will not work (since README is gone in svn)

Next thing - while webkit-image compiled fine and downloads stuff from yahoo it does not assemble the tiles in josm properly. I can see the image in a square, but it seems to be smaller than the space reserved for it. It aligns top left and does not fill the gray area square reserved for it. Also, the images do not align to the data (I'm not talking about the 5-10m offset due to yahoo inaccuracy - the offset is huge compared to that..)

Greetings..

Changed 2 years ago by cmuelle8

visualizing the problem

comment:5 follow-up: Changed 2 years ago by stoecker

  • Owner changed from team to cmuelle8
  • Status changed from reopened to needinfo

You're sure you use webkit? This looks more like the gnome-downloader issue.

comment:6 in reply to: ↑ 5 Changed 2 years ago by cmuelle8

yes, sure:

webkit-image {0} entry on wms/tms settings tab in prefs checked..

greetings

Replying to stoecker:

You're sure you use webkit? This looks more like the gnome-downloader issue.

comment:7 follow-up: Changed 2 years ago by stoecker

Hmm, It seems the size detection of the image URL is broken.

What webkit-image did you use? The source is here: http://svn.openstreetmap.org/applications/editors/josm/webgrabber/

There is a GTK and a QT version which are different. Also You can try the gnome-web-photo tool and/or the fixed variant using netpbm.

All these tools aren't 100% exact. You only need to find one which works for you.

comment:8 in reply to: ↑ 7 ; follow-up: Changed 2 years ago by cmuelle8

this is the source i used.

i tried qt version only. have not tried gtk or gnome-web-photo yet..

but qt version used to work well

regards,
christian

Replying to stoecker:

Hmm, It seems the size detection of the image URL is broken.

What webkit-image did you use? The source is here: http://svn.openstreetmap.org/applications/editors/josm/webgrabber/

There is a GTK and a QT version which are different. Also You can try the gnome-web-photo tool and/or the fixed variant using netpbm.

All these tools aren't 100% exact. You only need to find one which works for you.

comment:9 in reply to: ↑ 8 Changed 2 years ago by cmuelle8

gnome-web-photo works, but it is extreeeeemly slow..
you have to use

 gnome-web-photo --mode=photo --format=png {0} /dev/stdout

in wms/tms prefs for it to work, still have not tried webkit-image-gtk

are there any [new] options to the new qt version of the webgrabber that might have broken, old, working behavior?

greetings

comment:10 follow-up: Changed 2 years ago by stoecker

Try disabling "page->setViewportSize(QSize(1280,1024));". Does this help?

comment:11 in reply to: ↑ 10 Changed 2 years ago by cmuelle8

thx, your suggestion works like a charm

  • can you update the webgrabber qt source in osm-dev svn accordingly?


it's speedy and very usable as it used to be, again..

Replying to stoecker:

Try disabling "page->setViewportSize(QSize(1280,1024));". Does this help?

comment:12 Changed 2 years ago by stoecker

  • Resolution set to fixed
  • Status changed from needinfo to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.