FreeCAD Trails Workbench (Transportation and Geomatics)
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Geomatics Workbench
I created a pull request with some changes to make all the commands working (import point/surface/contours/sections).
I will be glad if someone can check the dev branch before the merge.
I will be glad if someone can check the dev branch before the merge.
Re: Geomatics Workbench
Okay, it's done.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Geomatics Workbench
Trying to use GeoData and Geomatics again, but unfortunately not working
Import OSM (GeoData)
Running same Import OSM on Geomatics WB
FreeCAD_0.19-17646-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
on Fedora 30
Python version: 3.7.3
Import OSM (GeoData)
Code: Select all
Running the Python command 'Geodat_importOSM' failed:
Traceback (most recent call last):
File "<string>", line 476, in Activated
File "<string>", line 1, in <module>
File "/home/paullee/.FreeCAD/Mod/geodata/geodat/import_osm.py", line 27, in <module>
from say import *
No module named 'say'
Code: Select all
I try to read data from cache file ...
/home/paullee/.FreeCAD/geodat3/50.340722-11.232647-0.25
no cache file, so I connect to openstreetmap.org...
http://api.openstreetmap.org/api/0.6/map?bbox=11.229140688639552,50.338475818508535,11.236153311360448,50.342968181491464
Traceback (most recent call last):
File "/home/paullee/.FreeCAD/Mod/Geomatics/GeoDataWB/import_osm.py", line 128, in import_osm2
f = open(fn, "r")
FileNotFoundError: [Errno 2] No such file or directory: '/home/paullee/.FreeCAD/geodat3/50.340722-11.232647-0.25'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/paullee/.FreeCAD/Mod/Geomatics/GeoDataWB/import_osm.py", line 695, in downloadData
rc = import_osm2(float(b), float(l), float(s)/10, self.root.ids['progb'], self.root.ids['status'], elevation)
File "/home/paullee/.FreeCAD/Mod/Geomatics/GeoDataWB/import_osm.py", line 141, in import_osm2
import requests
ModuleNotFoundError: No module named 'requests'
FreeCAD_0.19-17646-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
on Fedora 30
Python version: 3.7.3
Re: Geomatics Workbench
Features from the GeoData Workbench are only included as quicklinks in the Geomatics Workbench.
In my opinion this link and the underlying code should be removed in the next release.
I add an issue in the github repo for that.
In my opinion this link and the underlying code should be removed in the next release.
I add an issue in the github repo for that.
Re: Geomatics Workbench
From the error message, I thought GeoData in Geomatics has some fixes done ?
Re: Geomatics Workbench
Trying Import Point Files... with these errors message:-
XYZ data (~120mB) from
https://bezreg-koeln.nrw.de/brk_interne ... e/dgm1.zip
Any idea?
Code: Select all
Traceback (most recent call last):
File "/home/paullee/.FreeCAD/Mod/Geomatics/Data/ImportPointFile.py", line 302, in ImportFile
self.FileReader(File, "Import")
File "/home/paullee/.FreeCAD/Mod/Geomatics/Data/ImportPointFile.py", line 256, in FileReader
float(row[Z])))
ValueError: could not convert string to float:
https://bezreg-koeln.nrw.de/brk_interne ... e/dgm1.zip
Any idea?
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Geomatics Workbench
Your data file has more than one whitespace between coordinates. The wb only allow one whitespace.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Geomatics Workbench
If you ticked "Process elevation data" it's not working. Also you need to install required python packages.
Last edited by HakanSeven12 on Fri Sep 20, 2019 9:00 am, edited 1 time in total.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: Geomatics Workbench
I fixed what I can. But some part of it still don't works.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: Geomatics Workbench
Might want to put implementing a text file parser on the list to avoid this in the future. I imagine there's plenty of format variations that would have to be coded for...HakanSeven12 wrote: ↑Fri Sep 20, 2019 8:45 am Your data file has more than one whitespace between coordinates. The wb only allow one whitespace.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers