[Gvsig_english] gvsig 1.9 Build 1445-Errors opening dwg and kml-

Tiller.Karl at nwsc.co.ug Tiller.Karl at nwsc.co.ug
Thu Sep 3 07:40:47 CEST 2009


Dear all,

I tested to load DWG and KML-files into gvSIG1.9 Build 1445.

For some files the DWG-reader did not work and I got an error list (see 
below). 

The KML-reader displays a message that all single objects are displayed in 
one layer. Thats"s ok. The TOC is visible but does not display the 
objects. I tested the zomm to layer extent, but also this did not bring up 
the objects.
The georeference is set to EPSG 4326.
Pls find attached the file.


It would also be very good to support KMZ-files.

Best regards
Karl


ERROR List reading in DWG
Error no capturado por el usuario
java.lang.ClassCastException: java.awt.geom.Point2D$Double
 
com.iver.cit.jdwglib.util.GisModelCurveCalculator.calculateGisModelBulge(GisModelCurveCalculator.java:247)
 
com.iver.cit.jdwglib.dwg.objects.DwgPolyline2D.calculateGisModel(DwgPolyline2D.java:371)
 
com.iver.cit.jdwglib.dwg.DwgFile.calculateGisModelDwgPolylines(DwgFile.java:503)
 
com.iver.cit.gvsig.drivers.dwg.DwgMemoryDriver.initialize(DwgMemoryDriver.java:237)
 
com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.start(VectorialFileAdapter.java:109)
 
com.iver.cit.gvsig.fmap.layers.LayerFactory.createLayer(LayerFactory.java:225)
 
com.iver.cit.gvsig.addlayer.fileopen.vectorial.VectorialFileOpen.createLayer(VectorialFileOpen.java:113)
 com.iver.cit.gvsig.addlayer.fileopen.MyFile.createLayer(MyFile.java:41)
 
com.iver.cit.gvsig.addlayer.fileopen.FileOpenWizard.execute(FileOpenWizard.java:404)
 
com.iver.cit.gvsig.AddLayer.loadGenericWizardPanelLayers(AddLayer.java:233)
    com.iver.cit.gvsig.AddLayer.addLayers(AddLayer.java:282)
    com.iver.cit.gvsig.AddLayer.execute(AddLayer.java:178)
 
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
 com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:673)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.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.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.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.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source)
Error no capturado por el usuario
java.lang.ClassCastException: java.awt.geom.Point2D$Double
 
com.iver.cit.jdwglib.util.GisModelCurveCalculator.calculateGisModelBulge(GisModelCurveCalculator.java:247)
 
com.iver.cit.jdwglib.dwg.objects.DwgPolyline2D.calculateGisModel(DwgPolyline2D.java:371)
 
com.iver.cit.jdwglib.dwg.DwgFile.calculateGisModelDwgPolylines(DwgFile.java:503)
 
com.iver.cit.gvsig.drivers.dwg.DwgMemoryDriver.initialize(DwgMemoryDriver.java:237)
 
com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.start(VectorialFileAdapter.java:109)
 
com.iver.cit.gvsig.fmap.layers.LayerFactory.createLayer(LayerFactory.java:225)
 
com.iver.cit.gvsig.addlayer.fileopen.vectorial.VectorialFileOpen.createLayer(VectorialFileOpen.java:113)
 com.iver.cit.gvsig.addlayer.fileopen.MyFile.createLayer(MyFile.java:41)
 
com.iver.cit.gvsig.addlayer.fileopen.FileOpenWizard.execute(FileOpenWizard.java:404)
 
com.iver.cit.gvsig.AddLayer.loadGenericWizardPanelLayers(AddLayer.java:233)
    com.iver.cit.gvsig.AddLayer.addLayers(AddLayer.java:282)
    com.iver.cit.gvsig.AddLayer.execute(AddLayer.java:178)
 
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
 com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:673)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.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.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.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.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source)
Error no capturado por el usuario
java.lang.ClassCastException: java.awt.geom.Point2D$Double
 
com.iver.cit.jdwglib.util.GisModelCurveCalculator.calculateGisModelBulge(GisModelCurveCalculator.java:247)
 
com.iver.cit.jdwglib.dwg.objects.DwgPolyline2D.calculateGisModel(DwgPolyline2D.java:371)
 
com.iver.cit.jdwglib.dwg.DwgFile.calculateGisModelDwgPolylines(DwgFile.java:503)
 
com.iver.cit.gvsig.drivers.dwg.DwgMemoryDriver.initialize(DwgMemoryDriver.java:237)
 
com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.start(VectorialFileAdapter.java:109)
 
com.iver.cit.gvsig.fmap.layers.LayerFactory.createLayer(LayerFactory.java:225)
 
com.iver.cit.gvsig.addlayer.fileopen.vectorial.VectorialFileOpen.createLayer(VectorialFileOpen.java:113)
 com.iver.cit.gvsig.addlayer.fileopen.MyFile.createLayer(MyFile.java:41)
 
com.iver.cit.gvsig.addlayer.fileopen.FileOpenWizard.execute(FileOpenWizard.java:404)
 
com.iver.cit.gvsig.AddLayer.loadGenericWizardPanelLayers(AddLayer.java:233)
    com.iver.cit.gvsig.AddLayer.addLayers(AddLayer.java:282)
    com.iver.cit.gvsig.AddLayer.execute(AddLayer.java:178)
 
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
 com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:673)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.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.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.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.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20090903/c3d8b7bc/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TEST LUG.kml
Type: application/octet-stream
Size: 5302 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20090903/c3d8b7bc/attachment.obj 


More information about the Gvsig_internacional mailing list