Hello Dojo,
I was wondering if anyone had documentation for the use of open weather maps? I have used the Help and there is no real information. If anyone has done this before and has an example that would be great.
Thanks,
Kris
I think it only works in DataMiner Maps in combination with OpenStreetMap, so your maps\serverconfig.xml will look like this:
<MapsServerConfig>
<VirtualHosts>
<VirtualHost hostname="*">
<AppVersion>1</AppVersion>
<MapsProvider>osm</MapsProvider>
<MapQuest key=""/>
<OWM key=""/>
</VirtualHost>
</VirtualHosts>
</MapsServerConfig>
The OWM key is your API key of OpenWeatherMap.
In a map config xml you can add layers with sourceType = "clouds" and/or "weather".
We could also implement OWM for Google Maps, but this hasn't been done yet.
Not at the moment without a software change. We can easily add it since OWM provides a precipitation layer, you can create a task for this on Collaboration or reach out to your TAM/PM.
Hi Kristopher
If you supply an OWM key in the maps serverconfig.xml, you should have support for openweathermap.
You can find more info about the serverconfig syntax in the help.
If this would not give you the desired result, please let us know.
Your serverconfig.xml should look something like this:
<MapsServerConfig>
<VirtualHosts>
<VirtualHost hostname="*">
<AppVersion>1</AppVersion>
<MapsProvider>osm</MapsProvider>
<MapQuest key="YourMapQuestKey"/>
<OWM key="YOurOWMKey"/>
</VirtualHost>
</VirtualHosts>
</MapsServerConfig>
Thanks Wim,
Is there another Layer that can be added for precipitation? The cloud layer does not include it.