forked from MapComplete/MapComplete
Translations
This commit is contained in:
parent
0cfc675444
commit
4c9474f6d0
6 changed files with 58 additions and 22 deletions
|
@ -2,7 +2,7 @@ import * as fs from "fs";
|
|||
|
||||
function main(args) {
|
||||
if (args.length < 2) {
|
||||
console.log("Given a single geojson file, generates the partitions for every found property")
|
||||
console.log("Given a single geojson file and an attribute-key, will generate a new file for every value of the partition.")
|
||||
console.log("USAGE: perProperty `file.geojson` `property-key`")
|
||||
return
|
||||
}
|
||||
|
@ -35,11 +35,4 @@ function main(args) {
|
|||
|
||||
}
|
||||
|
||||
let args = [...process.argv]
|
||||
args.splice(0, 2)
|
||||
try {
|
||||
main(args)
|
||||
} catch (e) {
|
||||
console.error("Error building cache:", e)
|
||||
}
|
||||
console.log("All done!")
|
||||
main(process.argv.slice(2))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue