|kmz export file data is in inch, but Google Earth wants meters||atarax||5/26/12 3:29 AM|
SketchUp Version: 8
I am running SketchUp on Linux. On Linux SketchUp and Google Earth cannot directly interchange data, so I have to export a model to a kmz file and import it to Google Earth for viewing. Unfortunately the model data in the dae file within the kmz file is in inch, whereas Google Earth expects the data to be in meters. This way a model is about 40 times too big. This makes the export function pretty useless unless there is a way to change the output unit in SketchUp but I could not find a setting for this in SketchUp. I would really appreciate any suggestions... Thank you!
|Re: kmz export file data is in inch, but Google Earth wants meters||Aerilius||5/26/12 4:11 AM|
this is not a problem of SketchUp, nor a problem of Linux, but a bug that has been generously overseen and several times deleted by the developers on the Google Earth bug tracker. Google Earth does not only show Collada models too big, but distorted, messed up and with wrong or missing materials. It appears that only the Collada feature has never been completely implemented or even tested, but just
„It compiles? Let's release it and go home!“
The only work-around I know is to use the Windows version of Google Earth in Wine for viewing kmz models (while all other kmz features work in the Linux versions). Alternatively you can submit your model to the 3d building layer, and after acceptance, the converted version displays fine.
Please help us to get this issue heard:
Issue 1186: 3d models in kmz/collada are displayed distorted and in wrong proportions
|Re: kmz export file data is in inch, but Google Earth wants meters||atarax||5/26/12 7:06 AM|
Thank you for your reply. I downloaded the Windows version of Google Earth from here: http://dl.google.com/earth/client/advanced/current/googleearthwin-peruser.exe and installed it with Wine. When I run it, the splash screen shows up and then my complete screen gets black and only the cursor pointer can be seen. All I can do here is to restart my machine. Unfortunately no success this way. Any suggestions?
|Re: kmz export file data is in inch, but Google Earth wants meters||Aerilius||5/26/12 10:04 AM|
I have no problems with a quite old Intel chip. If you have an ATI or Nvidia card (especially if it is new), you could make sure that you have their latest proprietary driver.
Otherwise checkout the Wine appdata base:
Dan Kegel says one needs to add vcrun2005 via Winetricks (I think I have this already because of SketchUp).
If that doesn't help you can search the faq for ideas or try common registry tweaks related to 3d, opengl etc.:
It is useful to run the application from a terminal to see the error messages. Even if one doesn't understand all of them, they often contain some valuable hints: wine ~/.wine/drive_c/Program\ Files/Google/Google\ Earth/client/googleearth.exe
|Re: kmz export file data is in inch, but Google Earth wants meters||atarax||5/26/12 3:16 PM|
It seems there is a conflict with the Compiz window manager: http://bugs.winehq.org/show_bug.cgi?id=20559
My solution to this problem is to install the old GNOME panel:
|Re: kmz export file data is in inch, but Google Earth wants meters||Jarl Friis||9/4/12 5:31 AM|
Actually the problem you describe has nothing to do with you running Sketchup on Linux (even though this may be unsupported). All KMZ files (even old ones from Sketchup 7 and the ones exported from a Windows installed SketchUp) shows approximately 40 times too large on a Google Earth for Linux.
The problem is reported here:
|Re: kmz export file data is in inch, but Google Earth wants meters||Aerilius||9/4/12 6:12 AM|
thanks for the comment! Yes, this is neither an issue of SketchUp nor Linux itself, but Google Earth.
Do you mean that removing <unit meter="0.02539999969303608" name="inch" /> could work as a work-around? I'll try it this evening.