-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e2996ee
Showing
5 changed files
with
1,174 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules/ | ||
release/ | ||
repo/ | ||
data.txt | ||
.idea | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# ATAK DTED2 DataPackage generator | ||
This tool used for downloading DTED2 elevation models data from USGS and creating ATAK DataPackages from it. | ||
In releases section, you can find datapackages for several regions. | ||
|
||
### Requirements | ||
- USGS account | ||
- Geoapify api key (create free-tier account. For single-use you can find key in the source code of [this](https://www.geoapify.com/boundaries-api) page) | ||
- Geoapify regions ids (see below) | ||
|
||
### Get region ids | ||
- Go to https://apidocs.geoapify.com/playground/place-details/ | ||
- Select `From address autocomplete` | ||
- Enter the name of the country (or etc) in the text field | ||
- When result loading finished, scroll to the bottom and copy the region id from `place_id: xxxx` (xxx - region id) | ||
|
||
### Usage | ||
- Install requirements `npm install` | ||
- Fill variable `usgsLogin` in [index.js](index.js) with you USGS login | ||
- Fill variable `usgsPassword` in [index.js](index.js) with you USGS password | ||
- Fill variable `geoapifyKey` in [index.js](index.js) with you Geoapify api key | ||
- Fill variable `regions` in [index.js](index.js) with required regions list | ||
- Run script via `node index.js` | ||
- When it's finished, the datapackages will be in the `release` folder | ||
|
Oops, something went wrong.