public GeometricAttributeType(String name, Class type, boolean nillable, int min, int max, Object defaultValue, CoordinateReferenceSystem crs, Filter filter) { super(createAttributeType(name, type, crs,filter), name, nillable,min,max,defaultValue); geometryFactory = getCoordinateSystem() == null ? CSGeometryFactory.DEFAULT : new CSGeometryFactory(getCoordinateSystem()); /* coordinateSystem = (cs != null) ? cs : LocalCoordinateSystem.CARTESIAN; geometryFactory = (cs == LocalCoordinateSystem.CARTESIAN) ? CSGeometryFactory.DEFAULT : new CSGeometryFactory(cs); */ }