Ticket #37 (closed defect: fixed)
Bad formatting of tag value in listgeo output is not detected by geotifcp
| Reported by: | rnicz | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Component: | libgeotiff |
| Version: | Keywords: | ||
| Cc: |
Description
Wrongly formatted tag values in metadata file (generated by listgeo), are not detected by geotifcp -g. Such metadata files are parsed without any error messages, and wrong values are copied to output tiffs.
Original file (expected output of listgeo):
ModelPixelScaleTag? (1,3):
0.500226363569095 0.500226363569095 0
Listgeo actual output:
ModelPixelScaleTag? (1,3):
0.5002263635690950.5002263635690950
geotifcp read from meta file and copy to tiff (listgeo output):
ModelPixelScaleTag? (1,3):
0.5002263635690950 0
It should be noticed, that again first and second field of tag value are not separated - it should be
ModelPixelScaleTag? (1,3):
0.500226363569095 0 0
Probably problem is in ReadTag?() procedure in geo_print.c file.
--
Best regards
RNicz
