This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var shapefile = require("shapefile"); | |
| const cover = require('@mapbox/tile-cover'); | |
| const fs = require('fs'); | |
| async function main() { | |
| const shp = await shapefile.read("~lds-nz-imagery-surveys-SHP/nz-imagery-surveys_wgs.shp") | |
| console.log(shp) | |
| var limits = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const csvWriter = require('csv-write-stream') | |
| const shapefile = require("shapefile"); | |
| const cover = require('@mapbox/tile-cover'); | |
| const fs = require('fs'); | |
| async function main() { | |
| const shp = await shapefile.read('~/nz-imagery-surveys_wgs.shp'); | |
| //console.log(shp) |
OlderNewer