Skip to main content

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.

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: .


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


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.


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


Reply