Modify

Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#7910 closed defect (fixed)

Wrong suggested imagery layer providers

Reported by: Don-vip Owned by: team
Priority: normal Component: Core
Version: latest Keywords:
Cc:

Description

The idea of suggesting imagery layers when downloading OSM data is brilliant, thank you Simon :)

However, after downloading an area in the south-west of France (0.3526422,42.9022168,0.3801802,42.921897), I just had a popup suggesting me do enable three Spanish imagery providers:

  • Cadastro
  • IDEE
  • SIGPAC

None of their bounds run across France, so there is a problem here.

Attachments (0)

Change History (6)

comment:1 Changed 10 months ago by skyper

Had the same problem on the Azores:

  • MSR Maps Urban

Suggested extra provider did not have any images.

An option to add the provider only for this session would be nice, too.

Last edited 10 months ago by skyper (previous) (diff)

comment:2 Changed 10 months ago by stoecker

Did you check bounds of these providers? Maybe the use rectangular bounds?

comment:3 Changed 10 months ago by Don-vip

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

In 5381/josm:

fix #7910 - Wrong suggested imagery layer providers (use of shapes when defined)

comment:4 Changed 10 months ago by simon04

In 5388/josm:

see #7910 - fix r5381 - Wrong suggested imagery layer providers (use of shapes when defined)

comment:5 Changed 10 months ago by Don-vip

Got this NPE when opening http://josm.openstreetmap.de/raw-attachment/ticket/7889/test.osm

java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(Unknown Source)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:87)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.suggestImageryLayers(DownloadOsmTask.java:251)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.finish(DownloadOsmTask.java:230)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable$2.run(PleaseWaitRunnable.java:89)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:170)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

comment:6 Changed 10 months ago by Don-vip

In 5402/josm:

see #7910 - resolve NPE when trying to suggest imagery layers for a dataset without download bounds

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.