gvSIG bugs #3132
Falla la exportacion a dxf de un shape 3d.
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | - | |||
Category: | Document view | |||
Target version: | 2.2.0-2311-rc2 | |||
Severity: | Minor | Add-on version: | ||
gvSIG version: | 2.1.0 | Add-on build: | ||
gvSIG build: | 2263 | Add-on resolve version: | ||
Operative System: | Add-on resolve build: | |||
Keywords: | Proyecto: | |||
Has patch: | Hito: | |||
Add-on name: | Unknown |
Description
Si intentamos exportar a dxf un shape 3d se produce un error y no lo exporta.
Para reproducirlo:
- crear una vista
- Cargar la capa cv05_3d_polygons (http://downloads.gvsig.org/download/geodata/vector/SHP3D/Alicante_cv05-3d_ICV_SHP3d.zip)
- Exportar y seleccionar dxf.
Se produce el siguiente error:
INFO [Thread-6] (DefaultJExporttoServicePanel.java:272) - Exporting 'cv05_3d_polygons' using 'org.gvsig.exportto.swing.prov.dxf.ExporttoDXFService' (/home/jjdelcerro/datos/geodata/vector/shp3d/cv05_3d_polygons/cv05_3d_polygons.shp). INFO [Thread-6] (DXFStoreProvider.java:548) - load: acadVersion = 'ACAD2000' WARN [Thread-6] (DefaultJExporttoServicePanel.java:276) - Problems exporting the data (layer=cv05_3d_polygons). org.gvsig.exportto.ExporttoServiceException: An error has been produced exporting a store at org.gvsig.exportto.impl.DefaultExporttoService.export(DefaultExporttoService.java:116) at org.gvsig.exportto.swing.prov.file.AbstractExporttoFileService.export(AbstractExporttoFileService.java:125) at org.gvsig.exportto.swing.impl.DefaultJExporttoServicePanel$Export.run(DefaultJExporttoServicePanel.java:274) Caused by: org.gvsig.fmap.dal.exception.WriteException: Exception writing '/tmp/pp.dxf'. at org.gvsig.fmap.dal.feature.impl.DefaultFeatureStore.finishEditing(DefaultFeatureStore.java:1222) at org.gvsig.exportto.impl.DefaultExporttoService.export(DefaultExporttoService.java:111) ... 2 more Caused by: org.gvsig.fmap.dal.feature.exception.PerformEditingException: Can't perform changes in 'org.gvsig.fmap.dal.resource.file.FileResource@551470das'. at org.gvsig.fmap.dal.store.dxf.DXFStoreProvider.performChanges(DXFStoreProvider.java:374) at org.gvsig.fmap.dal.feature.impl.DefaultFeatureStore.finishEditing(DefaultFeatureStore.java:1211) ... 3 more Caused by: Error executing action in resource 'org.gvsig.fmap.dal.resource.file.FileResource@551470da'. at org.gvsig.fmap.dal.resource.spi.AbstractResource.execute(AbstractResource.java:318) at org.gvsig.fmap.dal.store.dxf.DXFStoreProvider.performChanges(DXFStoreProvider.java:326) ... 4 more Caused by: org.gvsig.fmap.dal.exception.WriteException: Exception writing '/tmp/pp.dxf'. at org.gvsig.fmap.dal.store.dxf.DXFStoreProvider$Writer.add(DXFStoreProvider.java:886) at org.gvsig.fmap.dal.store.dxf.DXFStoreProvider$2.run(DXFStoreProvider.java:346) at org.gvsig.fmap.dal.resource.spi.AbstractResource.performExecution(AbstractResource.java:327) at org.gvsig.fmap.dal.resource.spi.AbstractResource.execute(AbstractResource.java:316) ... 5 more Caused by: java.lang.ClassCastException: org.gvsig.fmap.geom.generalpath.primitive.surface.polygon.Polygon2DZ cannot be cast to org.gvsig.fmap.geom.primitive.Curve at org.gvsig.fmap.dal.store.dxf.DXFStoreProvider$Writer.createPolyline3D(DXFStoreProvider.java:1224) at org.gvsig.fmap.dal.store.dxf.DXFStoreProvider$Writer.add(DXFStoreProvider.java:857) ... 8 more
Associated revisions
refs #3132, correccion de fallo al exportar shp 3d a dxf
History
#1
Updated by Joaquín del Cerro Murciano over 9 years ago
- gvSIG build set to 2263
#2
Updated by Álvaro Anguix over 9 years ago
- Category set to Document view
#3
Updated by Álvaro Anguix over 9 years ago
- Status changed from New to Closed
Con el build 2312 funciona bien
#4
Updated by Joaquín del Cerro Murciano about 9 years ago
- Target version set to 2.2.0-2311-rc2