[OpenMap Users] ISO-8211 parser bug or feature?

From: Ru <sorokin_at_oogis.ru>
Date: Fri, 05 May 2006 13:02:41 +0400

Hello openmap-users and team!

Trying to parse ISO-8211 data (actually S-57) using main method of
com.bbn.openmap.dataAccess.iso8211.View8211 class we noticed that
openmap treats integer data as written in binary form, but in our data
file (attached) they are written in ASCII code, an it is explicitly
specified in CATD record. Example:

Record 1(166 bytes)

    Field 0001: ISO 8211 Record Identifier

    Field DSID: Data Set Identification field

        RCNM = 167772160 // ASCII encoded value 10 in our data file

        RCID = 16777216 // 1

        EXPP = 16777216 // 1

        INTU = 50331648 // 2

        DSNM = RU300411.000

        EDTN = 1

        UPDN = 0

        UADT = 19990515

        ISDT = 19990611

        STED = 3.0

        PRSP = 16777216 // 1

        PSDN =

        PRED = 1.0

        PROF = 16777216 // 1

        AGEN = -1543438336 // 420

        COMT = BALTIC SEA MIDDLE PART PAVILOSTA TO KLAIPEDA

    Field DSSI: Data Set Structure information field

        DSTR = 33554432 // 2

        AALL = 16777216 // 1

        NALL = 33554432 // 2

        NOMR = 83886080 // 4

        NOCR = 0

        NOGR = 2130968576 // 4302

        NOLR = 0

        NOIN = -83755008 // 1852

        NOCN = 1191247872 // 1958

        NOED = -1778319360 // 2292

        NOFA = 0

Record 2(44 bytes)

Our 1st question is it a feature or a bug? :)
2nd question is what we need to do to create S-57 layer, using ISO-8211
parser of openmap?
Last question is what to do with this error message that we got while
parsing the same file.


*** ERROR ***

DDFRecord.readHeader(): Leader is short on DDF file.

*************


Thanks in advance for any help and advice.

-- 
Sinscerely,
	Ru
Ruslan P. Sorokin sorokin_at_oogis.ru
OOGIS RL          http://www.oogis.ru
SPIIRAS           http://www.spiiras.nw.ru



--
[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 Fri May 05 2006 - 05:03:41 EDT

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