Re: [OpenMap Users] iso8211 and binary string types

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 1 Mar 2006 10:58:19 -0500

Hi Tore,

This sounds like the effects of a Big Endian-Little Endian bug that
was recently fixed in a submission. The beta version in CVS on the
website now has that update.

- Don

On Mar 1, 2006, at 2:18 AM, Tore Halset wrote:

> Hello.
>
> I am testing the iso8211 parser in openmap, but it does not seem to
> work correct for binary string types.
>
> Here are output of DDFSubfield.toString for two subfields of DSID
> in NOAA ENC US4CA11M.000.
> INTU = 67108864
> DSNM = US4CA11M.000
>
> The INTU-value should have been "4". The strange value 67108864 are
> also returned for DDFSubfield.stringValue() and DDFSubfield.intValue
> (). defn.getFormat() is "b11" for the INTU-subfield.
>
> Perhaps the rules for converting the raw form 67108864 into the
> correct form 4 is part of the s-57, not is08211? I'll have to read
> up on this one.
>
> - Tore.
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Mar 01 2006 - 10:59:12 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT