id summary reporter owner description type status priority milestone component version severity resolution keywords cc 5975 OpenAir detection limited to 10kb xmlich02 warmerdam "Description of problem: Gdal is using just 10kb for detection of OpenAir format. In real world there are files with 30kb of comments (without ""\nAC"", ""\nAN"", ""\nAL"" and ""\nAH"") For example http://soaringweb.org/Airspace/CZ/CZ_combined_2014_05_01.txt . It is valid OpenAir file. It seems the problem is caused by size of buffer char szBuffer[10000] in /ogr/ogrsf_frmts/openair/ogropenairdatasource.cpp and method int OGROpenAirDataSource::Open( const char * pszFilename, int bUpdateIn) Version-Release number of selected component (if applicable): all versions How reproducible: Always Steps to Reproduce: 1. wget http://soaringweb.org/Airspace/CZ/CZ_combined_2014_05_01.txt 2. ogrinfo CZ_combined_2014_05_01.txt Expected results: INFO: Open of `CZ_combined_2014_05_01.txt' using driver `OpenAir' successful. 1: airspaces (Polygon) 2: labels (Point) Actual results: FAILURE: Unable to open datasource `CZ_combined_2014_05_01.txt' with the following drivers. " defect closed normal 2.0.0 default unspecified normal fixed OpenAir