Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • Courses
    • Certification
      • DataMiner Operator
      • DataMiner Administrator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
    • Video Library
    • Books We Like
    • Third-party Courses
    • DevOps Enablement Services
    • Quizzes
  • RESOURCES
  • Agile
    • Agile Webspace
    • Everything Agile
      • The Agile Manifesto
      • Best Practices
      • Retro Recipes
    • Methodologies
      • The Scrum Framework
      • Kanban
      • Extreme Programming
    • Roles
      • The Product Owner
      • The Agile Coach
      • The Quality & UX Coach (QX)
  • Expert Hubs
    • DataMiner DevOps Professional Program
    • DataMiner
      • DataMiner Releases & Updates
      • System Architecture
      • Integration Studio
      • Visual Overview
      • Security
    • Technologies
      • CI/CD
      • Converged Interconnect Networks
      • DOCSIS 3.1 / DAA
      • Elasticsearch
      • Kubernetes
      • Telemetry / Flow Monitoring
      • PTP
      • SDN / ST2110 / NMOS
    • Business
      • Software Business models
      • Perpetual Use or Usage-based Services
  • Discover
    • Markets
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Solutions
    • Use Case Library
    • DataMiner Dashboards
    • DataMiner Downloads
    • DataMiner Modules
      • Core features
      • SRM features
    • DataMiner Apps
    • Professional Services
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • Pricing
  • More
    • Feature Suggestions
    • Online DataMiner Systems
    • Leaderboard
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
    • Verify a certificate
  • >> Go to dataminer.services

privateFilePath and gmap overlay

Solved155 views4th July 2023gmap KMLFile Overlay
1
joel Joly489 8th June 2023 3 Comments

Hello dojo

I am trying to add a satellite footprint on a gmap dashboard
I succeed if the kml or kmz file is located outside of the DMA with publicHref tag
Example:

<Layers>
<Layer sourceType="overlay" name="simple sample" allowToggle="true" visible="false" toggleGroup="footprint">
<GroundOverlay type="kml" publicHref="http://ftp.geogratis.gc.ca/pub/nrcan_rncan/image/spot/geobase_orthoimages/index/spot_ortho_index.kmz">
</GroundOverlay>
</Layer>

But it never works if the Kml location is configured with privateFilePath tag, like described in doc : Layer types | DataMiner Docs
Example :

<Layer sourceType="overlay" name="Cube KML sample" allowToggle="true" visible="false" autoFit="true" toggleGroup="footprint">
<GroundOverlay type="kml" privateFilePath="C:\Skyline DataMiner\Maps\kmls\KML_Samples.kml">
</GroundOverlay>
</Layer>

I also tried to put the kml file in C:\Skyline DataMiner\Webpages\
Could it be a right matter ?
Or what do I miss ?

Marieke Goethals [SLC] [DevOps Enabler] Selected answer as best 4th July 2023
Alberto De Luca [DevOps Enabler] commented 8th June 2023

Salut Joel, hope you’re fine

Have you already tried with a different relative path?
E.g. if the kml is in a different location – or same location of a different server.
I believe the key is to get the path “relative”.

Alternatively, if the kml is cached somewhere on an internal server, could you define an absolute path to the cache server and rely on the first option?

HTH

joel Joly commented 9th June 2023

Hello Alberto

Thanks for your advices
Yes I have tried to move the file and the relative path.
I have the same files and location on each dma’s.

Althrough the documentation doesn’t indicate that it’s possible to use absolute path, I did some tests.

So I guess we have to search on our DMA configuration side.

Alberto De Luca [DevOps Enabler] commented 30th June 2023

What I meant was “publicHref” (example 1 which is working in your scenario)
vs “privateFilePath” (example 2, that seems to generate issues in your config).
I’d test a different way to specify the path. Do you get the same outcome if you use a path to the file starting as shown in Wim’s answer?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Wim Bruynooghe [SLC] [DevOps Enabler]5.12K Posted 9th June 2023 3 Comments

When using privateFilePath, then the DataMiner will generate a secret download token which will be provided to Google Maps to be able to download the KML file from the DataMiner agent. So this means that https://mydma.company.com/API/v0/MapsGetSecureFile.aspx must be publicly accessible, otherwise Google Maps can not download the KML file and won't be able to render it. You also have to open the map using the same FQDN https://mydma.company.com/.

Marieke Goethals [SLC] [DevOps Enabler] Selected answer as best 4th July 2023
joel Joly commented 9th June 2023

Thanks for you help Wim
good clue

The dataminer help (Dashboard Gateway troubleshooting) indicate :
DataMiner Maps cannot be accessed via the Dashboard Gateway.

By default, data accessed via a Dashboard Gateway is not publicly accessible. Therefore, to be able to display DataMiner Map information via a Dashboard Gateway, add the following exception to the web.config of that Dashboard Gateway:

My file C:Skyline DataMinerWebpagesDashboardsweb.config
containts exactly the same lines than those indicated in help

Is there another file to modify

Wim Bruynooghe [SLC] [DevOps Enabler] commented 4th July 2023

You’re accessing Maps through a legacy Dashboards Gateway? Then you indeed need to make sure that “p/API” is publicly available, so you need the configuration in the WebpagesDashboardsWeb.config. Then it should work for Google to access https://dashboardgateway.company.com/p/API/v0/MapsGetSecureFile.aspx

Wim Bruynooghe [SLC] [DevOps Enabler] commented 4th July 2023

If it still wouldn’t work, might be best to reach out to our techsupport, since it’s not so easy to debug it.

Please login to be able to comment or post an answer.

My Dojo Points

0 Credits
0 Reputation

Question Tag Cloud

adl2099 (54) Alarm Console (53) alarms (70) alarm template (58) API (35) Automation (144) automation scipt (65) Automation script (95) backup (54) Cassandra (142) cloud (37) Connector (44) Correlation (42) Cube (114) Dashboard (134) Dashboards (136) database (64) DataMiner Cube (37) DIS (53) DMS (48) DOM (68) driver (48) DVE (43) Elastic (73) Elasticsearch (99) elements (49) Failover (90) GQI (51) HTTP (45) IDP (55) low code app (70) low code apps (43) MySQL (50) protocol (145) QAction (58) resources (35) security (71) SNMP (56) SRM (267) SRM resources (39) timeout (35) trending (66) upgrade (44) Visio (373) Visual Overview (290)
Privacy Policy • Terms & Conditions • Contact

© 2023 Skyline Communications. All rights reserved.

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin