sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    KML/GE question

    Scheduled Pinned Locked Moved Google Earth
    sketchup
    37 Posts 4 Posters 21.4k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GaieusG Offline
      Gaieus
      last edited by

      What I do not know is, how to parse WH models with kml. I have been able to do it with javascript here as a test example or I am able to do it from other domains like with the attached (obviously very primitive) example below.

      In the kml file you have to refer to a collada file (*.dae) in order to present it. However the naming of the WH models (with the mid number at the end) does not allow this - more exatly I do not know how to do it.


      example.kml

      Gai...

      1 Reply Last reply Reply Quote 0
      • leedeeteeL Offline
        leedeetee
        last edited by

        I'll have a think, as not sure I actually know what I want to do and if i've phrased my questions correctly! 😳 😳 😳

        All I'm after is a link to go one my website which will link to my models on GE! Could have made this harder than it needs to be!

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          Ah, that's easy with the GE Plugin. Here is an example (the white boxes 😳 😞
          http://www.gaieus.hu/GoogleEarth/

          Gai...

          1 Reply Last reply Reply Quote 0
          • leedeeteeL Offline
            leedeetee
            last edited by

            As ever Gai, thank-you, I will have a think and investigate my options.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jaxcoffee
              last edited by

              @leedeetee said:

              As ever Gai, thank-you, I will have a think and investigate my options.

              Hey Lee,

              If your models are in a collection, it will create it's own KML file called Placemarks. Click on View in Google Earth off the collection and save the file to your desktop. Double clicking on that file will open it up in Google Earth.

              Once it does, you can right click on it in Google Earth and save it as a KMZ file with what ever name you want.

              Then you can import that KMZ file into My Maps, and the end result is something like this.

              http://goo.gl/uBBKc

              1 Reply Last reply Reply Quote 0
              • leedeeteeL Offline
                leedeetee
                last edited by

                Good morning Jack,

                That is wonderful, thank-you. I think this could be exactly what I am after. πŸ˜„

                Edit: I have done this Jack, and it would be perfect, but when opening in google earth, it only shows two models (out of 29). 😳

                1 Reply Last reply Reply Quote 0
                • GaieusG Offline
                  Gaieus
                  last edited by

                  This does not seem to work for me at all. I have a collection with a single model in it and what GE displays is this:

                  GEstuff.png
                  In GMaps, my kmz to import never loads (the browser is just loading, loading, but nothing...)

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • leedeeteeL Offline
                    leedeetee
                    last edited by

                    Yes, It's strange Gai, I have uploaded 29 models to a collection, yet mine only shows 2 models, both seemingly picked at random.

                    1 Reply Last reply Reply Quote 0
                    • GaieusG Offline
                      Gaieus
                      last edited by

                      Are they all publicly shared?

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • leedeeteeL Offline
                        leedeetee
                        last edited by

                        Yes, with identical access settings and details as the other 27. πŸ˜•

                        1 Reply Last reply Reply Quote 0
                        • GaieusG Offline
                          Gaieus
                          last edited by

                          can you share the kml file? I wonder what should be "inside" - compared to my own.

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • leedeeteeL Offline
                            leedeetee
                            last edited by

                            Certainly ....


                            Placemarks

                            1 Reply Last reply Reply Quote 0
                            • leedeeteeL Offline
                              leedeetee
                              last edited by

                              And here is the collection:

                              Error 404 (Not Found)!!1

                              favicon

                              (sketchup.google.com)

                              Which shows all of the models in the "preview" window.

                              1 Reply Last reply Reply Quote 0
                              • GaieusG Offline
                                Gaieus
                                last edited by

                                Thanks. I really do not know what causes all these models to fail to get listed.

                                However they do not automatically load either. If you turn off the 3D Layer, they will not show up unless you "View in Google Earth". What I would really like to do is to load only those hat are listed (certainly the user would need to turn off the 3D Layer for this) but load automatically.

                                But your "View in GE" link there gave me finally the answer to how to load WH buildings with kml! (see the southpark kml attached - make sure your 3D Layer is off!).

                                Now also see your placemark attached where I separated the two models that only load for you with comments starting with # characters (these lines will not load in the xml file).

                                If you really want, you can add any other model manually, changing the links and whatnot in the table cells.


                                SouthFolkRehab.kml


                                placemarks-lee.kml

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • leedeeteeL Offline
                                  leedeetee
                                  last edited by

                                  How is it best to open the .kml files as text??

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    In the context menu there is an item whose name I don't know in English. There you can open in a simple text editor.

                                    Or even easier; drag and drop the kml file onto the quick launch icon of your text editor.

                                    Gai...

                                    1 Reply Last reply Reply Quote 0
                                    • leedeeteeL Offline
                                      leedeetee
                                      last edited by

                                      Thanks Gai, I'll have play.

                                      I just wish I knew/could understand why it won't work like it should do, as Jack's obviously does.

                                      Cross Alantic shout to Jack!!!

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jaxcoffee
                                        last edited by

                                        @leedeetee said:

                                        Thanks Gai, I'll have play.

                                        I just wish I knew/could understand why it won't work like it should do, as Jack's obviously does.

                                        Cross Alantic shout to Jack!!!

                                        How long has it been since you created the collection, and uploaded models to it?

                                        1 Reply Last reply Reply Quote 0
                                        • GaieusG Offline
                                          Gaieus
                                          last edited by

                                          I have that collection (old one, at least a year) where I updated the model some time in May. No model is listed at all.

                                          I also noticed something weird. When yopu show a model in GE, from some models, only a kml file is downloaded and inside the kml file there is reference to the WH model.dae (and images). For other models, the whole kmz file (including dae and images) is downloaded.

                                          Gai...

                                          1 Reply Last reply Reply Quote 0
                                          • leedeeteeL Offline
                                            leedeetee
                                            last edited by

                                            @jaxcoffee said:

                                            @leedeetee said:

                                            Thanks Gai, I'll have play.

                                            I just wish I knew/could understand why it won't work like it should do, as Jack's obviously does.

                                            Cross Alantic shout to Jack!!!

                                            How long has it been since you created the collection, and uploaded models to it?

                                            This morning .....

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement