Revision 34899 branches/v2_0_0_prep/libraries/libFMap_dalfile/src/org/gvsig/fmap/dal/store/dgn/DGNStoreProvider.java

View differences:

DGNStoreProvider.java
370 370
					NAME_FIELD_GEOMETRY, DataTypes.GEOMETRY);
371 371
			attr.setSRS(this.projection);
372 372
			attr.setGeometryType(Geometry.TYPES.GEOMETRY);
373
			attr.setGeometrySubType(Geometry.SUBTYPES.GEOM2DZ);
373
			attr.setGeometrySubType(Geometry.SUBTYPES.GEOM3D);
374 374
//			ID_FIELD_GEOMETRY = attr.getIndex();
375 375

  
376 376
			featureType.setDefaultGeometryAttributeName(NAME_FIELD_GEOMETRY);
......
862 862
				// point = (Point) geomManager.create(TYPES.POINT,
863 863
				// SUBTYPES.GEOM3D);
864 864
				point = (Point) geomManager.create(TYPES.POINT,
865
						SUBTYPES.GEOM2DZ);
865
						SUBTYPES.GEOM3D);
866 866
			} catch (CreateGeometryException e) {
867 867
				throw new org.gvsig.fmap.dal.feature.exception.CreateGeometryException(
868 868
						e);

Also available in: Unified diff