Opened 14 years ago
Closed 13 years ago
#3625 closed enhancement (fixed)
ogr shapefile wfs output does not launder names
Reported by: | msmitherdc | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR Support | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | ogr, wfs |
Cc: | dmorissette, warmerdam, aboudreault |
Description
Normally, ogr2ogr exporting to shapefile will launder/normalize long field names. The ogr wfs export will not. Perhaps an option in the format driver parameters to allow launder?
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Owner: | changed from | to
---|
comment:3 by , 13 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:4 by , 13 years ago
Owner: | changed from | to
---|
comment:5 by , 13 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I think it is sufficient to pass bApproxOK = TRUE to OGR_L_CreateField() to get the same behavior as ogr2ogr. This lets the driver launder the field name and generally just makes things forgiving of limitations of the destination format. Change applied (r10859) but not actually tested.
Note:
See TracTickets
for help on using tickets.
Error message: msOGRWriteFromQuery(): OGR error. Failed to create field 'DESCRIPTION' in output feature schema: Failed to add field named 'DESCRIPTION'