Opened 11 years ago
Closed 11 years ago
#5052 closed defect (fixed)
if field width is set to 255(type :string),after edit vertices and save changes in arcgis,fields created after this field will have error value in arcgis attribute table
Reported by: | cjzsmgdal | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.0 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | shape |
Cc: |
Description
field was created :
OGRFieldDefn oField36("FileStamp",OFTString); oField36.SetWidth(254); if( poLayer->CreateField( &oField36 ) != OGRERR_NONE ) return false; OGRFieldDefn oFieldAd8("OutPtAd8",OFTString); oFieldAd8.SetWidth(254); if( poLayer->CreateField( &oFieldAd8 ) != OGRERR_NONE ) return false; OGRFieldDefn oFieldNodePtX("NodePtX",OFTReal); oFieldNodePtX.SetPrecision(3); if( poLayer->CreateField( &oFieldNodePtX ) != OGRERR_NONE ) return false; OGRFieldDefn oFieldNodePtY("NodePtY",OFTReal); oFieldNodePtY.SetPrecision(3); if( poLayer->CreateField( &oFieldNodePtY ) != OGRERR_NONE ) return false;
field's value of field "NodePtY" should be greater than 0, but if field "OutPtAd8" is set to width 255,after edit vertices and save changes in arcmap10.0,all feature's "NodePtY" value will be 0 field's width must be a value [0,255) ?
Change History (1)
comment:1 by , 11 years ago
Component: | default → OGR_SF |
---|---|
Keywords: | shape added |
Milestone: | → 1.10.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
r25900 "Shape: limit fields of type OFTString to a width of 254 characters (#5052)"