This file is indexed.

/usr/share/sdformat/1.5/heightmap_shape.sdf is in sdformat-sdf 2.0.0-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
34
35
36
37
38
39
40
<element name="heightmap" required="0">
  <description>A heightmap based on a 2d grayscale image.</description>
  <element name="uri" type="string" default="__default__" required="1">
    <description>URI to a grayscale image file</description>
  </element>
  <element name="size" type="vector3" default="1 1 1" required="0">
    <description>The size of the heightmap in world units.
      When loading an image: "size" is used if present, otherwise defaults to 1x1x1.
      When loading a DEM: "size" is used if present, otherwise defaults to true size of DEM.
  </description>
  </element>
  <element name="pos" type="vector3" default="0 0 0" required="0">
    <description>A position offset.</description>
  </element>

  <element name="texture" required="*">
    <description>The heightmap can contain multiple textures. The order of the texture matters. The first texture will appear at the lowest height, and the last texture at the highest hieght. Use blend to control the hieight thresholds and fade between textures.</description>
    <element name="size" type="double" default="10" required="1">
      <description>Size of the applied texture in meters.</description>
    </element>
    <element name="diffuse" type="string" default="__default__" required="1">
      <description>Diffuse texture image filename</description>
    </element>
    <element name="normal" type="string" default="__default__" required="1">
      <description>Normalmap texture image filename</description>
    </element>
  </element>
  <element name="blend" required="*">
    <description>The blend tag controls how two adjacent textures are mixed. The number of blend elements should equal one less than the number of textures.</description>
    <element name="min_height" type="double" default="0" required="1">
      <description>Min height of a blend layer</description>
    </element>
    <element name="fade_dist" type="double" default="0" required="1">
      <description>Distance over which the blend occurs</description>
    </element>
  </element>
  <element name="use_terrain_paging" type="bool" default="false" required="0">
    <description>Set if the rendering engine will use terrain paging</description>
  </element>
</element>