Ticket #3881 (closed enhancement: fixed)
S57 driver: add support for Dutch inland ENCs
| Reported by: | hogendrr | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | OGR_SF | Version: | 1.7.3 |
| Severity: | normal | Keywords: | S57 |
| Cc: |
Description (last modified by hogendrr) (diff)
Dutch inland ENCs are encoded in a slightly different way than most (maritime) ENCs. They are, however, compliant with the IHO S57 3.1 specification. The difference is that in a vector record (section 7.7 of the S57 spec), a line or polygon feature can be encoded in more than one way: one SG2D record with repeating rows of coordinates or a repeating series of SG2D records with one row of coordinates (or even a combination thereof). The current (1.7.3) driver only supports the former encoding. This patch adds support for both encodings. Tested against inland ENCs at ftp://sdg.ivs90.nl/ENC/ and several maritime ENCs

