Skip to content

Commit 9026b55

Browse files
committed
Remove rectangle geojson
1 parent 5e7efc8 commit 9026b55

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

tasks/topojson/process_geodata.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ async function createCoastlinesLayer({ bounds, name, resolution, source }) {
8686
}
8787

8888
async function createOceanLayer({ bounds, name, resolution, source }) {
89-
// const inputFilePath = './tasks/topojson/world_rectangle.geojson';
9089
const outputFilePath = `${outputDirGeojson}/${name}_${resolution}m/ocean.geojson`;
9190
const eraseFilePath = `${outputDirGeojson}/${unFilename}_${resolution}m/${source}.geojson`;
9291
const commands = [
@@ -214,7 +213,7 @@ async function convertLayersToTopojson({ name, resolution }) {
214213
const filePath = path.join(regionDir, file)
215214
const layer = file.split(".")[0]
216215
let stitchedGeojson = geoStitch(getJsonFile(filePath))
217-
stitchedGeojson = rewind(stitchedGeojson, true)
216+
// stitchedGeojson = rewind(stitchedGeojson, true)
218217
// fs.writeFileSync(filePath, JSON.stringify(stitchedGeojson));
219218
geojsonObjects[layer] = stitchedGeojson
220219
// geojsonObjects[layer] = getJsonFile(filePath)

tasks/topojson/world_rectangle.geojson

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)