Modify

Opened 16 years ago

Closed 16 years ago

#2889 closed defect (wontfix)

JOSM cannot import image

Reported by: h4ck3rm1k3 Owned by: h4ck3rm1k3
Priority: major Milestone:
Component: Core Version: latest
Keywords: image Cc:

Description (last modified by stoecker)

Use the latest svn trunk (1755 svn), built from scratch.
java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu10)
OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)

uname -a
Linux anarion.middleearth.rrota 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux

Backtrace :
java.io.IOException: No time for point 42.651 x 21.147

at org.openstreetmap.josm.gui.layer.GeoImageLayer$Loader.realRun(GeoImageLayer.java:292)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:144)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)

image is http://img200.imageshack.us/i/smailc.jpg/

Now this image import, does it only work on data points (image annotations)
or can I use it as an overlay? I would like to import an overlay.

thanks,
mike

Attachments (0)

Change History (4)

comment:1 by jttt, 16 years ago

Owner: changed from team to h4ck3rm1k3
Status: newneedinfo

This is related to the gpx file you loaded, not the image. Can you please post the gpx file as well?

comment:2 by h4ck3rm1k3, 16 years ago

Hi
The image was for the Gjakova, Kosovo
(listed as Đakovica, Serbia)
mlat=42.3802778
mlon=20.4308333
zoom=12

comment:3 by xeen, 16 years ago

I've read your post three times and I still don't get what you wanted to do. Does this problem still occour in a recent JOSM version? Does this problem occur with java-6-sun? OpenJDK has many known problems, so please test Sun's version first. What did you do to get the bug message attached in your first post? If you want to load an image as background layer (i.e. "custom wms") use one of the services listed in WMS -> Rectified Image or try the "PicLayer" plugin which should allow similar things (I don't know if it supports geo referencing though).

Also, the image that is hosted on imageshack is a computer-drawn face, can you please upload the real GPX track and image? Or did you really try to import /this/ image?!

comment:4 by stoecker, 16 years ago

Description: modified (diff)
Resolution: wontfix
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain h4ck3rm1k3.
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.