imagiscope / EarthStudioTools

Blender Panel to import Google Earth Studio, KML Routes, and 3D Masking
Other
165 stars 29 forks source link

KML import not working #5

Closed GSGithub2 closed 2 years ago

GSGithub2 commented 2 years ago

Hi Rob,

great tool and tutorial! Many thanks for creating it. I was following all steps as described. Import of the images works well (in the beginning I forgot to set the start market). But I do not manage to import a KML. It creates the path item, but does not display the 3D route on the screen.

Any specific requirements to the KML file? I tried several ways: converted from existing GPX, creation via Google Earth (like described in the tutorial), nothing seems to work. Any hint would be highly appreciated!!

Thank you!!

GS

imagiscope commented 2 years ago

Have you tried adjusting the bevel on the curve to see it?

On Sat., Nov. 6, 2021, 12:21 p.m. GSGithub2, @.***> wrote:

Hi Rob,

great tool and tutorial! Many thanks for creating it. I was following all steps as described. Import of the images works well (in the beginning I forgot to set the start market). But I do not manage to import a KML. It creates the path item, but does not display the 3D route on the screen.

Any specific requirements to the KML file? I tried several ways: converted from existing GPX, creation via Google Earth (like described in the tutorial), nothing seems to work. Any hint would be highly appreciated!!

Thank you!!

GS

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imagiscope/EarthStudioTools/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVJ673EHAPVB5OLY3AFIJLUKVWZTANCNFSM5HP3S7WA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

GSGithub2 commented 2 years ago

Hi Rob, thanks for fast reply. Not sure how to adjust the bevel on the curve (I am new to blender), but I found the fix in your excellent Tips&Fixes tutorial (https://www.youtube.com/watch?v=n63CxVIQ7Tw&list=TLPQMDgxMTIwMjHFEqPqOcslwg&index=1) on 10:00 ff. min (load the file in Google Earth Pro, click on route icon and save the file with a new name). That process seems to get rid of some elements that disturb the process.

Many thanks!!

GS

GSGithub2 commented 2 years ago

Hi Rob, I have now updated to 1.2.1. Great update and tutorial!! But the KML import is not working. File not found error python. The KML is generated via a website (not Google Maps) but it fully works within Google Earth Studio itself. Any idea? The workaround described above did not work. And the python error message is much longer now.

Thanks!!

GS

imagiscope commented 2 years ago

On Fri., Dec. 3, 2021, 9:30 a.m. GSGithub2, @.***> wrote:

Hi Rob, I have now updated to 1.2.1. Great update and tutorial!! But the KML import is not working. File not found error python. The KML is generated via a website (not Google Maps) but it fully works within Google Earth Studio itself. Any idea? The workaround described above did not work. And the python error message is much longer now.

Thanks!!

GS

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imagiscope/EarthStudioTools/issues/5#issuecomment-985658090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVJ676RU3GNO22F7DBLRKTUPDWCRANCNFSM5HP3S7WA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Can you send the KML to look at?

Rob

GSGithub2 commented 2 years ago

Cool, will do. Does this work? Etappe 1.zip

imagiscope commented 2 years ago

Just looking at the KML code (haven't fully debugged yet), the KML includes multi geometry data which I haven't built into the decoder (basically, it looks for routes in the KML file but this one contains a route converted to a different format). I'll see what I can do to make an update to Earth Studio Tools so it can read this format.

Stay tuned.

Rob

On Fri., Dec. 3, 2021, 9:51 a.m. GSGithub2, @.***> wrote:

Cool, will do. Does this work? Transalpine Run 2021 Etappe 1 (Westroute).zip https://github.com/imagiscope/EarthStudioTools/files/7651095/Transalpine.Run.2021.Etappe.1.Westroute.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imagiscope/EarthStudioTools/issues/5#issuecomment-985672497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVJ676JSZ7THR2P5NNXS5DUPDYPNANCNFSM5HP3S7WA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

GSGithub2 commented 2 years ago

Hey Rob, that would be great!!! I like to visualize existing routes and they usually come in such a format. Very cool and many thanks!!!

GS

imagiscope commented 2 years ago

Hi Gabriel,

I updated the code for Earth Studio Tools 1.2 - the version you want (by checking in Blender) is 1.2.2.

You can download from GitHub as before.

I successfully imported your KML into a project.

Rob

On Fri, Dec 3, 2021 at 10:41 AM GSGithub2 @.***> wrote:

Hey Robm that would be great!!! Because I like to visualize existing routes and they usually come in sucxh a format. Very cool!!!

GS

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imagiscope/EarthStudioTools/issues/5#issuecomment-985707724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVJ67ZXWNCTAMYNEF7PW5DUPD6NFANCNFSM5HP3S7WA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

imagiscope commented 2 years ago

Hi Gabriel,

By the way - you will not need to create a terrain JSON file for this as it already includes Altitude data in the KML (saves you a step).

Make sure you have "Follow Terrain" unchecked (off).

Rob

On Fri, Dec 3, 2021 at 11:44 AM Rob Jolly @.***> wrote:

Hi Gabriel,

I updated the code for Earth Studio Tools 1.2 - the version you want (by checking in Blender) is 1.2.2.

You can download from GitHub as before.

I successfully imported your KML into a project.

Rob

On Fri, Dec 3, 2021 at 10:41 AM GSGithub2 @.***> wrote:

Hey Robm that would be great!!! Because I like to visualize existing routes and they usually come in sucxh a format. Very cool!!!

GS

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imagiscope/EarthStudioTools/issues/5#issuecomment-985707724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVJ67ZXWNCTAMYNEF7PW5DUPD6NFANCNFSM5HP3S7WA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

imagiscope commented 2 years ago

Tested - resolved. RJ

GSGithub2 commented 2 years ago

Hi Rob, happy new year. Great stuff! I can confirm that the import works! Brilliant! Important remark is to uncheck "follow terrain" option. Also the terrain information works. So no second json file with manual terrain information needed. Great ease! And it is possible now to use KML files from geo platforms like alltrails. Maybe worth a video with indepth explanation. The only thing I am currently struggling with is, that the markers start and end are not absolute, but somehow relative. They "jump around" in the blender animation and so does the route. In Google Earth Studio all works fine. But I cannot create the animation in blender correctly. Also in the rendering section the animation jumps around. I don't not what the markers are relative to. They do not keep position. Could this be related to the different KML format? Would be great if you could comment on this! I could also provide you with more data, if you think it could be format related. Thank you and best wishes, GS