Message164

Author admin
Recipients
Date 2017-03-15.19:30:26
Content
[BitBucket user: Christopher Ahern]
[BitBucket date: 2017-03-15.18:30:26]

The maximum tag length (256 characters) is too short to allow for sequences of contour point triplets from RSTRUCT files.  

For example, a contour sequence with say five points is fine because it comes in under 256 characters:

1.7578125\\62.126714882\\-426.5\\0.4921874063\\62.8984375\\-426.5\\1.7578125\\63.506911103\\-426.5\\2.4936410429\\62.8984375\\-426.5\\1.7578125\\62.126714882\\-426.5

But, most of the contour sequences are longer than that, so no value is stored (see the attached screenshot from the Orthanc web explorer).

The server doesn't store the contour information and the full and simplified tags returned from the REST API have `null` as the value for ContourData. The information exists in the files themselves, and can be viewed, for example, by opening them in dicompyler.

Is it possible to (1) remove this limit or (2) remove this limit for a specific set of tags (e.g. ContourData)?  It would be nice be able to specify the value of ORTHANC_MAXIMUM_TAG_LENGTH in the config file along with other general storage settings. Would that be possible?
History
Date User Action Args
2026-07-29 15:51:19adminlinkissue37 messages
2026-07-29 15:51:19admincreate