Types of Coordinates


#1

I have been using the OpenDroneMap Master version, available on GitHub and my files were being used to create shapefiles. Everything was ok.

Now I have bought the WebODM Server version and my coordinates are crazy, I have created a shapefile to be used in Brazil and it is showing the Arctic Ocean instead. And I am doing everything exactly in the same way…

Anyone can help me ?

OLD ODM_GEOREFERENCING_MODEL_GEO.TXT FILE

WGS84 UTM 22S 225175.7832035 -2705871.4394130


NEW ODM_GEOREFERENCING_MODEL_GEO.TXT FILE

WGS84 UTM 22
804052.7064720 7317012.3457144

Both coordinates are in the same state there is no reason to be soooo different.

Anyone knows how to set the old coordinate pattern ?


#2

Hey @accferronato :raised_hand: when did you last update/install WebODM? We fixed a bug with Southern Hemisphere coordinates ~3 weeks ago, maybe it’s related. https://github.com/OpenDroneMap/ODM/pull/941/files

Make sure you are running the latest version.


#4

Hi, @pierotofy I installed on Saturday but I didn’t update it.

How do I do it? Just running the install script again?


#5

And another question… It is impossible to run the WebODM server in here… I am running the normal OpenDroneMap when I try access localhost:80 to open WebODM server it show this error

FileNotFoundError at /

[Errno 2] No such file or directory: ‘webpack-cli’

Request Method: GET
Request URL: http://localhost/
Django Version: 2.1.7
Exception Type: FileNotFoundError
Exception Value: [Errno 2] No such file or directory: ‘webpack-cli’
Exception Location: /usr/lib/python3.5/subprocess.py in _execute_child, line 1551
Python Executable: /webodm/python3-venv/bin/python3
Python Version: 3.5.2
Python Path: [’/webodm’, ‘/webodm/python3-venv/bin’, ‘/webodm/python3-venv/lib/python35.zip’, ‘/webodm/python3-venv/lib/python3.5’, ‘/webodm/python3-venv/lib/python3.5/plat-x86_64-linux-gnu’, ‘/webodm/python3-venv/lib/python3.5/lib-dynload’, ‘/usr/lib/python3.5’, ‘/usr/lib/python3.5/plat-x86_64-linux-gnu’, ‘/webodm/python3-venv/lib/python3.5/site-packages’, ‘/webodm’]
Server time: Tue, 26 Feb 2019 10:01:30 -0300

#6

Make sure webpack-cli has been installed by running:

  sudo npm install -g webpack
  sudo npm install -g webpack-cli
  sudo ln -s $(which webpack) /usr/bin/webpack-cli

#7

Another error now.

OSError at /welcome/

Error reading /webodm/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?

Request Method: GET
Request URL: http://localhost/welcome/
Django Version: 2.1.7
Exception Type: OSError
Exception Value: Error reading /webodm/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
Exception Location: /webodm/python3-venv/lib/python3.5/site-packages/webpack_loader/loader.py in _load_assets, line 32
Python Executable: /webodm/python3-venv/bin/python3
Python Version: 3.5.2
Python Path: [’/webodm’, ‘/webodm/python3-venv/bin’, ‘/webodm/python3-venv/lib/python35.zip’, ‘/webodm/python3-venv/lib/python3.5’, ‘/webodm/python3-venv/lib/python3.5/plat-x86_64-linux-gnu’, ‘/webodm/python3-venv/lib/python3.5/lib-dynload’, ‘/usr/lib/python3.5’, ‘/usr/lib/python3.5/plat-x86_64-linux-gnu’, ‘/webodm/python3-venv/lib/python3.5/site-packages’, ‘/webodm’]
Server time: Ter, 26 Fev 2019 14:18:32 -0300

Error during template rendering

In template /webodm/app/templates/app/base.html , error at line 25

Error reading /webodm/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?

15 <link href="{% static ‘app/css/metisMenu.min.css’ %}" rel=“stylesheet”>
16 <link href="{% static ‘app/css/sb-admin-2.css’ %}" rel=“stylesheet”>
17 {% block extra-headers %}{% endblock %}
18
19 <script src="{% static ‘app/js/vendor/modernizr-2.8.3.min.js’ %}"></script>
20 <script src="{% static ‘app/js/vendor/es6-shim.min.js’ %}"></script>
21 <script src="{% static ‘app/js/vendor/jquery-1.11.2.min.js’ %}"></script>
22 <script src="{% static ‘app/js/vendor/system.js’ %}"></script>
23
24 {% load render_bundle from webpack_loader %}
25 {% render_bundle ‘main’ %}
26
27 {% autoescape off %}
28 {% get_plugins_js_includes %}
29 {% get_plugins_css_includes %}
30 {% endautoescape %}
31
32 <title>{{title default:“Login”}} - {{ SETTINGS.app_name }}</title>
33
34 {% compress css %}
35 <link rel=“stylesheet” type=“text/x-scss” href="{% static ‘app/css/theme.scss’ %}" />

I thought the paid version would be easier to install and use. :frowning_face:


#8

@accferronato perhaps some of the commands in the installer didn’t complete successfully. Did you notice any error messages when running the installer for first time?

Follow these commands and try again.

cd /webodm
sudo su odm
git pull origin master
source python3-venv/bin/activate
npm install
pip install -r requirements.txt
webpack --mode production
python manage.py collectstatic --noinput
python manage.py migrate

#9

It Worked… Thanks