Skip to content

Commit

Permalink
allow non-integer bound box values in prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Sep 26, 2024
1 parent 6ea01a6 commit 6a895db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/smp-download.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,28 @@ program
const west = await number({
message: 'Bounding box west',
required: true,
step: 'any',
min: -180,
max: 180,
})
const south = await number({
message: 'Bounding box south',
required: true,
step: 'any',
min: -90,
max: 90,
})
const east = await number({
message: 'Bounding box east',
required: true,
step: 'any',
min: -180,
max: 180,
})
const north = await number({
message: 'Bounding box north',
required: true,
step: 'any',
min: -90,
max: 90,
})
Expand Down

0 comments on commit 6a895db

Please sign in to comment.