Geodata (Import OSM Map) take forever at 0% / Crash
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Geodata (Import OSM Map) take forever at 0% / Crash
Hi, I had some times ago installed Geodata probably since on FC0.16 and tested it worked. I am not sure if i use updated to 0.17_pre (through Przemof repo), now I find it is not working.
Removing it and re-installing through the Addon Manager, running 'Import OSM Map' still return error as attached.
Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 186, in Activated
File "/home/paullee/.FreeCAD/Mod/geodata/geodat/import_osm.py", line 667, in dialog
import geodat.miki as miki
File "/home/paullee/.FreeCAD/Mod/geodata/geodat/miki.py", line 83, in <module>
YourSpecialCreator=Animation.createManager
name 'Animation' is not defined
As hinted else where, Animation was also installed (again),
and
I found i had installed previously the following to make Geodata works, again, double-check they are present.
ImportError: No module named backend_tkagg
dnf install python2-matplotlib-qt4.x86_64
No module named cv2
dnf install opencv-python.x86_64
No module named gdal
dnf install gdal-python.x86_64
Any idea? I am trying to load the terrain again and try Arch Site as shown in Yorik's blog.
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11034 (Git)
Build type: Unknown
Branch: master
Hash: 36960df73ea8355949ec9421984d498269a238f1
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Removing it and re-installing through the Addon Manager, running 'Import OSM Map' still return error as attached.
Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 186, in Activated
File "/home/paullee/.FreeCAD/Mod/geodata/geodat/import_osm.py", line 667, in dialog
import geodat.miki as miki
File "/home/paullee/.FreeCAD/Mod/geodata/geodat/miki.py", line 83, in <module>
YourSpecialCreator=Animation.createManager
name 'Animation' is not defined
As hinted else where, Animation was also installed (again),
and
I found i had installed previously the following to make Geodata works, again, double-check they are present.
ImportError: No module named backend_tkagg
dnf install python2-matplotlib-qt4.x86_64
No module named cv2
dnf install opencv-python.x86_64
No module named gdal
dnf install gdal-python.x86_64
Any idea? I am trying to load the terrain again and try Arch Site as shown in Yorik's blog.
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11034 (Git)
Build type: Unknown
Branch: master
Hash: 36960df73ea8355949ec9421984d498269a238f1
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Last edited by paullee on Sat Nov 18, 2017 8:02 am, edited 3 times in total.
Re: Geodata (Import OSM Map) take forever at 0%
Hi, I take out the Przemof 0.17_pre version and re-install back the FC0.16 version.paullee wrote:Hi, I had some times ago installed Geodata probably since on FC0.16 and tested it worked. I am not sure if i use updated to 0.17_pre (through Przemof repo), now I find it is not working.
Added back Geodata and Animation workbench by Macro Addon Manager.
Still return similar error! It used to work. I just do not know what am I missing this time?
Thanks for any idea.
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.Unknown
Build type: Unknown
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Last edited by paullee on Tue May 16, 2017 11:55 pm, edited 1 time in total.
Re: Geodata (Import OSM Map) take forever at 0%
Hi, I found Traction61's comment on github (30.3) that a commit left out import animation break the OSM import.
https://github.com/microelly2/geodata/c ... a338e061da
I try add that back in the say.py, now the import OSM dialogue box comes up.
However, after input a coordinate / choose a destination then Run, the progress bar remains at 0% forever - that the point i had before I try removing geodata / animation and reinstalling w/ problem on 13.5.2017.
Anyone using OSM import in Geodata?
Thanks for any idea.
p.s.
I found the original problem may not be related to Fedora and remove it in the title.
https://github.com/microelly2/geodata/c ... a338e061da
I try add that back in the say.py, now the import OSM dialogue box comes up.
However, after input a coordinate / choose a destination then Run, the progress bar remains at 0% forever - that the point i had before I try removing geodata / animation and reinstalling w/ problem on 13.5.2017.
Anyone using OSM import in Geodata?
Thanks for any idea.
p.s.
I found the original problem may not be related to Fedora and remove it in the title.
- microelly2
- Veteran
- Posts: 4691
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Geodata (Import OSM Map) take forever at 0%
There is still a small bug
press the "run values" button a 2nd time
first press loads the data from osm and 2nd press starts the object creation.
press the "run values" button a 2nd time

first press loads the data from osm and 2nd press starts the object creation.
Re: Geodata (Import OSM Map) take forever at 0%
Thanks, unexpected step!microelly2 wrote:There is still a small bug
press the "run values" button a 2nd time![]()
first press loads the data from osm and 2nd press starts the object creation.
Unfortunately, probably as the system updated to latest 0.17_pre version through Przemof repo, the OSM import Does Not run at all now! Alert message appear upon 1st 'Run' click and stop! More click have no help.
Any more ideas?
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11090 (Git)
Build type: Unknown
Branch: master
Hash: 4d7554197ee622ac5a4b709aa4205989e54484f3
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
- microelly2
- Veteran
- Posts: 4691
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Geodata (Import OSM Map) take forever at 0%
I see you run the "tokyo near tower example"
The error comes because you set the Lenght of the Square down to 0 (Slider is legft,
so there are no data.
I will fix that - start the slider from 0.1
thank you for testing it.
The error comes because you set the Lenght of the Square down to 0 (Slider is legft,
so there are no data.
I will fix that - start the slider from 0.1
thank you for testing it.
Re: Geodata (Import OSM Map) take forever at 0%
Thanks agaIn, problem fixed!microelly2 wrote:I see you run the "tokyo near tower example"
The error comes because you set the Lenght of the Square down to 0 (Slider is legft,
so there are no data.
I will fix that - start the slider from 0.1
thank you for testing it.
Except Yorik's blog, anywhere there is more explanation on each of GeoData functions?
- microelly2
- Veteran
- Posts: 4691
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Geodata (Import OSM Map) take forever at 0%
I have collected all links on this topic here.paullee wrote:[
Except Yorik's blog, anywhere there is more explanation on each of GeoData functions?
http://freecadbuch.de/doku.php?id=geodat
Most information is in the "Civil Engineering Design functions" thread.
But is realy time to write a more detailed description of the methods. I put it on my schedule.

Re: Geodata (Import OSM Map) take forever at 0%
:thumbs up:microelly2 wrote:I have collected all links on this topic here.paullee wrote:[
Except Yorik's blog, anywhere there is more explanation on each of GeoData functions?
http://freecadbuch.de/doku.php?id=geodat
Most information is in the "Civil Engineering Design functions" thread.
But is realy time to write a more detailed description of the methods. I put it on my schedule.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Geodata (Import OSM Map) take forever at 0%
Need registration right? A language I don't knowmicroelly2 wrote:I have collected all links on this topic here.paullee wrote:[
Except Yorik's blog, anywhere there is more explanation on each of GeoData functions?
http://freecadbuch.de/doku.php?id=geodat
Most information is in the "Civil Engineering Design functions" thread.
But is realy time to write a more detailed description of the methods. I put it on my schedule.

This thread in freecad right? "Civil Engineering Design functions" https://forum.freecadweb.org/viewtopic. ... 3&start=50.
I ran into a few random pages previously, would read through it then.
Thanks.
- Attachments
-
- Screenshot from 2017-05-19 21-02-08.png (318.45 KiB) Viewed 2887 times