Opened 11 years ago
Closed 11 years ago
#5227 closed enhancement (fixed)
The IHO S-57 standard allows 65536 object classes
Reported by: | hogend | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.2 |
Component: | OGR_SF | Version: | 1.10.0 |
Severity: | normal | Keywords: | s57 |
Cc: | Kurt Schwehr |
Description
In ogr/ogrsf_frmts/s57/s57.h:
#define MAX_CLASSES 23000
It is proposed to raise this to 65536, since new object classes > 23000 are sometimes being used to add special purpose objects. Patch attached
Attachments (1)
Change History (5)
by , 11 years ago
Attachment: | gdal_s57_classes.patch added |
---|
comment:1 by , 11 years ago
Component: | default → OGR_SF |
---|
comment:2 by , 11 years ago
Cc: | added |
---|---|
Keywords: | s57 added |
Status: | new → assigned |
comment:3 by , 11 years ago
I have reworked the S57 code to avoid use of MAX_CLASSES altogether in favor of dynamic sizing in trunk (r26386).
comment:4 by , 11 years ago
Milestone: | → 1.10.2 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I have a applied the suggested change of MAX_CLASSES in the 1.10 branch (r26389). It should appear in 1.10.2.
Note:
See TracTickets
for help on using tickets.
patch against 1.10