id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 2985,BNA inner ring contains only duplication of first point,antimirov,Even Rouault,"Hi all, I've found a bug in file ""ogr/ogrsf_frmts/bna/ogrbnalayer.cpp"". This issue is with converting my Shape file with polygons to BNA format using ogr2ogr. I have a polygon of region in SHP which has a hole with city inside. In BNA file I see that polygon with the region closes and then the first point of inner ring repeat 743 times, just as many times as the number of points for the city in SHP file. Please find attached the one-line patch with the fix for this problem. Inner loop incremented `i` variable, though it should have used `j`. On my data(Shapefiles with big country and several islands) fixed ogr2ogr now produces correct BNA with no duplicates. Hope this patch is going to be accepted for SVN trunk.",defect,closed,normal,1.6.1,OGR_SF,1.5.0,normal,fixed,bna inner ring duplicates,