Revision 43510 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.csv/src/main/java/org/gvsig/fmap/dal/store/csv/CSVStoreProvider.java
CSVStoreProvider.java | ||
---|---|---|
622 | 622 |
if (this.type == DataTypes.GEOMETRY) { |
623 | 623 |
String s = ss[2].trim(); |
624 | 624 |
if (s.equalsIgnoreCase("line") || s.equalsIgnoreCase("linestring") || s.equalsIgnoreCase("curve")) { |
625 |
this.geometryType = Geometry.TYPES.CURVE;
|
|
625 |
this.geometryType = Geometry.TYPES.LINE;
|
|
626 | 626 |
} else if (s.equalsIgnoreCase("multiline") || s.equalsIgnoreCase("multilinestring") || s.equalsIgnoreCase("multicurve")) { |
627 |
this.geometryType = Geometry.TYPES.MULTICURVE;
|
|
627 |
this.geometryType = Geometry.TYPES.MULTILINE;
|
|
628 | 628 |
} else if (s.equalsIgnoreCase("point")) { |
629 | 629 |
this.geometryType = Geometry.TYPES.POINT; |
630 | 630 |
} else if (s.equalsIgnoreCase("multipoint")) { |
... | ... | |
632 | 632 |
} else if (s.equalsIgnoreCase("polygon") || s.equalsIgnoreCase("surface")) { |
633 | 633 |
this.geometryType = Geometry.TYPES.POLYGON; |
634 | 634 |
} else if (s.equalsIgnoreCase("multipolygon") || s.equalsIgnoreCase("multisurface")) { |
635 |
this.geometryType = Geometry.TYPES.MULTISURFACE;
|
|
635 |
this.geometryType = Geometry.TYPES.MULTIPOLYGON;
|
|
636 | 636 |
} |
637 | 637 |
this.size = 1; |
638 | 638 |
} else { |
Also available in: Unified diff