"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "geo_write.c" between
libgeotiff-1.5.1.tar.gz and libgeotiff-1.6.0.tar.gz

About: libgeotiff is a library (built on top of libtiff) for reading and writing coordinate system information from and to GeoTIFF files (GeoTIFF establishes a TIFF based interchange format for georeferenced raster imagery).

geo_write.c  (libgeotiff-1.5.1):geo_write.c  (libgeotiff-1.6.0)
skipping to change at line 60 skipping to change at line 60
/* Sort the Keys into numerical order */ /* Sort the Keys into numerical order */
if (!SortKeys(gt,sortkeys)) if (!SortKeys(gt,sortkeys))
{ {
/* XXX error: a key was not recognized */ /* XXX error: a key was not recognized */
} }
/* Set up header of ProjectionInfo tag */ /* Set up header of ProjectionInfo tag */
header = (KeyHeader *)gt->gt_short; header = (KeyHeader *)gt->gt_short;
header->hdr_num_keys = (pinfo_t) gt->gt_num_keys; header->hdr_num_keys = (pinfo_t) gt->gt_num_keys;
header->hdr_version = GvCurrentVersion; header->hdr_version = gt->gt_version;
header->hdr_rev_major = GvCurrentRevision; header->hdr_rev_major = gt->gt_rev_major;
header->hdr_rev_minor = GvCurrentMinorRev; header->hdr_rev_minor = gt->gt_rev_minor;
/* Sum up the ASCII tag lengths */ /* Sum up the ASCII tag lengths */
for (i = 0; i < gt->gt_num_keys; i++) for (i = 0; i < gt->gt_num_keys; i++)
{ {
keyptr = gt->gt_keys + sortkeys[i]; keyptr = gt->gt_keys + sortkeys[i];
if (keyptr->gk_type == TYPE_ASCII) if (keyptr->gk_type == TYPE_ASCII)
{ {
tempData.tk_asciiParamsLength += keyptr->gk_count; tempData.tk_asciiParamsLength += keyptr->gk_count;
} }
} }
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)