Skip to main content
Question

Skethup - coordinates not correct

  • January 15, 2019
  • 4 replies
  • 42 views

Hi,

 

I have some problems to write some georeferenced data to a SKP-file.

I have read a lot of the questions regarding the problem with coordinates and Sketchup.

 

My data is a KMZ-file which i convert to a SKP-file i FME. Make som changes and the export i back to KMZ from Skethup.

 

What i´ve understand, the "Move to Local Coordinate System: Yes" should move the origin to the center of the data. However, when I look at the data in Skethup the axis is at the edge of the dataset. And to confirm the lat/long under "Model Info"-"Geo Location" is the exakt point of the axis. So for some reason the origin isn't in the center of the data.:

 

When I export the data from Skethup to a KMZ, the data have moved a few meters and isn´t i the right place anymore. So one of my thougts is because that the origin isn´t in the center, that might have something to do with it.

 

Is there any explanation to why the origin isn´t set in the center of the data (why it happens)? And can I do something different to get it to work?

I´ve tried to use the "LocalCoordianteSystemSetter" to set the center origin, but my data end up totally wrong, in another continent.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • January 22, 2019

Hi @eetmyhouse,

It would be very helpful if you could provide us with a sample of your source KML data. If you do not wish to make it public, you can email me directly: .


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • 956 replies
  • November 14, 2019

Did you solve this @eetmyhouse ? Use the 3DAffiner to try to move the data before you write. And then set the Move to local to NO


  • Author
  • 8 replies
  • November 14, 2019

Did you solve this @eetmyhouse ? Use the 3DAffiner to try to move the data before you write. And then set the Move to local to NO

Hi @sigtill,

No, I´ve not been able to get this to work.

 

I´ve tried the solution from @daveatsafe here:

 

https://knowledge.safe.com/questions/86630/sketchup-writer-move-to-locad-coordinate-system-pu.html

As well as the workbench in this post:

https://knowledge.safe.com/questions/67981/sketchup-writer-move-to-local-coordinate-system.html

Theese two post however have made it possible to set the origin to the center of the data thru a hull from the data and then extract the center point to use as the origin.

But once again when exporting to KMZ from Sketchup the data gets a slight rotation, as seen in the image:

Closer to the center, the offset is smaller.

I looked into the 3DAffiner, but I don´t think I have the time to learn how to use it.


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • 956 replies
  • November 14, 2019

What about reprojectint to LL-WGS84, then find centerpoint and then set the localcoordinatesystem using x and y? and write to sketchup with move to local = no? @eetmyhouse