Geomatics Workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Joel_graff
Posts: 1492
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Geomatics Workbench

Postby Joel_graff » Fri Sep 20, 2019 11:18 am

@HakanSeven - BTW, I know you aren't directly involved with the project anymore, but I'd suggest you set up a KanBan board (a project board) on github and start adding issues to it so this stuff can get tracked. You've built a really good thing. It's just going to take a little time and effort to work through the issues to make it really useful.

Tracking issues on a project board will help out the others who are also contributing to your WB. (You're also pretty lucky to have contributors ;) )
You can find the FreeCAD Trails workbench for transportation engineering on my github at:
https://www.github.com/joelgraff/freecad.trails
User avatar
HakanSeven12
Posts: 278
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Postby HakanSeven12 » Fri Sep 20, 2019 12:17 pm

Joel_graff wrote:
Fri Sep 20, 2019 11:18 am
@HakanSeven - BTW, I know you aren't directly involved with the project anymore, but I'd suggest you set up a KanBan board (a project board) on github and start adding issues to it so this stuff can get tracked. You've built a really good thing. It's just going to take a little time and effort to work through the issues to make it really useful.

Tracking issues on a project board will help out the others who are also contributing to your WB. (You're also pretty lucky to have contributors ;) )
Maybe @bidandou can do it :)
bidandou
Posts: 7
Joined: Sat Sep 07, 2019 9:35 pm

Re: Geomatics Workbench

Postby bidandou » Fri Sep 20, 2019 2:10 pm

Project Board created on the Github Repo.

Github issues tracker is up to date.

For a long term vision and a list of desired features see TODO file .

Contributions are welcome.
paullee
Posts: 1690
Joined: Wed May 04, 2016 3:58 pm

Re: Geomatics Workbench

Postby paullee » Fri Sep 20, 2019 2:21 pm

HakanSeven12 wrote:
Fri Sep 20, 2019 8:45 am
paullee wrote:
Fri Sep 20, 2019 2:59 am
Any idea?
Your data file has more than one whitespace between coordinates. The wb only allow one whitespace.
Thanks and testing.

BTW, what is the difference with your Import Point Files vs Points Workbench Import a Point Cloud?
User avatar
HakanSeven12
Posts: 278
Joined: Wed Feb 06, 2019 10:30 pm

Re: Geomatics Workbench

Postby HakanSeven12 » Fri Sep 20, 2019 3:38 pm

paullee wrote:
Fri Sep 20, 2019 2:21 pm
Thanks and testing.

BTW, what is the difference with your Import Point Files vs Points Workbench Import a Point Cloud?
My importer more flexible. You can see a preview of your file and you can specify data columns. Also you can import coordinates from every text file format by using my importer (point clouds or other surveyor point file formats) and you can import more than one file at the same time.
User avatar
Kunda1
Posts: 5479
Joined: Thu Jan 05, 2017 9:03 pm

Re: Geomatics Workbench

Postby Kunda1 » Fri Sep 20, 2019 7:48 pm

HakanSeven12 wrote:
Fri Sep 20, 2019 3:38 pm
paullee wrote:
Fri Sep 20, 2019 2:21 pm
BTW, what is the difference with your Import Point Files vs Points Workbench Import a Point Cloud?
My importer more flexible. You can see a preview of your file and you can specify data columns. Also you can import coordinates from every text file format by using my importer (point clouds or other surveyor point file formats) and you can import more than one file at the same time.
Image

Maybe the importer should be ported to Point WB?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
bidandou
Posts: 7
Joined: Sat Sep 07, 2019 9:35 pm

Re: Geomatics Workbench

Postby bidandou » Fri Sep 20, 2019 7:55 pm

Kunda1 wrote:
Fri Sep 20, 2019 7:48 pm
HakanSeven12 wrote:
Fri Sep 20, 2019 3:38 pm
paullee wrote:
Fri Sep 20, 2019 2:21 pm
BTW, what is the difference with your Import Point Files vs Points Workbench Import a Point Cloud?
My importer more flexible. You can see a preview of your file and you can specify data columns. Also you can import coordinates from every text file format by using my importer (point clouds or other surveyor point file formats) and you can import more than one file at the same time.
Image

Maybe the importer should be ported to Point WB?
Why not
I think that there is a good synergy between the Geomatics WB and the Point + Mesh ones
paullee
Posts: 1690
Joined: Wed May 04, 2016 3:58 pm

Re: Geomatics Workbench

Postby paullee » Fri Sep 20, 2019 8:49 pm

HakanSeven12 wrote:
Fri Sep 20, 2019 3:38 pm
paullee wrote:
Fri Sep 20, 2019 2:21 pm
Thanks and testing.

BTW, what is the difference with your Import Point Files vs Points Workbench Import a Point Cloud?
My importer more flexible. You can see a preview of your file and you can specify data columns. Also you can import coordinates from every text file format by using my importer (point clouds or other surveyor point file formats) and you can import more than one file at the same time.
Yes, thanks, that's apparent :)
bidandou
Posts: 7
Joined: Sat Sep 07, 2019 9:35 pm

Re: Geomatics Workbench

Postby bidandou » Sat Sep 21, 2019 7:45 pm

paullee wrote:
Thu Sep 19, 2019 6:23 pm
Trying to use GeoData and Geomatics again, but unfortunately not working

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'
Running same Import OSM on Geomatics WB

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
should install requests module

Code: Select all

pip install requests
Also all the fixes made by HakanSeven in Geomatics WB are now available in GeoData (a pull request has been created)
User avatar
Kunda1
Posts: 5479
Joined: Thu Jan 05, 2017 9:03 pm

Re: Geomatics Workbench

Postby Kunda1 » Sat Sep 21, 2019 7:56 pm

bidandou wrote:
Sat Sep 21, 2019 7:45 pm
Also all the fixes made by HakanSeven in Geomatics WB are now available in GeoData (a pull request has been created)
https://github.com/microelly2/geodata/pull/17
In my experience, @microelly2 hasn't responded to many PRs that are py3 related, unfortunately. I hope this one will be different.

Relevant: https://github.com/microelly2/geodata/pull/7
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features