uDIG

Rendering World Images

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: UDIG 0.8
  • Fix Version/s: None
  • Component/s: framework
  • Labels:
    None
  • Environment:
    Win2K, standalone with test files.

Description

Here's what seems to be going on. I use the wizard to import a standalone image file. It won't allow me to type in a "file://.." type URL that a browser will use. It ends up storing the filename as "C:\blah.jpg" The problem is that the renderer doesn't seem to like this too much. This is the stack trace of the error, if that helps.

Problem reading/rendering world image files.

!ENTRY net.refractions.udig.render.gridcoverage.basic 4 0 2005-01-31 13:58:36.52
!MESSAGE C
!STACK 0
java.net.UnknownHostException: C
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.NetworkClient.openServer(Unknown Source)
at sun.net.ftp.FtpClient.openServer(Unknown Source)
at sun.net.ftp.FtpClient.openServer(Unknown Source)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.geotools.gce.image.WorldImageReader.read(WorldImageReader.java:179)
at net.refractions.udig.catalog.internal.worldimage.WorldImageGeoResource.findResource(WorldImageGeoResource.java:121)
at net.refractions.udig.project.impl.LayerImpl$LayerResource.findResource(LayerImpl.java:977)
at net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.prepareRender(BasicGridCoverageRenderer.java:104)
at net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(BasicGridCoverageRenderer.java:78)
at net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.render(BasicGridCoverageRenderer.java:69)
at net.refractions.udig.project.render.impl.RenderExecutorImpl$RenderJob.run(RenderExecutorImpl.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Issue Links

Activity

Hide
Jody Garnett added a comment -
Wendy Edwards: Can you please provide us the URL you were using, or any additional details. I am not sure we can reproduce your problem from just a strack trace.
Show
Jody Garnett added a comment - Wendy Edwards: Can you please provide us the URL you were using, or any additional details. I am not sure we can reproduce your problem from just a strack trace.
Hide
Jody Garnett added a comment -
Could you provide any more details on the URL you were trying to hit?
I understand this may be an internal server or something, it looks like you were trying
to work against an FTP server? With a host called "C".

Perhaps you ment to use a File url? An easy check is to locate the file using your web browser and copy and paste the file url over.
Show
Jody Garnett added a comment - Could you provide any more details on the URL you were trying to hit? I understand this may be an internal server or something, it looks like you were trying to work against an FTP server? With a host called "C". Perhaps you ment to use a File url? An easy check is to locate the file using your web browser and copy and paste the file url over.
Hide
Wendy Edwards added a comment -
Actually, I was trying to use a standalone file, but when I tried to post the URL from the browser ("file://...") into the wizard, it wouldn't let me - it claimed that the path was invalid.
Show
Wendy Edwards added a comment - Actually, I was trying to use a standalone file, but when I tried to post the URL from the browser ("file://...") into the wizard, it wouldn't let me - it claimed that the path was invalid.
Hide
Jesse Eichar added a comment -
Improved world image support has been added and is continually being improved.
Show
Jesse Eichar added a comment - Improved world image support has been added and is continually being improved.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: