sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Georeferencing poor match

    Scheduled Pinned Locked Moved Google Earth
    sketchup
    11 Posts 3 Posters 9.9k Views
    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.
    • J Offline
      jack_sprat
      last edited by

      Hi - my first post, so hello.

      I'm trying to load a SU model into GE; here's my process:

      I've grabbed terrain from GE in SU, using 'Add more imagery...' tool.
      I have an image of an OS map of the area (~ 400m x 450m), which I've georeferenced against the GE snapshot image.
      I built a rough model of a bunch of Nissen huts and water towers, using the OS map.
      Checked the position against the GE snapshot.
      Adjusted heights to match GE terrain.
      Exported model to KMZ.
      Imported KMZ into GE.

      and... the results are pretty poor, both horizontally and vertically.

      SU model:

      http://farm8.staticflickr.com/7060/6855722657_bfe99a6b04_m.jpg

      same view in GE:

      http://farm8.staticflickr.com/7051/6855723863_ea61eb6183_m.jpg

      the keen-eyed amongst you will spot the difference!

      The model appears to laterally offset by ~5m, and vertically by ~2m.

      Is there a step I've missed?
      Do I have re-reference the model somehow?

      I'd really appreciate some hints.

      thanks - JS

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

        Hi Jack (and welcome),

        I wonder why you had to "add more imagery"? This is usually only available when you have already added some location to the model. If that location is very far, the add more imagery function will cause similar errors. It should usually be only used in a very close proximity of the original location (say a city block)

        Gai...

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

          I did indeed already have the model georeferenced before grabbing the terrain, but this would've been no more than 300m from the GE terrain location.

          I guess that my process is actually:

          Georeferenced and positioned an image of an OS map of the area (~ 400m x 450m)
          Built a rough model of a bunch of Nissen huts and water towers, using the OS map.
          Grabbed terrain from GE in SU, using 'Add more imagery...' tool.
          Re-positioned OS map and model against the GE snapshot image.
          Adjusted heights to match GE terrain.
          Exported model to KMZ.
          Imported KMZ into GE

          So, maybe it is 'more imagery' because of the pre-existing OS map PNG.

          Is the fact that I didn't grab the GE terrain first really likely to be the issue?

          I just tried a test, using the procedure I originally posted - this results in ~2.5m offset, but good vertical referencing.

          Interesting.

          JS

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

            Well, I have not made too much calculation how much is much so cannot tell if that 300 metres is much or not.

            Just being interested: why do you need that map at all? I see that the GE imagery is not perfect there but IMO good enough to place those buildings more or less accurately.

            Gai...

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

              Gai,

              FYI: Adding the terrain was kind of an afterthought, having built a model of a proposed house-build on a plot adjacent to the buildings you see in the screen-grabs in my OP. The OS map has the plot boundary on it (which obviously isn't part of GE imagery).

              It seems that the order in which the various steps are undertaken is critical, i.e. you can't reliably add GE terrain to an already georeferenced model. I find this surprising, particularly when using 'Add more imagery...' tool zooms directly to the zeroed axes of the defined model.

              I will re-build the model, with imported GE terrain as the base.

              I wonder (but doubt) whether the fact that I'm running SU8 under Wine (1.3.36) on a Linux (openSUSE 12.1) machine has any bearing on the issue...

              best - JS

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

                Unfortunately I do not know if Linux adds anything to this (I am even surprised that it allows adding the location and opens the map as these parts are usually the most problematic).

                There are some experienced Linux / SketchUp / GE users here so hopefully they can chime in on this part of it.

                Gai...

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

                  FYI:
                  I followed installation as per: http://sites.google.com/site/sketchupsage/problems/linux;
                  I initially had issues with openSUSE12.1, but these were resolved with Wine1.3.35, as per http://bugs.winehq.org/show_bug.cgi?id=29404

                  (just noting these in case someone picks up this thread while searching for similar solution)

                  JS

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

                    Ah, that's Aerilius (one of those I thought of when mentioning Linux users above). I trust he knows what he is writing. πŸ˜‰

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aerilius
                      last edited by

                      Hi,
                      I assume when you adjusted the models drawn on OpenStreetMap plan to the Google Maps satellite image, you moved the models (and did not unlock and move the terrain).

                      SketchUp does not save the vertical position of the model (elevation) but assumes the origin to be at terrain level. It often happens that additional imagery does not match vertically.

                      What happens if you create a new (not geo-referenced) model and add a terrain using "Add Location", then import your geo-referenced model file into this?

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

                        Aerilius, hello

                        I'll take this opportunity to sing your praises for the excellent and helpful post describing how to get SU running on Linux (mentioned above) - thanks.

                        @unknownuser said:

                        I assume when you adjusted the models drawn on OpenStreetMap plan to the Google Maps satellite image, you moved the models (and did not unlock and move the terrain).

                        • definitely - GE terrain remained locked throughout. (Also, 'OS' is Ordnance Survey, the UK govt. cartographers).

                        @unknownuser said:

                        What happens if you create a new (not geo-referenced) model and add a terrain using "Add Location", then import your geo-referenced model file into this?

                        • that's what I suggested I would do next in my 3rd post... and now I've done it. It works a treat - AND, I didn't have to move any of the model, i.e. the imported model was correctly geo-referenced, all along.

                        So it seems that adding terrain from GE after creating and geo-referencing a model screws with the geo-referencing; even though the model location tag in the exported KML is the same as the manually specified geo-reference for the original model:

                        
                            <Placemark>
                              <name>Model</name>
                              <description></description>
                              <Style id="default"/>
                              <Model>
                                <altitudeMode>relativeToGround</altitudeMode>
                                <Location>
                                  <latitude>dd.dddddd</latitude>
                                  <longitude>-d.dddddd</longitude>
                                  <altitude>0</altitude>
                                </Location>
                                ......
                            </Placemark>
                        

                        Lesson learned!

                        thanks for your interest - JS

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Aerilius
                          last edited by

                          So the work-around works πŸ˜„
                          Theoretically the "Add location" feature should work no matter if the model is already geo-referenced and no matter how it is geo-referenced.
                          SketchUp adds some special attributes when the terrain is imported with "Add location":
                          ModelTranslationX -18855495.7977869 ModelTranslationY -215494081.152937 ModelTranslationZ -4278.33784800286 ZValueCentered -4278.33784800286
                          I have no clue what that means, but it's certainly missing if you only have the normal coordinates. I'll test it out or report the problem to Google.

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

                          Advertisement