<html><head></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:small;"><div>Hello everyone,<br><br><div>When converting an .osm file to .shp files with ogr2ogr.exe, one needs to define a list of required fields in gdal-data\osmconf.ini file.<br>I defined today a total of 338 field names, and the ogr2ogr.exe succeeded successfully in converting the .osm file to a .shp file containing all those 338 fields. 2 additional fields are added on top of 338 fields (osm_id, osm_way_id). Here is a screenshot of the fields from the .shp file opened in QGIS (QGIS lists fields from 0 as a starting index):<br>https://www.dropbox.com/s/qw4uqvartn16b0b/shapefile_fields_QGIS2.jpg?dl=0<br><br>When .dbf file which is created along the .shp file is being opened in DBF Viewer, it also shows 340 fields:<br>https://www.dropbox.com/s/hjzthyjzumjbddz/dbf_fields_DBFViewer2000.jpg?dl=0<br><br>My question is: how is this possible if a .shp file (.dbf file that is) can only store maximum of 255 fields? This is what Jukka Rahkonen pointed to me, a <a href="http://osgeo-org.1560.x6.nabble.com/gdal-dev-Why-are-fields-required-in-osmconf-ini-file-tp5296342p5298525.html" rel="nofollow" target="_blank">couple of months ago</a>.<br>Does this mean that when performing conversion, the ogr2ogr.exe is using some other shapefile format?<br><br>I would welcome any kind of reply.<br><br>Best regards.<br>Djordje<br></div></div></div></body></html>