Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10798 closed defect (fixed)

Bing imagery is loaded as WMS with remote control

Reported by: pyrog Owned by: team
Priority: normal Milestone: 14.11
Component: Core remotecontrol Version:
Keywords: template_report Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. from a web browser type http://127.0.0.1:8111/imagery?title=Satellite%20Bing&type=bing[22]&url=http://www.bing.com/maps/
  2. select this layer
  3. Right click, select informations menu

What is the expected result?

  1. Load Bing imagery in a new layer if it not already loaded, else do nothing
  2. Display the Bing logo on the layer
  3. Informations layer should be : TMS layer (Bing Sat), downloading in zoom XX

What happens instead?

  1. Load Bing imagery in a new WMS layer even Bing is already loaded
  2. Display the WMS icon
  3. Informations layer are : WMS layer (Satellite Bing), downloading in zoom YYY.0 m

Please provide any additional information below. Attach a screenshot if possible.



Revision: 7643
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2014-10-21 21:19:16 +0200 (Tue, 21 Oct 2014)
Build-Date: 2014-10-21 19:23:06
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 7643

Identification: JOSM/1.5 (7643 fr) Mac OS X 10.10.1
Memory Usage: 225 MB / 910 MB (44 MB allocated, but free)
Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.library.path=/Applications/JOSM.app/Contents/MacOS, -DLibraryDirectory=/Users/yves/Library, -DDocumentsDirectory=/Users/yves/Documents, -DApplicationSupportDirectory=/Users/yves/Library/Application Support, -DCachesDirectory=/Users/yves/Library/Caches, -DSandboxEnabled=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]

Plugins:
- ImageWayPoint (30737)
- OpeningHoursEditor (30737)
- PicLayer (30762)
- cadastre-fr (30762)
- geotools (30762)
- gpxfilter (30738)
- imagery_offset_db (30762)
- jts (30762)
- measurement (30737)
- notes (v0.9.5)
- opendata (30762)
- reverter (30737)
- scripting (30702)
- tag2link (30719)
- undelete (30762)
- utilsplugin2 (30762)
- wikipedia (30780)

Last errors/warnings:
- W: Could not get presets icon Icon_raa.png
- E: Impossible de trouver l'image "Icon_npu.png"
- W: Could not get presets icon Icon_npu.png
- E: Impossible de trouver l'image "Icon_uzkb.png"
- W: Could not get presets icon Icon_uzkb.png

Attachments (3)

JOSM layers.png (13.0 KB ) - added by pyrog 10 years ago.
Bing TMS layer informations.png (32.8 KB ) - added by pyrog 10 years ago.
Bing wms layer informations.png (34.4 KB ) - added by pyrog 10 years ago.

Download all attachments as: .zip

Change History (10)

by pyrog, 10 years ago

Attachment: JOSM layers.png added

by pyrog, 10 years ago

by pyrog, 10 years ago

comment:1 by skyper, 10 years ago

Description: modified (diff)

added screenshots to description

comment:2 by Don-vip, 10 years ago

Component: CoreCore imagery
Milestone: 14.11

bing[22] is not the correct way, you should use type=bing&max_zoom=22. But we should not accept this type as WMS per default.

comment:3 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

In 7759/josm:

fix #10798 - throw exception with invalid imagery types

comment:4 by anonymous, 10 years ago

Sorry I made a wrong cut and paste ;-)

The URL tested is http://127.0.0.1:8111/imagery?title=Satellite%20Bing&type=bing&url=http://www.bing.com/maps/

you should use type=bing&max_zoom=22

Same result with max_zoom parameter ;-)

Also, with a wrong type (or without type) JOSM return always OK and add a new WMS layer (and of course, display nothing)
http://127.0.0.1:8111/imagery?type=dummy&url=http://www.bing.com/maps/
http://127.0.0.1:8111/imagery?url=http://www.bing.com/maps/

Request: could you use the default title if title parameter is no set ?
(actually, display 'Remote imagery' in english, and 'Contrôler l’imagerie' in french)

So the url could be simple and fine for every languages : http://127.0.0.1:8111/imagery?type=bing&url=http://www.bing.com/maps/

comment:5 by Don-vip, 10 years ago

Component: Core imageryCore remotecontrol

comment:6 by Don-vip, 10 years ago

In 7760/josm:

see #10798 - remote control: special handling of Bing (default title and layer icon) for imagery handler

comment:7 by pyrog, 10 years ago

Merci Vincent :-)

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.