Select to view content in your preferred language

KML linkName, linkSnippet, and linkDescription are not refreshed in the Data window

1410
9
09-28-2021 05:00 PM
BillClark
Emerging Contributor

<linkName>, <linkSnippet>, and <linkDescription> of the KML <NetworkLinkControl> are not refreshed in the Data window

Only the initial <NetworkLink> <name>, <Snippet>, and <description> are displayed.

Note that the NetworkLinkControl items are correctly refreshed in the data itself.  For example, when the network link is clicked in the Data window, we can see that the description is updated.

And if the network link is right-clicked and saved from the Data window, we can see the updated information in the KMZ file.

However, none of it is refreshed in the ArcGIS Earth Data window.

Tags (1)
0 Kudos
9 Replies
YongweiKang
Esri Contributor

Hi @BillClark 

Thank you for reporting the issues. We will try to fix it in the upcoming (this November) release of Earth 1.14.

Best,

Yongwei

0 Kudos
BillClark
Emerging Contributor

Thank you, Hope this is still on the list.  It apparently did not make it into 1.14

Best regards,

Bill

0 Kudos
Sharon_MU
Esri Contributor

Hi @BillClark ,

Thanks for reaching out to us regarding this issue.   

Definitely,  I'm glad to share that the NetworkLinkControl items have been already supported since ArcGIS Earth 1.14.   Currently, we just released 1.15,  this feature is supported at both versions.   

I tested via my data with NetworkLinkControl,  and found the items can be refreshed expectedly. 

 

Would you mind if you share the testing data and the steps to us, with which you encountered this failure ?  Screenshots will also help.

so I can do deeper testing on this issue to investigate whether data specific issue or software defect.

Please feel free to send email to ArcGISEarth_Feedback <ArcGISEarth_Feedback@esri.com>

 

Looking forward to your feedback !  🙂

 

Best,

Sharon  

0 Kudos
Sharon_MU
Esri Contributor

Hi @BillClark

How is going ? Shall we connect via email ? 

Please feel free to send email to ArcGISEarth_Feedback <ArcGISEarth_Feedback@esri.com> , and we'll assit you on this issue.

Thank you !

Xiaoyan(Sharon) MU

0 Kudos
BillClark
Emerging Contributor

As of version 2.2 <linkName>, <linkSnippet>, and <linkDescription> are still not updated.  Also, while a different topic, complex css styles in names and snippets are not supported.  For example,

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Folder>
<name><![CDATA[<span style='color: magenta; text-decoration: none; font-weight: bold; font-family: Georgia;'>Name - Magenta</span>]]></name>
<Snippet maxLines='1'><![CDATA[<span style='color: darkorange; text-decoration: none; font-weight: bold;'>Snippet - DarkOrange</span>]]></Snippet>
<visibility>0</visibility>
</Folder>
</kml>

 

0 Kudos
Sharon_MU
Esri Contributor

Thanks @BillClark for the feedback.

We'll bring the testing data back for deep-dive testing and keep you updated.

Not sure if you have tried the linkName, linkSnippet, and linkDescription in KML Spec 2.1 on your side?

Please feel free to let us know if any questions.

Thank you again.

Sharon

0 Kudos
BillClark
Emerging Contributor

Hello,

Still not working.  I just tested "ArcGIS Earth 2‌.‌3 Early Adopter".

linkName, linkSnippet, and linkDescription are not refreshed.

styled <span> tags are not supported in names or snippets (see above)

 

0 Kudos
Sharon_MU
Esri Contributor

Hi @BillClark,

Thanks for the prompt feedback of the Early Adopter version 2.3! 

I double checked on my end, and find currently refresh of `<linkName>`, `<linkSnippet>`, and `<linkDescription>` are actually supported by ArcGIS Earth. As you may have found, it supports pure Text String only so far,  the rich style is just ignored.

See the example as following:

The name of the network link node is changed from "Not Changed" to "Name Changed!" after refreshed.

NetworklinkControl.gif

 From the KML coding aspect:

KML.png

In ArcGIS Earth,  Table of Content (TOC) is designed to be concise and consistent across all kinds of data layers.  ArcGIS Earth is able to consume various data types including KML.

If a rich style of KML layer names in TOC is a priority for your work,  please free free to share your requirements with us. We will do our best to accommodate them. 

Which kind of styles are the most frequent used? from the KML coding your provided earlier,  I found it like font style, font color, etc.  any style more?  

Thanks,

Sharon

0 Kudos
Sharon_MU
Esri Contributor

Hi @BillClark , it's been a while since we last connected.  I'm delight to share some updates on this topic.

In the coming ArcGIS Earth V2.4, the complex style of KML Name, Snippet, Description, linkName, linkSnippet, and linkDescription are fully supported.  This means ArcGIS Earth will now honor these predefined styles directly in the Table of Contents (TOC).

I’ve included a screenshot of a few testing examples from my side for reference — just to give you a quick preview.  Stay tuned for the new version!

Sharon_MU_0-1744188977496.png

 

0 Kudos