[talk-au] NearMap PhotoMap imagery for OSM

Peter Ross peter at emailross.com
Thu Nov 5 23:15:08 GMT 2009


On Thu, Nov 5, 2009 at 7:12 PM, Michael <spam-me at gmx-ist-cool.de> wrote:
> John Smith wrote:
>> I know it's not a WMS service, but that's what JOSM refers to it as,
>> their WMS plugin can load OSM tiles in the same way.
>
> Nice. JOSM keeps learning new tricks all the time :-)
>
> In the meantime, I have also created a patch for the slippymap plugin to
> include NearMap per default. It is attached. The resulting plugin can be
> found @ http://rapidshare.com/files/302644272/slippymap.jar.html
>
> What I like about slippymap is that is zooms in and out as you move
> about the map, where the WMS layer stays fixed at one zoom level.
>
I tried this plugin with the latest josm-tested.jar from the josm
website and got the following exception.

org.openstreetmap.josm.plugins.PluginException: An error occurred in
plugin slippymap
	at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:33)
	at org.openstreetmap.josm.plugins.PluginHandler.setMapFrame(PluginHandler.java:194)
	at org.openstreetmap.josm.Main.setMapFrame(Main.java:162)
	at org.openstreetmap.josm.Main.addLayer(Main.java:219)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$Task.finish(DownloadOsmTask.java:128)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:69)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
	at java.awt.Dialog$1.run(Dialog.java:1045)
	at java.awt.Dialog$3.run(Dialog.java:1097)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:1095)
	at java.awt.Component.show(Component.java:1563)
	at java.awt.Component.setVisible(Component.java:1515)
	at java.awt.Window.setVisible(Window.java:841)
	at java.awt.Dialog.setVisible(Dialog.java:985)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:102)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:30)
	... 27 more
Caused by: java.lang.NoSuchMethodError:
org.openstreetmap.gui.jmapviewer.OsmTileSource$AbstractOsmTileSource.<init>(Ljava/lang/String;Ljava/lang/String;)V
	at org.openstreetmap.josm.plugins.slippymap.SlippyMapPreferences$Coastline.<init>(SlippyMapPreferences.java:231)
	at org.openstreetmap.josm.plugins.slippymap.SlippyMapPreferences.getAllMapSources(SlippyMapPreferences.java:339)
	at org.openstreetmap.josm.plugins.slippymap.SlippyMapPreferences.getMapSource(SlippyMapPreferences.java:40)
	at org.openstreetmap.josm.plugins.slippymap.SlippyMapLayer.newTileStorage(SlippyMapLayer.java:115)
	at org.openstreetmap.josm.plugins.slippymap.SlippyMapLayer.<init>(SlippyMapLayer.java:141)
	at org.openstreetmap.josm.plugins.slippymap.SlippyMapPlugin.mapFrameInitialized(SlippyMapPlugin.java:24)
	... 32 more




More information about the Talk-au mailing list