Skip to content

Redmine InlandECDIS Support

Pavel Kalian edited this page Aug 29, 2016 · 2 revisions

InlandECDIS Support

Installation and usage instructions

The rules are part of the official OpenCPN release now, for the latest version, download from the GitHub repository at https://github.com/nohal/RleData

Windows

  • Copy the files to s57data (C:\Program Files\OpenCPN\s57data) - the backup will come handy in case something breaks...
  • Delete the contents of S57 precompiled directory (C:\Users\USERNAME\AppData\Roaming\opencpn\SENC), so OpenCPN parses the data again (it really has to be done as regeneration of chart database is a different operation!)
  • Run OpenCPN as usually

Linux

= TBD =

Data creation

Rasterizing rules

  • Generate CSV data from IENC XML using the attached XSLTs

  • Combine with original ENC csv

  • IENC standard redefines some symbols and attributes used by ENC so common sense and a bit of care is needed

  • WARNING! IENC introduces new data type T, it's necessary to change it to S or change OpenCPN (2 lines of code)

  • Data can be joined using Rasterization Rules Editor *The creation and sources of data used to create files attached to this page are described in RULES_GENESIS.odt

Rasterization rules

Rasterization rules for the symbols

  • Use Rasterization Rules Editor to manipulate the symbols.

Rasterization rules for the map objects

  • Use Rasterization Rules Editor to manipulate the rasterization rules.

Adding symbols to IENC_LT

You can see how to identify a missing rasterization rule on the following image. Use IES21_Section3_PresLib.pdf if you want to know, how a missing symbol should look. After creating symbol o rule, restart OpenCPN with the new S52RAZDS.RLE and check the result. When you are happy with your work, export the symbol or the lookup table and send them to me to incorporate them to the main version.

Links

http://www.iho-ohi.net
http://ienc.openecdis.org/
http://www.sevencs.com/files/download/software/SeeMyENC.20.zip
http://www.agc.army.mil/echarts/inlandnav/
http://www.iho-ohi.net/english/home/
http://www.opencpn.org/
http://www.cruisersforum.com/forums/f134/

Attachments (See https://github.com/nohal/ocpn-redmine-archive):

combine_rules.sh Magnifier - BASH script to combine all files in a directory into one (309 Bytes) Pavel Kalian, 02/26/2010 08:19 pm

s57expectedinput.xslt - creates data for s57expectedinput.csv (650 Bytes) Pavel Kalian, 02/26/2010 08:21 pm

s57objectclasses.xslt - creates data for s57objectclasses (1.02 KB) Pavel Kalian, 02/26/2010 08:21 pm

missing.png (38.7 KB) Pavel Kalian, 02/26/2010 09:17 pm

IES21_Section3_PresLib.pdf - Inland ECDIS Presentation Library documentation (100 KB) Pavel Kalian, 02/26/2010 09:47 pm

s57attributes.xslt (642 Bytes) Pavel Kalian, 04/12/2010 10:17 pm

attdecode.xslt (648 Bytes) Pavel Kalian, 04/12/2010 10:17 pm

RULES_GENESIS.odt (18.6 KB) Pavel Kalian, 04/13/2010 11:55 am

iENC.spp (911 Bytes) Pavel Kalian, 04/13/2010 11:55 am