kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Merged readme, added configuration file instructions
commit
5843db4ac6
40
README.md
40
README.md
|
@ -1,11 +1,15 @@
|
||||||
# Open Source Drone Aerial Imagery Processing
|
# Open Source Drone Aerial Imagery Processing
|
||||||
node-OpenDroneMap is a Node.js App and REST API to access [OpenDroneMap](https://github.com/OpenDroneMap/OpenDroneMap)
|
node-OpenDroneMap is a Node.js App and REST API to access [OpenDroneMap](https://github.com/OpenDroneMap/OpenDroneMap)
|
||||||
|
|
||||||
|
[http://nodeodm.masseranolabs.com](http://nodeodm.masseranolabs.com)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
The quickest way is to use [Docker](https://www.docker.com/).
|
For a quick taste of the application, we have setup a test environment at [http://nodeodm.masseranolabs.com](http://nodeodm.masseranolabs.com). Please note that **this is not a production environment**, and that processing on this server will be slow (you are sharing the server's resources with everyone else in the world).
|
||||||
|
|
||||||
|
If you want to do your own imagery processing, we recommend that you setup your own instance via [Docker](https://www.docker.com/).
|
||||||
|
|
||||||
* From the Docker Quickstart Terminal (Windows / OSX) or from the command line (Linux) type:
|
* From the Docker Quickstart Terminal (Windows / OSX) or from the command line (Linux) type:
|
||||||
```
|
```
|
||||||
|
@ -41,6 +45,32 @@ npm install
|
||||||
node index.js
|
node index.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You may need to specify your ODM project path to start the server:
|
||||||
|
|
||||||
|
```
|
||||||
|
node index.js --odm_path /home/username/OpenDroneMap
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to start node ODM on a different port you can do the following:
|
||||||
|
|
||||||
|
```
|
||||||
|
node index.js --port 8000 --odm_path /home/username/OpenDroneMap
|
||||||
|
```
|
||||||
|
|
||||||
|
For other command line options you can run:
|
||||||
|
|
||||||
|
```
|
||||||
|
node index.js --help
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also specify configuration values via a JSON file:
|
||||||
|
|
||||||
|
```
|
||||||
|
node index.js --config config.default.json
|
||||||
|
```
|
||||||
|
|
||||||
|
Command line arguments always take precedence over the configuration file.
|
||||||
|
|
||||||
### Run it using PM2
|
### Run it using PM2
|
||||||
|
|
||||||
The app can also be run as a background process using the [pm2 process manager](https://github.com/Unitech/pm2), which can also assist you with system startup scripts and process monitoring.
|
The app can also be run as a background process using the [pm2 process manager](https://github.com/Unitech/pm2), which can also assist you with system startup scripts and process monitoring.
|
||||||
|
@ -69,12 +99,14 @@ You can find some test drone images from [OpenDroneMap's Test Data Folder](https
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Make a pull request for small contributions. For big contributions, please open a discussion first.
|
Make a pull request to the dev branch for small contributions. For big contributions, please open a discussion first. Please use ES6 syntax while writing new Javascript code so that we can keep the code base uniform.
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
- [ ] Command line options for OpenDroneMap (in progress)
|
- [X] Command line options for OpenDroneMap
|
||||||
- [ ] Cluster tasks distribution to multiple servers
|
- [X] GPC List support
|
||||||
|
- [ ] Autoremove Abandoned Tasks
|
||||||
|
- [ ] Continuous Integration Setup
|
||||||
- [ ] Documentation
|
- [ ] Documentation
|
||||||
- [ ] Unit Testing
|
- [ ] Unit Testing
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<label for="taskName">Project Name:</lable> <input type="text" class="form-control" value="" id="taskName" />
|
<label for="taskName">Project Name:</lable> <input type="text" class="form-control" value="" id="taskName" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="images">Aerial Imageries and GCP List (optional):</label> <input id="images" name="images" multiple type="file">
|
<label for="images">Aerial Images and GCP List (optional):</label> <input id="images" name="images" multiple type="file">
|
||||||
<div id="errorBlock" class="help-block"></div>
|
<div id="errorBlock" class="help-block"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right"><input type="submit" class="btn btn-success" value="Start Task" id="btnUpload" /></div>
|
<div class="text-right"><input type="submit" class="btn btn-success" value="Start Task" id="btnUpload" /></div>
|
||||||
|
|
Ładowanie…
Reference in New Issue