Giter VIP home page Giter VIP logo

Comments (4)

elcf avatar elcf commented on August 12, 2024

For the issue that the KML has positive altitude data, but in Google Earth Pro it shows as 0, the reason is that the default "altitudeMode" is set to "clampToGround" Source: https://developers.google.com/kml/documentation/kmlreference#gx:altitudemode
So it seems it has to be made explicit that the "altitudeMode" is "absolute".

Edit: This would be done by simply adding <altitudeMode>absolute</altitudeMode> inside <Point> . . . </Point>

from gnss-ins-sim.

elcf avatar elcf commented on August 12, 2024

Saw that in line 122-123 of kml_gen.py, if lla[i][2] < 0: lla[i][2] = 0. Is there a reason this was done? I will change it on my code since I'm using it for underwater sim.

from gnss-ins-sim.

dxg-aceinna avatar dxg-aceinna commented on August 12, 2024

Hi elcf,

Thank you for your feedback. This was done on purpose. When there is negative altitude and the altitude mode is "absolute", this point is not showed on Google Earth because it might be underground. So I forced the altitude to be non-negative.
图片
图片

from gnss-ins-sim.

elcf avatar elcf commented on August 12, 2024

Hi dxg, understood, thank you.

from gnss-ins-sim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.