import debug from 'debug';
import 'jszip';
import '@modusjs/units';
import '@modusjs/units/dist/index.js';
import '@modusjs/industry';
// @ts-expect-error need to make types for wicket...
import wicket from 'wicket';
import { flatten } from './slim.js';
const error = debug('@modusjs/convert#togeojson:error');
const warn = debug('@modusjs/convert#togeojson:error');
const info = debug('@modusjs/convert#togeojson:info');
const trace = debug('@modusjs/convert#togeojson:trace');
const DEPTHUNITS = 'cm';
const wkt = new wicket.Wkt();
// This function will attempt to convert all the input files into an array of Modus JSON files
export function toGeoJson(input) {
    let results = {
        type: 'FeatureCollection',
        features: []
    };
    const flat = flatten(input);
    for (const [key, sample] of Object.entries(flat.samples || {})) {
    }
    return results;
}
//# sourceMappingURL=geojson.js.map