# Kmz export is not perfectly correct

**URL:** <https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421>\
**Category:** Pro\
**Tags:** kmz, export\
**Created:** [January 14, 2019, 9:28pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421 "2019-01-14T21:28:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trydlinge01](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Trydlinge01](https://forums.sketchup.com/u/Trydlinge01)\
**Post date:** [January 14, 2019, 9:28pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/1 "2019-01-14T21:28:24Z")

</div>

My 3d kmz file export turns out to be incorrect when I Open it in Google Earth. The position is almost correct but still a one to a few meters wrong. Is this the 32 bit coordinate error I heard about? Any solution?

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [January 14, 2019, 9:37pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/2 "2019-01-14T21:37:23Z")

</div>

What’s the location? How did you get the location in SketchUp? Can you share the SketchUp file that shows the problem?

---

<div class="post-metadata">

**Author:** ![Trydlinge01](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Trydlinge01](https://forums.sketchup.com/u/Trydlinge01)\
**Post date:** [January 14, 2019, 9:46pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/3 "2019-01-14T21:46:00Z")

</div>

The skp file is created in fme in epsg 4326 and looks good inside sketchup. The error turns up when I export the file to kmz. I have the file at my work, can post it tomorrow

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [January 14, 2019, 9:48pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/4 "2019-01-14T21:48:24Z")

</div>

OK. I’ll watch for the file tomorrow.

Can you give the location so I can attempt creating the location here on my end? What happens if you add the location directly in SketchUp instead of using SketchUp as a go between?

---

<div class="post-metadata">

**Author:** ![slbaumgartner](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/slbaumgartner/32/7302_2.png) [@slbaumgartner](https://forums.sketchup.com/u/slbaumgartner)\
**Post date:** [January 14, 2019, 9:52pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/5 "2019-01-14T21:52:25Z")

</div>

A meter or so of difference would not be unusual if there is any difference in the geodetic datum used in each case or if you can’t enter enough precision in the coordinates. I believe SketchUp uses WGS 1984 datum. I know nothing about fme in epsg 4326 so I can’t say more.

---

<div class="post-metadata">

**Author:** ![Trydlinge01](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Trydlinge01](https://forums.sketchup.com/u/Trydlinge01)\
**Post date:** [January 14, 2019, 10:02pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/6 "2019-01-14T22:02:14Z")

</div>

The file is created in fme with terrain model,buildings and trees, edited by architects in sketchup and then Published in Google Earth. So I have to use sketchup in between. The position is Borås near Gothenburg in Sweden

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [January 14, 2019, 10:09pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/7 "2019-01-14T22:09:13Z")

</div>

Well, starting with SketchUp’s Add Location I got an area in Borås and added the cylinders.  
 ![Screenshot%20-%201_14_2019%20%2C%204_05_25%20PM](https://global.discourse-cdn.com/sketchup/original/3X/7/e/7e70a3ff29f868d51bac59000557cc0fc5c9744b.jpeg)

The export KMZ file seems OK in Google Earth.

 ![Screenshot%20-%201_14_2019%20%2C%204_06_32%20PM](https://global.discourse-cdn.com/sketchup/original/3X/6/3/631bd61e2057c1329234f0d770d8d01880f597a8.png)

It would appear that things fall apart somewhere else. Maybe as Steve suggested it’s due to different datum being used.

---

<div class="post-metadata">

**Author:** ![Trydlinge01](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Trydlinge01](https://forums.sketchup.com/u/Trydlinge01)\
**Post date:** [January 14, 2019, 10:40pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/8 "2019-01-14T22:40:04Z")

</div>

[Model\_example.kmz](https://forums.sketchup.com/uploads/short-url/1A1OV94aATQIXL6fRaLKyFbIN1O.kmz) (99.8 KB)

This is a file with the issue I explained.

---

<div class="post-metadata">

**Author:** ![Trydlinge01](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Trydlinge01](https://forums.sketchup.com/u/Trydlinge01)\
**Post date:** [January 14, 2019, 10:41pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/9 "2019-01-14T22:41:54Z")

</div>

Model info lat long according to image  
 ![image](https://global.discourse-cdn.com/sketchup/original/3X/7/e/7e4f0159b064030ea4bec353f933863d39fad27d.png)

---

<div class="post-metadata">

**Author:** ![DaveR](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/daver/32/7601_2.png) [@DaveR](https://forums.sketchup.com/u/DaveR)\
**Post date:** [January 14, 2019, 11:01pm UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/10 "2019-01-14T23:01:23Z")

</div>

Interesting. With the location I chose for the first image which isn’t that far away from your site, things seemed to line up pretty well. In this spot they don’t. That would indicate there’s different datum between the location sources.

Your KMZ

 ![Screenshot%20-%201_14_2019%20%2C%204_53_57%20PM](https://global.discourse-cdn.com/sketchup/original/3X/4/d/4dd0e83210a90fe671087e1a4e0e79d40c5f3527.png)

My SketchUp model:

 ![Screenshot%20-%201_14_2019%20%2C%204_53_13%20PM](https://global.discourse-cdn.com/sketchup/original/3X/e/2/e2d2b0e98c1f97926f7a932dd355220dd260d51f.jpeg)

As KMZ in GE.

 ![Screenshot%20-%201_14_2019%20%2C%204_55_12%20PM](https://global.discourse-cdn.com/sketchup/original/3X/a/5/a594260e36d024b1e9085cdd6bad2955bec07eaf.png)

---

<div class="post-metadata">

**Author:** ![jimhami42](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/jimhami42/32/1781_2.png) [@jimhami42](https://forums.sketchup.com/u/jimhami42)\
**Post date:** [January 15, 2019, 1:04am UTC](https://forums.sketchup.com/t/kmz-export-is-not-perfectly-correct/85421/11 "2019-01-15T01:04:04Z")

</div>

I located your model so that the corner of a building was located at the origin in SketchUp. I then created a placemark in Google Earth at the same location. Then I manually geolocated the model to 57.705275N 12.925903E:

 ![image](https://global.discourse-cdn.com/sketchup/original/3X/8/5/851ba96fd959763fc163b54a7e054ce18c62864b.jpeg)

The alignment’s not perfect, but it seems reasonable enough.
