unfolding
unfolding copied to clipboard
MapProvider: Various do not work
The following MapProviders need to be updated for version 3
AcetatProvider
- All: fail!
- Basemap: fail!
- Foreground: fail!
- Hillshading: fail!
- Labels: fail!
- Roads: fail!
- Terrain: fail!
For all nested classes the app window opens up but stays gray.Console prints following error:
java.net.UnknownHostException: a.acetate.geoiq.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://a.acetate.geoiq.com/tiles/acetate-hillshading/10/550/335.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
EsriProvider
- Delorme: okay!
- NatGeoWorldMap: okay!
- OceanBasemap: okay!
- WorldGrayCanvas: okay!
- WorldPhysical: fail!
- WorldShadedRelief: okay!
- WorldStreetMap: okay!
- WorldTerrain: okay!
EsriProvider.WorldPhysical
No app window opens up. Console prints following error:
The file "http://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/tile/10/335/550.jpg" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
ImmoScout
- HeatMapProvider: fail!
ImmoScout.HeatMapProvider
App window opens without content: Console prints out follow ing error:
java.net.UnknownHostException: heatmaps.immobilienscout24.de
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://heatmaps.immobilienscout24.de/geoserver/gmwmsproxy?layer=q22011_q22012_Wohnung_Miete_@@@@&z=10&x=549&y=336" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
MapBox
- BlankProvider: fail!
- ControlRoomProvider: fail!
- LacquerProvider: fail!
- MuseDarkStyleProvider: fail!
- PlainUSAProvider: fail!
- WorldLightProvider: okay!
BlankProvider
Console Ausgabe: Cannot instantiate the type MapBox.BlankProvider
Aber wenn ich das richtig verstehe, handelt es sich hierbei eher um eine Enclosing Class.
ControlRoomProvider
LacquerProvider
For every necessary tile, the console prints out the following error:
The file "http://c.tile.mapbox.com/mapbox/1.0.0/control-room/10/550/687.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
MuseDarkStyleProvider
For every necessary tile, the console prints out the following error:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://localhost:8889/1.0.0/aHR0cDovL2xvY2FsaG9zdDo4ODg5L2FwaS9Qcm9qZWN0L2NvbnRyb2xfcm9vbT8xMzA3MjEwNDEw/10/547/687.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
Why does it look for localhost?
PlainUSAProvider
For every necessary tile, the console prints out the following error:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://localhost:8889/1.0.0/plain-usa/10/552/685.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
MBTilesMapProvider
Console prints out:
java.lang.ClassNotFoundException: org.sqlite.JDBC
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at de.fhpotsdam.unfolding.tiles.MBTilesLoaderUtils.getMBTileData(Unknown Source)
at de.fhpotsdam.unfolding.tiles.MBTilesLoaderUtils.getMBTile(Unknown Source)
at de.fhpotsdam.unfolding.providers.MBTilesMapProvider.getTile(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
OpenMapSurferProvider
- Grayscale: fail!
- Roads: fail!
Grayscale
Roads
App window opens but stays empty. No error in console:
OpenStreetMap
- CloudmadeProvider: Leider keine ID und keinen Style, deshalb kein Test, sorry!
- OSMGrayProvider: seeeehhhhr laaaaangsaaaaam, aber funktioniert!
OpenWeatherProvider
- Clouds:fail!
- CloudsClassic:fail!
- Precipitation: fail!
- PrecipitationClassic: not tested
- Pressure: not tested
- PressureContour: not tested
- Rain: not tested
- RainClassic: not tested
- Snow: not tested
- Temperature: not tested
- Wind: not tested
Clouds
Empty app window. Following error in console.
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://tile.openweathermap.org/map/clouds/10/549/335.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
CloudsClassic
Empty app window. Following error in console.
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://tile.openweathermap.org/map/clouds_cls/10/550/337.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
Precipitation
Empty app window. Following error in console.
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The file "http://tile.openweathermap.org/map/precipitation/10/549/336.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
Yahoo
- AerialProvider: fail!
- HybridProvider: fail!
- RoadProvider: fail!
AerialProvider
HybridProvider
RoadProvider
Following error in console.
java.io.IOException: Server returned HTTP response code: 503 for URL: http://us.maps3.yimg.com/aerial.maps.yimg.com/tile?v=1.7&t=a&x=549&y=178&z=8
at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at processing.core.PApplet.createInputRaw(PApplet.java:6742)
at processing.core.PApplet.createInput(PApplet.java:6693)
at processing.core.PApplet.loadBytes(PApplet.java:6912)
at processing.core.PApplet.loadImage(PApplet.java:5292)
at de.fhpotsdam.unfolding.tiles.TileLoader.getTileFromUrl(Unknown Source)
at de.fhpotsdam.unfolding.tiles.TileLoader.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://us.maps3.yimg.com/aerial.maps.yimg.com/tile?v=1.7&t=a&x=549&y=178&z=8
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at processing.core.PApplet.createInputRaw(PApplet.java:6735)
... 6 more
The file "http://us.maps3.yimg.com/aerial.maps.yimg.com/tile?v=1.7&t=a&x=549&y=178&z=8" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
I ran into a similar (but still somewhat different) scenario. If you notice in the main methods the fully qualified name of your class is passed into PApplet as follows: PApplet.main(new String[] { "de.fhpotsdam.unfolding.examples.data.GPXTrackApp" });
However, the packages for examples have been rearranged without updating those string constants, and passing in the wrong name can lead to all sorts of errors. When I run into this issues I modify the code as follows: PApplet.main(new String[] { GPXTrackApp.class.getName() });
Send us an e-mail to get the Unfolding beta for P3.