Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14074 closed defect (fixed)

Error when trying to display imagery at JOSM website

Reported by: Klumbumbus Owned by: stoecker
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc:

Description

There are some, which don't work:

Trac hat einen internen Fehler festgestellt: ValueError: need more than 1 value to unpack

e.g.

Attachments (0)

Change History (8)

comment:1 by stoecker, 8 years ago

Resolution: fixed
Status: newclosed

Fixed the error in Trac.

The reason was a bad URL. The services have "?&", but the first parameter should not start with a "&". The "&" directly after a "?" is wrong and should be removed from all URLs which have it.

comment:2 by stoecker, 8 years ago

Beside this, these WMS aren't displayed correctly from the web. If someone can tell my why, I'll fix it. Found it.

Last edited 8 years ago by stoecker (previous) (diff)

comment:3 by Klumbumbus, 8 years ago

So we should simply change all ?& to ? if used as first parameter in imagery urls?

comment:4 by Klumbumbus, 8 years ago

One more thing. I added a shape to https://josm.openstreetmap.de/wiki/Maps/Belgium#SPWalloniePICCnumericalimagery

It is displayed in JOSM but not in the browser view.

in reply to:  4 comment:5 by Klumbumbus, 8 years ago

Replying to Klumbumbus:

One more thing. I added a shape to https://josm.openstreetmap.de/wiki/Maps/Belgium#SPWalloniePICCnumericalimagery

It is displayed in JOSM but not in the browser view.

Now it works.

in reply to:  3 comment:6 by stoecker, 8 years ago

Replying to Klumbumbus:

So we should simply change all ?& to ? if used as first parameter in imagery urls?

Yes. The ampersand is a record separator. It should not be at the beginning.

One more thing. I added a shape to https://josm.openstreetmap.de/wiki/Maps/Belgium#SPWalloniePICCnumericalimagery

It is displayed in JOSM but not in the browser view.

There was an second boundary there. JOSM takes the second one, the web view the first one. I removed it.

The XSD for validation has some limitations. Detecting such issues is one of them :-)

comment:7 by stoecker, 8 years ago

Hey, let me at least finish my text before you answer to me...

in reply to:  7 comment:8 by Klumbumbus, 8 years ago

Replying to stoecker:

Hey, let me at least finish my text before you answer to me...

:D

(I thought it was just a caching issue on my side.)

OK, I forgot to delete the old bounds when adding the new. The diff view is a bit strange for a simple addition, though.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
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.