UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

43 lines (38 loc) 1.02 kB
import datasources from "./datasources.json" with { type: "json" }; import geographies from "./geographies.json" with { type: "json" }; import metrics from "./metrics.json" with { type: "json" }; import objectives from "./objectives.json" with { type: "json" }; import basic from "./basic.json" with { type: "json" }; import { ProjectClientBase, GeoprocessingJsonConfig, Package, } from "../../index.js"; const projectPackage: Package = { name: "test-project", version: "1.0.0", description: `Test project`, dependencies: {}, devDependencies: {}, author: "Test", license: "UNLICENSED", }; const gp: GeoprocessingJsonConfig = { author: "Test", organization: "Seasketch", region: "us-west-2", clients: [], preprocessingFunctions: [], geoprocessingFunctions: [], }; const projectClient = new ProjectClientBase({ datasources, geographies, metricGroups: metrics, precalc: [], objectives, basic, package: projectPackage, geoprocessing: gp, }); export default projectClient;