UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

14 lines (10 loc) 416 B
import path from "node:path"; export function getJsonPath(dstPath: string, datasourceId: string) { return path.join(dstPath, datasourceId) + ".json"; } export function getFlatGeobufPath(dstPath: string, datasourceId: string) { return path.join(dstPath, datasourceId) + ".fgb"; } export function getGeopackagePath(dstPath: string, datasourceId: string) { return path.join(dstPath, datasourceId) + ".gpkg"; }