gvSIG bugs #1657
Error exporting layers to SHP format
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Urgent | Spent time: | - | |
Assignee: | Juan Lucas Domínguez | |||
Category: | Vector editing | |||
Target version: | 2.0.0-final | |||
Severity: | Add-on version: | |||
gvSIG version: | 2.0.0 | Add-on build: | ||
gvSIG build: | 2064 | Add-on resolve version: | ||
Operative System: | Add-on resolve build: | |||
Keywords: | Proyecto: | |||
Has patch: | No | Hito: | ||
Add-on name: | Unknown |
Description
When the source has fields with more than eleven characters, the application shows an error
java.lang.IllegalArgumentException: Attribute name 'Unidad_medi' not found in the feature.
at org.gvsig.fmap.dal.feature.impl.DefaultFeature.get(DefaultFeature.java:281)
at org.gvsig.exportto.swing.prov.shape.ExporttoShapeService.setNonNulls(ExporttoShapeService.java:416)
at org.gvsig.exportto.swing.prov.shape.ExporttoShapeService.export(ExporttoShapeService.java:337)
at org.gvsig.exportto.swing.prov.shape.ExporttoShapeService.export(ExporttoShapeService.java:169)
at org.gvsig.exportto.swing.impl.DefaultJExporttoServicePanel$Export.run(DefaultJExporttoServicePanel.java:231)
The problem is that the field name is cut to be exported to SHP format. After cut, this field is requested to the source with the short name.
Other problem is that, if the source has two fields which the eleven first characters are equal there will be a problem exporting to SHP format
Related issues
History
#1 Updated by Manuel Madrid over 11 years ago
- Priority changed from Normal to Urgent
#2 Updated by Manuel Madrid over 11 years ago
- Category set to Vector editing
#3 Updated by Manuel Madrid about 11 years ago
- Assignee set to Juan Lucas Domínguez
#4 Updated by Juan Lucas Domínguez about 11 years ago
- Status changed from New to Fixed
Renamed long names to short ones also avoiding repetitions. Finally a dialog informs of changes in names.
#5 Updated by Álvaro Anguix over 10 years ago
- Status changed from Fixed to Closed