Sharing maps and models

Is the only way to share my maps and models by downloading and sending the files? Is there anyway to create a public model that can be viewed by anyone online? What i would like to be able to do is what Maps Made Easy has done, public web links to models and embeddable HTML links. Do we have anything like this with WebODM?

I need my maps amd models to be easily accessible to non-computer literate humans.

1 Like

You can instead host OpenDroneMap on a public server, but if this is something you haven’t done before, it can be challenging to get right.

You would need to do the following:

  1. Set up (e.g.) an Ubuntu Machine.
  2. Set up a firewall on the machine, like this here with allow rules for ports 22, 80, and 443: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-04
  3. Install the WebODM dependencies: Work through steps 1, 2, and 3 here: https://docs.opendronemap.org/installation.html#install-on-ubuntu-debian
  4. Get a domain name and list and A record to point to your new server
  5. Then run the start command as follows:
    ./webodm.sh down && ./webodm.sh update && ./webodm.sh restart --ssl --hostname yourhostname.com

If this is too much to do, then you should probably find a web developer and/or systems manager to do it for you. Good luck!

4 Likes

Hi Ryan,

Stephen gives a pretty good overview of a healthy and relatively secure way of doing this. There are simpler way, and more complicated ways too!

The main issue is your computer is set up to only receive data from the internet that its already requested. Cold calls, if you will, are all refused.

The simplest way to get access is go into your router management UI via a web browser.

  1. You need to set an IP reservation for your WebODM machine, so it always has the same internal IP address.
  2. Then you set up a port forward rule to the WebODM machine.
  3. To get access to WebODM then you could forward port 80 (http) to 192.168.0.xxx:8000. If you find your external IP address and type that into a browser then your WebODM welcome page should come up. This method is a kind of a fudge, ok for short periods of time. Maybe use it as a proof before going onto point 4
  4. Change your port forward to forward port 80 to port 80 on your WebODM machine, and do the same for ports 20 & 443.
  5. follow Stephens advice from point 2 onwards.

Another option is to set up a service like Ngrok, which uses a program on your WebODM machine to bypass any need for port forwarding at your router.
I wrote a guide here, if its any help https://community.opendronemap.org/t/link-webodm-to-the-internet-ngrok/1815

Just to confuse things, my initial advice & Stephen’s advice wont quite help if you want to get access to another service that has a web interface, say like Piero’s DroneDB, on the same PC. In that case you’d to set up multiple Ngrok tunnels or dabble with reverse proxy in a web server like Nginx.

I’ve struggled with reverse proxies so would happily settle for Ngrok.

1 Like