Google Earth Plugin
-
Hello Tom and Gaieus,
my question is, how it is possible to load my own building (kmz), when it does not come from database by google, but from my own database.
Do you know it?
Best regards,
Norbert Lindenthal -
Hi Gaieus,
yes I uploaded to the WH. Please have a look here:
http://sketchup.google.com/3dwarehouse/search?q=Laboer+Marine-Ehrenmal&btnG=Suchen&styp=m&reps=2
Only the first one is shown by Google Earth:
http://sketchup.google.com/3dwarehouse/details?mid=5e75d8adb1cf8843eaca97843a0c9352&prevstart=0
And this first one is too wrong.I would like to play with one half of a model to look in it. And there I would like to load some interior.
And the best skin of the one model I would like to give to WH.
-
Why do you have four versions of the same model in the WH first of all? Is the one that is on the 3D Layer in GE not the best of them?
Note that they won't put up a model that only shows the half and the interior - it's against Google's aim to have as simple models as possible. You can however upload anything to the WareHouse and within GE, adjust the content of the kmz file to show different views.
Have a look at this example: expand the "House" folder then change the (round) radio buttons from first floor > second floor > full house. Such a model would doubtedly make to trhe official 3D Layer though. You can,of course, upload one and people can download it to their GE to view.
Edit; you can view the building in the 3D Map but unfortunately you are unable to change scenes/layers in there - only in GE on your desktop.
-
@gaieus said:
Why do you have four versions of the same model in the WH first of all? Is the one that is on the 3D Layer in GE not the best of them?
That is the problem. I loaded them in 2006. Not all was right there. And I had to learn a lot.
@unknownuser said:
Note that they won't put up a model that only shows the half and the interior - it's against Google's aim to have as simple models as possible. You can however upload anything to the WareHouse and within GE, adjust the content of the kmz file to show different views.
This I know. But my question is to load own models in the GE Plug-in in Safari/Mac from own database. Because I dont want to make such playing difficulties in the WH.
@unknownuser said:
Have a look at this example: expand the "House" folder then change the (round) radio buttons from first floor > second floor > full house. Such a model would doubtedly make to the official 3D Layer though. You can, of course, upload one and people can download it to their GE to view.
Gaieus, your model with radio buttons to show either first floor or second floor is very fine. This is my idea too. To get this in GE I know the way. But how is the way for own models in GE Plug-in without (or before) loading up to the warehouse.
@unknownuser said:
Edit; you can view the building in the 3D Map but unfortunately you are unable to change scenes/layers in there - only in GE on your desktop.
-
@n lindenthal said:
But how is the way for own models in GE Plug-in without (or before) loading up to the warehouse.
This is the problem. AFAIK you can (currently) only load anything into the 3D Map with the GE plugin if it is in the 3D Warehouse.
Also, the 3D Map doesn't allow "playing" with those radio buttons.
So what you could do (and as I understand, currently this is all you can do) is to upload the model to the 3D WH, allow visitors to see it in the 3D Map (only "from outside") but also allow them to download it into their local GE application to explore the inside in details.
-
@n lindenthal said:
my question is, how it is possible to load my own building (kmz), when it does not come from database by google, but from my own database.
Hi Norbert,
I think you can run the GE Plugin on your own computer and access .kmz files directly from you own hard disk. I played with this when I was experimenting with the Plugin.
On the other hand, if you want to run the plugin on a site that is available to everybody on the web, you need to house your .kmz files on a site that is also universally available, i.e. 3DW.
I suppose (although I haven't tried it) you could build your own web site that held you models and code the plugin the access this site for the .kmz files.
You might find more answers on this forum:
http://groups.google.com/group/google-earth-browser-plugin/topics?pli=1I hope this helps,
Tom -
Hi, Tom,
you made me happy by telling, that you did see it. I tried again …
… and gained the solution.I am not master in javascript, so it took some time to understand, that in my script construction kmzs = ['x','2','3','4','5','6'] there have to be 6times 'x'. x is an absolute path (to warehouse or to own database [http://…/model.kmz]).
Thank you very much, Tom
Best regards,
Norbert -
Cool!
-
Hello Tom,
cool is, that kmz models can be loaded from own database by 'http://…/model.kmz' !
But I did not find to load from harddisk by 'file://MyHD/user/MyUser/…/model.kmz' ?Do you have an idea to load from local harddisk?
-
Norbert,
I tried it quickly and it did not work. It could be an error in my coding (I'm not much of a programer!) When I have a bit mor time, I'll work on it and let you know.
Tom
-
Thank you, Tom,
I just read, that javascript for security reasons can not load local files.
Best regards,
Norbert Lindenthal -
Tom, I found it:
http://192.168.xx.xx/~myusername/filename
Personal Web Sharing must be ON. My file has to be in the »Sites«-Folder.
-
@twharvey said:
… You might find more answers on this forum:
http://groups.google.com/group/google-earth-browser-plugin/topics?pli=1Hello Tom, thank you for link to GE-Group. Before I have a look there, here my new question: When I have my own model in my own html site and see it with Safari and GE-Plugin:
How can I make a link to fly to another postion to see my model?
How can I make a link to check another part of model?And then:
How far is the way to get images, which by click fly to my model in same position as the photographer?Best regards,
Norbert -
May be, I should open an own thread: Mac: How to find process of application »Google Earth for Plugin« by AppleScript?
Mac OS X has this wonderful plug-in here in the following path:
HD:Library:Internet Plug-Ins:Google Earth Web Plug-in.plugin:
Contents:MacOS:Google Earth for Plugin.app:
Contents:MacOS:Google EarthThree apps in app
(app in app in app):- Google Earth Web Plug-in.plugin ( 2. Google Earth for Plugin.app ( 3. Google Earth))
The name for the process in the activity monitor comes from 3. Google Earth (unix file). But (!!!) to speak to this process with AppleScript I have to say: Tell application "Google Earth for Plugin" (!!!).
Now my question:
(I hope, someone knows an answer)
How can I know (how can my AppleScript know), whether the process of the app »Google Earth for Plugin«, which is named only »Google Earth«, is runnig/is existing?
The problem is, that the process of Google Earth has the same name. And I can speak to the right process by using tell application "Google Earth for Plugin", but this does not match, if the process of this application does not exist.Background: If I open an html site, which has an 3D modell in GE, the process will be opended. And than I could drive GEfP by AppleScript.
-
I would really like to revive this topic if someone is interested...
(Me yes)
Advertisement