/usr/share/osgearth/maps/refresh.earth is in osgearth-data 2.4.0+dfsg-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | <!--
osgEarth Sample - Refresh
This example is a test of a dynamic image capability that refreshes an image every N seconds. This doesn't really serve any purpose other than to serve
as a an example of how one might go about providing a dynamically refreshing image for a tile.
-->
<map name="refresh" type="geocentric" version="2">
<image name="Refresh" driver="refresh">
<!--This url is a traffic camera that changes periodically. The resolution isn't great but you can get the idea.
You can also point to a local file, load it in an image editing program and save it and the new image will appear
-->
<url>http://webcam.mta.info/mta3/servlet/MtaImageServlet?cam_id=5</url>
<!--Polling frequency. How often to refresh the image. You don't want this too high or too many images will be loaded since the same image applies to every tile.-->
<frequency>2.0</frequency>
</image>
<options>
<terrain>
<lighting>false</lighting>
<!--
Setting the filters to linear disables mipmapping and reduces frame breaks b/c many new images are being sent to the graphics card when it refresh
and can cause stalls when generating mipmaps
-->
<min_filter>LINEAR</min_filter>
<mag_filter>LINEAR</mag_filter>
</terrain>
</options>
</map>
|