Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not parsing the user defined fields for the CSSHPA DES #213

Open
alanlav opened this issue Sep 9, 2020 · 0 comments
Open

Not parsing the user defined fields for the CSSHPA DES #213

alanlav opened this issue Sep 9, 2020 · 0 comments

Comments

@alanlav
Copy link
Contributor

alanlav commented Sep 9, 2020

I am not getting the parsed fields of the CSSHPA DES in nitf_DESegment::subheader->subheaderFields. It looks like this is because of a name mismatch in the name of the DESID. My file has CSSHPA DES but the TRE plugin is only defined as CSSHPA. Looking at the NCDRD Specification CSSHPA DES is the correct value.

Looking at:

nitf_Field_get(subhdr->NITF_DESTAG,

handleTRE(nitf_Reader* reader,

I don't see how this should work

Should the TRE plugin add the CSSPHA DES to the list or should the parsing code (referenced above) strip the DES?

Note: the TEST_DES plugin is using what looks to be the correct syntax of TEST DES and TEST_DES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant