[Gvsig_english] Error When Exporting from Map with a Raster Layer

phredd phredd at gmail.com
Sun Aug 7 17:38:38 CEST 2011


I am attempting to export a map with a raster layer (in JPG format) on top of
the shape files it's been rectified to.  I've tried both with the pdf and
the postscript options and receive the same error.  I have tried this with
1.10 on OS X and with 1.11 on Linux and again received the same error.  

I have also converted my JPG files to TIFF with no change in results.  

Any suggestions?  Relevant excerpt from my logs below.  This excerpt comes
from my Linux install.  

2.6.32-33-generic #71-Ubuntu SMP Wed Jul 20 17:30:40 UTC 2011 i686 GNU/Linux

Thanks very much!

--

DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Execute
command:PDF
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - Can´t
read the driver:  
Can´t read the driver:  
	at org.gvsig.fmap.raster.layers.FLyrRasterSE.draw(FLyrRasterSE.java:656)
	at org.gvsig.fmap.raster.layers.FLyrRasterSE.print(FLyrRasterSE.java:1103)
	at
com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.print(DefaultMapContextDrawer.java:237)
	at
com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.print(DefaultMapContextDrawer.java:496)
	at com.iver.cit.gvsig.fmap.MapContext.print(MapContext.java:724)
	at
com.iver.cit.gvsig.project.documents.layout.fframes.FFrameView.printX(FFrameView.java:507)
	at
com.iver.cit.gvsig.project.documents.layout.fframes.FFrameView.draw(FFrameView.java:464)
	at
com.iver.cit.gvsig.project.documents.layout.fframes.FFrameView.print(FFrameView.java:492)
	at
com.iver.cit.gvsig.project.documents.layout.gui.Layout.drawLayoutPrint(Layout.java:198)
	at com.iver.cit.gvsig.Print.drawShapes(Print.java:126)
	at com.iver.cit.gvsig.Print.print(Print.java:195)
	at
com.iver.cit.gvsig.project.documents.layout.FLayoutDraw.toPDF(FLayoutDraw.java:756)
	at
com.iver.cit.gvsig.project.documents.layout.gui.Layout.layoutToPDF(Layout.java:631)
	at
com.iver.cit.gvsig.project.documents.layout.gui.Layout.layoutToPDF(Layout.java:667)
	at
com.iver.cit.gvsig.ExportLayoutExtension.execute(ExportLayoutExtension.java:92)
	at
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
	at com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6203)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:5968)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4564)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4390)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4390)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$2.run(EventQueue.java:622)
	at java.awt.EventQueue$2.run(EventQueue.java:620)
	at java.security.AccessController.doPrivileged(Native Method)
	at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
	at
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: org.gvsig.raster.dataset.io.RasterDriverException: Error reading
data
	at
org.gvsig.raster.dataset.io.GdalDriver.getWindowRaster(GdalDriver.java:316)
	at
org.gvsig.raster.dataset.MultiRasterDataset.getWindowRaster(MultiRasterDataset.java:446)
	at
org.gvsig.raster.buffer.BufferFactory.setAreaOfInterest(BufferFactory.java:294)
	at org.gvsig.raster.grid.render.Rendering.draw(Rendering.java:274)
	at org.gvsig.fmap.raster.layers.FLyrRasterSE.draw(FLyrRasterSE.java:688)
	at org.gvsig.fmap.raster.layers.FLyrRasterSE.draw(FLyrRasterSE.java:654)
	... 55 more

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-When-Exporting-from-Map-with-a-Raster-Layer-tp6661958p6661958.html
Sent from the gvSIG users mailing list archive at Nabble.com.


More information about the Gvsig_internacional mailing list