[Gvsig_usuarios] Sugerencias...
Javier Sánchez
javiersanp en gmail.com
Lun Mar 26 15:06:53 CEST 2007
Hola
Aprovecho para presentarme, me llamo Javier y soy nuevo en la lista.
El 26/03/07, Nacho Uve <nachouve en gmail.com> escribió:
> 3.- ¿Es posible modificar las columnas de un Shapefile una vez cargado o
> creado (modificar nombre de los atributos, eliminar campos, crear nuevos,
> etc)?
Nacho, si es posible. Entra en edición del shapefile, visualiza la
tabla de atributos y, en el menú tabla, modificar estructura de tabla.
Aprovecho también para comentar lo que creo es un error del programa.
Cuando en una vista se crea una nueva capa shapefile (Vista>Nueva
capa>nuevo shp), al introducir la ruta del fichero, si se pone sólo el
nombre sin la extensión se produce un error. Estoy con la versión
1.0.1 build 889.
Adjunto informe del error
Saludos.
java.lang.NullPointerException java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter.setOriginalVectorialAdapter(VectorialEditableAdapter.java:312)
com.iver.cit.gvsig.fmap.layers.FLyrVect.setEditing(FLyrVect.java:1160)
com.iver.cit.gvsig.gui.cad.MyFinishAction.performAction(MyFinishAction.java:258)
jwizardcomponent.DefaultJWizardComponents.finishButton_actionPerformed(DefaultJWizardComponents.java:206)
jwizardcomponent.DefaultJWizardComponents$4.actionPerformed(DefaultJWizardComponents.java:194)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source) java.awt.Component.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) java.awt.Dialog$1.run(Unknown Source)
java.awt.Dialog.show(Unknown Source)
java.awt.Component.show(Unknown Source)
java.awt.Component.setVisible(Unknown Source)
com.iver.core.mdiManager.NewSkin.addJDialog(NewSkin.java:505)
com.iver.core.mdiManager.NewSkin.addWindow(NewSkin.java:227)
com.iver.cit.gvsig.CreateNewLayer.execute(CreateNewLayer.java:120)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown
Source) java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter.setOriginalVectorialAdapter(VectorialEditableAdapter.java:312)
com.iver.cit.gvsig.fmap.layers.FLyrVect.setEditing(FLyrVect.java:1160)
com.iver.cit.gvsig.gui.cad.MyFinishAction.performAction(MyFinishAction.java:258)
jwizardcomponent.DefaultJWizardComponents.finishButton_actionPerformed(DefaultJWizardComponents.java:206)
jwizardcomponent.DefaultJWizardComponents$4.actionPerformed(DefaultJWizardComponents.java:194)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source) java.awt.Component.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) java.awt.Dialog$1.run(Unknown Source)
java.awt.Dialog.show(Unknown Source)
java.awt.Component.show(Unknown Source)
java.awt.Component.setVisible(Unknown Source)
com.iver.core.mdiManager.NewSkin.addJDialog(NewSkin.java:505)
com.iver.core.mdiManager.NewSkin.addWindow(NewSkin.java:227)
com.iver.cit.gvsig.CreateNewLayer.execute(CreateNewLayer.java:120)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown
Source) java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
Más información sobre la lista de distribución gvSIG_usuarios