Aven generated KML visualization/altitude doubts

Rodrigo Severo rsev at pm.me
Thu Sep 2 23:55:58 BST 2021


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Em quinta-feira, 2 de setembro de 2021 às 7:42 PM, Olly Betts <olly at survex.com> escreveu:

> On Thu, Sep 02, 2021 at 01:55:57PM +0000, Rodrigo Severo wrote:
>
> > I'm just exporting from Aven to KML for the first time.
> >
> > My first try didn't show anything on Google Earth. As I suspected, it
> >
> > was because my cave, being underground, was below the terrain so
> >
> > Google Earth hided my cave under the terrain.
> >
> > To be able to see my cave line in Google Earth I manually edited the
> >
> > Aven generated KML file changing all occurences of
> >
> > <altitudeMode>absolute</altitudeMode>
> >
> > to
> >
> > <altitudeMode>clampToGround</altitudeMode>
> >
> > It worked but it is a clumky solution.
>
> Since 1.2.36 you should get a "Clamp to ground" checkbox in the KML
>
> export options (it's the last one at least currently) which just
>
> omits the `altitudeMode` element entirely (the spec says "Any KML
>
> feature with no altitude mode specified will default to clampToGround"
>
> and not writing it out over and over makes the file significantly
>
> smaller).

Yes, it's there. Sorry I didn't noticed before.

> This checkbox is off by default, but perhaps we should look at
>
> everything that consumes KML and consider what the most sensible default
>
> is. The altitudes are actually still present in the KML file with it
>
> on, so a reader could still access it if it wanted it.

I believe this setting should be on by default. Is there any KML viewing tool that would suffer from this change?

BTW, can you please approve my subscription request to this list Olly?


Regards,

Rodrigo Severo




More information about the Survex mailing list