Opened 11 years ago
Closed 11 years ago
#10267 closed defect (fixed)
Non-functional decoding of JPEG imagery in Czech Republic
Reported by: | chrabros | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.07 |
Component: | Core imagery | Version: | latest |
Keywords: | JPEG decoding | Cc: |
Description (last modified by )
Hi,
JOSM is not able to display WMS imagery of the Czech Republic since some time ago.
I am not sure since which JOSM version this is, maybe it was related to switch to newer Java.
It seems to affect only Windows version as Linux users do not have this isssue.
It seems that JOSM is not able to decode JPEG properly. When the WMS is switched to PNG it works (but the image is worse so it is not a real work around).
Internet browser is able to decode the WMS link without any problems.
Can you please look into it and fix it?
Here is the example WMS link and error message: INFO: Grabbing WMS (attempt 4) http://geoportal.cuzk.cz/WMS_ORTOFOTO_PUB/service.svc/get?FORMAT=image/jpeg&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=GR_ORTFOTORGB&STYLES=&SRS=EPSG:4326&WIDTH=570&HEIGHT=520&BBOX=14.2942391,49.2568705,14.2960236,49.2579330 ERROR: javax.imageio.IIOException: Inconsistent metadata read from stream javax.imageio.IIOException: Inconsistent metadata read from stream at com.sun.imageio.plugins.jpeg.JPEGMetadata.<init>(Unknown Source) at com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(Unknown Source) at org.openstreetmap.josm.tools.ImageProvider.getTransparentColor(ImageProvider.java:1266) at org.openstreetmap.josm.tools.ImageProvider.read(ImageProvider.java:1237) at org.openstreetmap.josm.tools.ImageProvider.read(ImageProvider.java:1132) at org.openstreetmap.josm.io.imagery.WMSGrabber.grab(WMSGrabber.java:181) at org.openstreetmap.josm.io.imagery.WMSGrabber.fetch(WMSGrabber.java:70) at org.openstreetmap.josm.io.imagery.Grabber.attempt(Grabber.java:66) at org.openstreetmap.josm.io.imagery.Grabber.run(Grabber.java:50) at java.lang.Thread.run(Unknown Source)
Attachments (0)
Change History (3)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 14.07 |
In 7312/josm: