[Gvsig_usuarios] extension chgRaster
salva be
salvabelloto en gmail.com
Lun Jun 9 13:12:41 CEST 2008
Hola
Estoy probando a añadir también a gvSig la extensión de chgRaster (gvSIG
CHGRaster versión 0.3.1 Build 6 (03/04/2008 08:53)) pero me da el siguiente
problema al seleccionar un archivo mediante la pestaña "Modis":
ERROR 4: `C:\Documents and Settings\semamp\Mis
documentos\Proyectos_Trabajo\gvSig_112Confe\PullDir\0301329396MQwLec\MOD13Q1.A2008097.h17v05.005.2008118080920.hdf'
not recognised as a supported file format.
WARN [AWT-EventQueue-1] (?:?) - com.iver.andami.messages.Messages -- No se
encontró la traducción para PluginServices.Error grave de la aplicación.
Es conveniente que salgas de la aplicación
DEBUG [AWT-EventQueue-1] (NotificationManager.java:104) -
PluginServices.Error grave de la aplicación.
Es conveniente que salgas de la aplicación
java.lang.NoSuchMethodError:
org.cresques.io.GdalNativeReproj.getMetadata(Ljava/lang/String;)[Ljava/lang/String;
at org.cresques.io.GdalNativeReproj.getSubdatasetName(
GdalNativeReproj.java:135)
at org.cresques.io.GdalNativeReproj.init(GdalNativeReproj.java:61)
at org.cresques.io.GdalNativeReproj.<init>(GdalNativeReproj.java:50)
at org.cresques.io.GdalFileReproj.<init>(GdalFileReproj.java:54)
at org.gvsig.CHGRaster.modis.ui.main.ModisPanel.addFile(
ModisPanel.java:250)
at
org.gvsig.CHGRaster.modis.ui.listener.ModisPanelListener.actionPerformed(
ModisPanelListener.java:81)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(
AndamiEventQueue.java:58)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at com.iver.core.mdiManager.NewSkin.addJDialog(Unknown Source)
at com.iver.core.mdiManager.NewSkin.addWindow(Unknown Source)
at com.iver.cit.gvsig.AddLayer.addLayers(AddLayer.java:457)
at com.iver.cit.gvsig.AddLayer.execute(AddLayer.java:194)
at com.iver.andami.plugins.ExtensionDecorator.execute(
ExtensionDecorator.java:88)
at com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(
MDIFrame.java:631)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(
AndamiEventQueue.java:58)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
He visto que la clase "GdalNativeReproj" extiende de la clase "GdalNative"
y en el proyecto tengo en 3 sitios esta clase
(extgvSIGPiloto-Raster/lib/cms.jar, libFMap/lib/cms.jar y libCq_CMS for
java ) pero ninguna tiene el método "getMetadata(String)".
Para añadir esa extensión a gvSig, lo que he hecho es añadir en la carpeta
de _fwAndami lo siguiente:
-->En "gvSIG/extensiones" la extensiones
1º)org.gvsig.rasterCalculator
2º)org.gvsig.rasterStatistics
3º)org.gvsig.vectorialCut
4º)org.gvsig.chgRaster
-->En "gvSIG\extensiones\com.iver.cit.gvsig\drivers" la carpeta "modis"
-->En "gvSIG\extensiones\com.iver.cit.gvsig\lib" la librería
"org.gvsig.chgRaster.base.jar"
No se si hara falta algo más. Sin embargo, instalada sobre una versión
instalada de gvSig si funciona. ¿Alguien de gvSig sabría decirme que me
falta para que funcione correctamente?
Un saludo.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://runas.cap.gva.es/pipermail/gvsig_usuarios/attachments/20080609/7f712d2b/attachment.htm
Más información sobre la lista de distribución gvSIG_usuarios