Image Server inconsistent when reading TIFF tags
Hello,
When I add a folder of TIFF files to an image service, only the first TIFF file will have its TIFF tags read into the RPDef file. The subsequent TIFF files although they have TIFF tags as well, will have the TIFF tags missing from the RPDef file.
This is TIFFTAGS section with all tags properly read.
<TIFFTAGS>
<GeoPixelScale count="3" type="float64">1.000000000000, 1.000000000000, 0.000000000000</GeoPixelScale>
<GeoTiePoints count="6" type="float64">0.000000000000, 0.000000000000, 0.000000000000, 591319.625000000000, 4789340.962000000300, 0.000000000000</GeoTiePoints>
<GeoKeyDirectory count="28" type="uint16">1, 1, 0, 6, 1024, 0, 1, 1, 1025, 0, 1, 1, 1026, 34737, 257, 0, 3072, 0, 1, 26917, 3073, 34737, 245, 257, 3076, 0, 1, 9001</GeoKeyDirectory>
<GeoASCIIParams count="1" type="string">...</GeoASCIIParams>
<Tag_42112 count="154" type="string">
<GDALMetadata>
<Item name="IMG_GUID">420c3dd1-61ee-4d8b-a659-c202816c47ae</Item>
<Item name="LAYER_TYPE" sample="0">athematic</Item>
</GDALMetadata>
</Tag_42112>
</TIFFTAGS>
This is the TIFFTAGS section missing some tags.
<TIFFTAGS>
<GeoPixelScale count="3" type="float64">1.000000000000, 1.000000000000, 0.000000000000</GeoPixelScale>
<GeoTiePoints count="6" type="float64">0.000000000000, 0.000000000000, 0.000000000000, 591319.625000000000, 4789340.962000000300, 0.000000000000</GeoTiePoints>
<GeoKeyDirectory count="28" type="uint16">1, 1, 0, 6, 1024, 0, 1, 1, 1025, 0, 1, 1, 1026, 34737, 257, 0, 3072, 0, 1, 26917, 3073, 34737, 245, 257, 3076, 0, 1, 9001</GeoKeyDirectory>
<GeoASCIIParams count="1" type="string">...</GeoASCIIParams>
<GDALMetadata count="1" type="string">...</GDALMetadata>
</TIFFTAGS>