GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
This report summarizes scanner evidence for OSGeo/gdal, a C++ project with 6,130 GitHub stars. SynthScan examined 2,899,636 lines of code across 5083 source files, recording 9808 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 4.0 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 8846 finding(s).
Are imports declared and package/API names verified? 343 finding(s).
Are wrappers, guards, and repeated structures necessary? 6293 finding(s).
Which changes need focused human review? 9808 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 9808 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ogr/ogrspatialreference.cpp | 908 | * The C function OSRDestroySpatialReference() does the same thing as this | COMMENT |
| LOW | ogr/ogrspatialreference.cpp | 12495 | * This method is the same as the C function EPSGTreatsAsNorthingEasting(). | COMMENT |
| LOW | ogr/ogrspatialreference.cpp | 12868 | * This is the same as the C function OSRSetDataAxisToSRSAxisMapping(). | COMMENT |
| LOW | ogr/ogrct.cpp | 1008 | * This is the same as the C function OCTNewCoordinateTransformation(). | COMMENT |
| LOW | ogr/ogrct.cpp | 1038 | * This is the same as the C function OCTNewCoordinateTransformationEx(). | COMMENT |
| LOW | ogr/ogrct.cpp | 1133 | * This is the same as the C++ function OGRCreateCoordinateTransformation(const | COMMENT |
| LOW | ogr/ogrct.cpp | 1169 | * This is the same as the C++ function OGRCreateCoordinateTransformation(const | COMMENT |
| LOW | ogr/ogr_fromepsg.cpp | 108 | * This method is the same as the C function OSRSetStatePlaneWithUnits(). | COMMENT |
| LOW | ogr/ogrsf_frmts/dgn/dgnwrite.cpp | 1915 | * Generally speaking the function DGNCreateCellHeaderFromGroup() should | COMMENT |
| LOW | swig/python/osgeo/gdal_fsspec.py | 227 | def register_vsi_implementations(): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 312 | def _build_layer_name_non_single_mode( | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 414 | def _gpkg_get_estimated_final_size( | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 638 | def get_normalized_field_names(ds, lyr): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 908 | def get_vector_file_in_update_no_exception(filename): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1103 | def add_gdal_warp_options_to_string(vrt_string, warp_options): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1171 | def add_alpha_band_to_string_vrt(vrt_string: str) -> str: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1228 | def update_alpha_value_for_non_alpha_inputs( | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1661 | def group_overview_base_tiles( | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3708 | function fromMercatorPixelToLatLng(pixel, zoom) | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 208 | def _check_gpkg_spatial_ref_sys(self, c): | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 494 | def _check_user_table_content(self, c, table_name, cols): | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 1198 | def _check_attribute_user_table(self, c, table_name): | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 1624 | def _check_tiled_gridded_coverage_data(self, c): | CODE |
| LOW | …n/gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py | 84 | def write_hexstring_as_binary(hex_binary_content, out_f): | CODE |
| LOW | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 356 | def _check_data_with_high_level_ogr_api(self, lyr, columns): | CODE |
| LOW | …ig/python/gdal-utils/osgeo_utils/auxiliary/osr_util.py | 68 | def get_axis_order_from_gis_order(gis_order: Optional[bool]): | CODE |
| LOW | …ig/python/gdal-utils/osgeo_utils/auxiliary/osr_util.py | 80 | def get_gis_order_from_axis_order(axis_order: Optional[OAMS_AXIS_ORDER]): | CODE |
| LOW | …thon/gdal-utils/osgeo_utils/auxiliary/color_palette.py | 69 | def replace_absolute_values_with_percent(self, ndv=True): | CODE |
| LOW | …thon/gdal-utils/osgeo_utils/auxiliary/color_palette.py | 136 | def get_supported_extenstions() -> Sequence[str]: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/auxiliary/util.py | 42 | def enable_exceptions_wrapper(*args, **kwargs): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/auxiliary/util.py | 140 | def get_sizes_factors_resolutions( | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/auxiliary/util.py | 169 | def get_best_ovr_by_resolutions(requested_res: Real, resolutions: Sequence[Real]): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/auxiliary/util.py | 384 | def get_image_structure_metadata( | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/auxiliary/util.py | 392 | def get_bigtiff_creation_option_value(big_tiff: OptionalBoolStr): | CODE |
| LOW | …python/gdal-utils/osgeo_utils/auxiliary/color_table.py | 31 | def get_color_table_from_raster(path_or_ds: PathOrDS) -> Optional[gdal.ColorTable]: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/auxiliary/color_table.py | 41 | def color_table_from_color_palette( | CODE |
| LOW | …python/gdal-utils/osgeo_utils/auxiliary/color_table.py | 119 | def write_color_table_to_file( | CODE |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 160 | def from_geotransform_and_size(cls, gt, size): | CODE |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 182 | def from_geotransform_and_size_to_pix(cls, gt, size): | CODE |
| LOW | …ig/python/gdal-utils/osgeo_utils/auxiliary/progress.py | 48 | def get_py_term_progress_callback(): | CODE |
| LOW | …python/gdal-utils/osgeo_utils/auxiliary/extent_util.py | 88 | def calc_geotransform_and_dimensions( | CODE |
| LOW | …on/gdal-utils/osgeo_utils/auxiliary/raster_creation.py | 131 | def copy_raster_and_add_overviews( | CODE |
| LOW | autotest/conftest.py | 151 | def _get_check_no_unintended_files(): | CODE |
| LOW | autotest/conftest.py | 160 | def check_no_unintended_files_session(request): | CODE |
| LOW | autotest/conftest.py | 180 | def check_no_unintended_files_function(request): | CODE |
| LOW | autotest/conftest.py | 208 | def pytest_collection_modifyitems(config, items): | CODE |
| LOW | autotest/conftest.py | 440 | def test_with_benchmark_fixture(*args, **kwargs): | CODE |
| LOW | autotest/benchmark/test_ogr_gpkg.py | 56 | def test_ogr_gpkg_spatial_index(source_file): | CODE |
| LOW | autotest/benchmark/test_gtiff.py | 37 | def test_gtiff_multithread_write(with_optim): | CODE |
| LOW | autotest/benchmark/test_gtiff.py | 158 | def test_gtiff_build_overviews(tmp_vsimem, source_ds_2048x2048_filename, ovr_alg): | CODE |
| LOW | autotest/gnm/gnm_test.py | 30 | def test_gnm_filenetwork_create(): | CODE |
| LOW | autotest/gnm/gnm_test.py | 64 | def test_gnm_filenetwork_open(): | CODE |
| LOW | autotest/gnm/gnm_test.py | 172 | def test_gnm_graph_connectedcomponents(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 72 | def test_ogr_esrijson_read_point(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 155 | def test_ogr_esrijson_read_linestring(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 201 | def test_ogr_esrijson_read_polygon(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 240 | def test_ogr_esrijson_read_multipoint(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 265 | def test_ogr_esrijson_read_pointz(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 312 | def test_ogr_esrijson_read_linestringz(): | CODE |
| LOW | autotest/ogr/ogr_esrijson.py | 338 | def test_ogr_esrijson_read_multipointz(): | CODE |
| 5585 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 181 | CACHE CMAKE_FIND_FRAMEWORK | COMMENT |
| LOW | .cmake-format.py | 161 | # Regular expression to match preformat fences in comments default= | COMMENT |
| LOW | gnm/gnm_priv.h | 41 | #define GNM_VERSION "1.0" | COMMENT |
| LOW | gnm/gnm_priv.h | 61 | #define GNM_SYSFIELD_GFID "gnm_fid" | COMMENT |
| LOW | gnm/gnm_priv.h | 81 | // Other string constants. | COMMENT |
| LOW | gnm/gnm.h | 41 | // network data. | COMMENT |
| LOW | gnm/gnmgraph.cpp | 301 | aoRootPath.assign(A[k].begin(), itAk); | COMMENT |
| LOW | gnm/gnmgraph.cpp | 401 | COMMENT | |
| LOW | gnm/gnm_frmts/gnmregisterall.cpp | 41 | #endif | COMMENT |
| LOW | ogr/ogr_recordbatch.h | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | ogr/ogr_recordbatch.h | 81 | #define ARROW_C_STREAM_INTERFACE | COMMENT |
| LOW | ogr/ogr_recordbatch.h | 101 | // Callback to get optional detailed error information. | COMMENT |
| LOW | ogr/ogr_xerces_headers.h | 21 | #include <xercesc/framework/MemoryManager.hpp> | COMMENT |
| LOW | ogr/ogr_geocoding.cpp | 21 | #include "cpl_error.h" | COMMENT |
| LOW | ogr/swq.cpp | 21 | COMMENT | |
| LOW | ogr/ogrmitabspatialref.cpp | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | ogr/gml2ogrgeometry.cpp | 21 | * compromising the system. | COMMENT |
| LOW | ogr/gml2ogrgeometry.cpp | 3321 | // if( poFaceGeom == NULL ) | COMMENT |
| LOW | ogr/ogr2gmlgeometry.cpp | 21 | * come from a potentially hostile source, but through a trusted OGR importer | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 821 | // Multiple mappings to LAT_PROJ_ORIGIN | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 841 | // * false_northing | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 861 | // * false_easting | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 881 | // * false_northing | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 941 | // | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 961 | // | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 1001 | // grid_mapping_name = orthographic | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 1021 | // WKT: Polar_Stereographic | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 1041 | // grid_mapping_name = rotated_latitude_longitude | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 1061 | // * scale_factor_at_projection_origin | COMMENT |
| LOW | ogr/ogr_srs_cf1.cpp | 1081 | // | COMMENT |
| LOW | ogr/swq_expr_node.cpp | 21 | #include <cctype> | COMMENT |
| LOW | ogr/ogr_srs_esri.cpp | 21 | #include <cstddef> | COMMENT |
| LOW | ogr/ogr_srs_esri.cpp | 421 | // https://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Lambert_Azimuthal_Equal_Area | COMMENT |
| LOW | ogr/ogrspatialreference.cpp | 21 | #include <cstring> | COMMENT |
| LOW | ogr/ogrspatialreference.cpp | 41 | #include "ogr_srs_api.h" | COMMENT |
| LOW | ogr/ogrfeaturestyle.cpp | 1781 | COMMENT | |
| LOW | ogr/ogr_srs_cf1.h | 21 | /* mapping & projection - see http://cf-pcmdi.llnl.gov/ */ | COMMENT |
| LOW | ogr/ogr_srs_cf1.h | 41 | #define CF_PT_MERCATOR "mercator" | COMMENT |
| LOW | ogr/ogr_srs_cf1.h | 61 | /* scale_factor is not CF, there are two possible translations */ | COMMENT |
| LOW | ogr/ogr_srs_isis.cpp | 281 | // ObliqueCylindrical | COMMENT |
| LOW | ogr/ogr_srs_isis.cpp | 381 | GetISISMappingDouble(oMapping, "PoleLongitude") * | COMMENT |
| LOW | ogr/ogrgeojsonwriter.cpp | 21 | #include "ogrlibjsonutils.h" | COMMENT |
| LOW | ogr/ogr_swq.h | 21 | #ifndef SWQ_H_INCLUDED_ | COMMENT |
| LOW | ogr/ogrutils.cpp | 21 | #include <cstddef> | COMMENT |
| LOW | ogr/ogrct.cpp | 21 | #include <limits> | COMMENT |
| LOW | ogr/swq_op_general.cpp | 21 | #include <climits> | COMMENT |
| LOW | ogr/swq_parser.cpp | 121 | # endif | COMMENT |
| LOW | ogr/swq_parser.cpp | 281 | typedef unsigned char yytype_uint8; | COMMENT |
| LOW | ogr/swq_parser.cpp | 301 | # elif defined PTRDIFF_MAX | COMMENT |
| LOW | ogr/swq_parser.cpp | 341 | #ifndef YY_ | COMMENT |
| LOW | ogr/swq_parser.cpp | 361 | COMMENT | |
| LOW | ogr/swq_parser.cpp | 381 | _Pragma ("GCC diagnostic push") \ | COMMENT |
| LOW | ogr/swq_parser.cpp | 421 | # ifdef YYSTACK_USE_ALLOCA | COMMENT |
| LOW | ogr/swq_parser.cpp | 441 | # endif | COMMENT |
| LOW | ogr/swq_parser.cpp | 461 | # if (defined __cplusplus && ! defined EXIT_SUCCESS \ | COMMENT |
| LOW | ogr/ogrgeometry.cpp | 21 | #include <cstdlib> | COMMENT |
| LOW | ogr/ogrgeometry.cpp | 41 | #include "ogr_srs_api.h" | COMMENT |
| LOW | ogr/ogr_libs.h | 21 | #ifndef HAVE_SFCGAL | COMMENT |
| LOW | ogr/ogr_libs.h | 41 | UNUSED_IF_NO_GEOS // SFCGAL yes and GEOS no - SFCGAL methods always work | COMMENT |
| LOW | ogr/ogr_srs_usgs.cpp | 61 | constexpr long WAGIV = 28L; // Wagner IV | COMMENT |
| 2451 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal_edit.py | 373 | "Dataset SRS is undefined, cannot set epoch. See the -a_srs option.", | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal_edit.py | 383 | print("Dataset SRS is undefined, with no epoch specified.", file=sys.stderr) | CODE |
| HIGH⚡ | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3181 | (minX < maxX && (tileX >= minX && tileX <= maxX)) | CODE |
| HIGH⚡ | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3182 | || (minX > maxX && ((tileX >= minX && tileX <= (Math.pow(2, zoom) - 1)) || (tileX >= 0 && tileX <= maxX) | CODE |
| HIGH⚡ | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3184 | && (tileY >= minY && tileY <= maxY) | CODE |
| HIGH⚡ | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3186 | tilesToKeep.push(this.tiles[i]); | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3154 | this.tiles.push(tile) | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3212 | if (x < 0 || x >= tileRange) { | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3266 | tile = null; | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3487 | currentX_ = currentY_ = null; | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3651 | if (document.documentElement && document.documentElement.clientHeight) | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3659 | if (document.documentElement && document.documentElement.clientWidth) | CODE |
| HIGH | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 280 | f"For column {column_name}, GeoParquet CRS is null, but parquet_crs = '{parquet_crs}' (diffe | CODE |
| HIGH | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 293 | f"For column {column_name}, GeoParquet CRS is not null, but parquet_crs = '{parquet_crs}' an | CODE |
| HIGH | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 302 | f"For column {column_name}, GeoParquet CRS is null, but parquet_crs = '{parquet_crs}'" | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/ogrinfo.py | 461 | line = line + "(null)" | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/gdalinfo.py | 441 | line = line + "(null)" | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/gdalinfo.py | 457 | line = line + "(null)" | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/gdalinfo.py | 491 | line = line + "(null)" | CODE |
| HIGH | autotest/ogr/ogr_esrijson.py | 635 | "geometry": null, | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 363 | assert f["list_struct"] == """[{"a":1,"b":2.5,"c":null},{"a":3,"b":null,"c":4.5}]""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 364 | assert f["map_boolean"] == '{"x":null,"y":true}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 365 | assert f["map_uint8"] == '{"x":1,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 366 | assert f["map_int8"] == '{"x":1,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 367 | assert f["map_uint16"] == '{"x":1,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 368 | assert f["map_int16"] == '{"x":1,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 369 | assert f["map_uint32"] == '{"x":4000000000,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 370 | assert f["map_int32"] == '{"x":2000000000,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 371 | assert f["map_uint64"] == '{"x":4000000000000,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 372 | assert f["map_int64"] == '{"x":-2000000000000,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 373 | assert f["map_float32"] == '{"x":1.5,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 374 | assert f["map_float64"] == '{"x":1.5,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 375 | assert f["map_decimal128"] == '{"x":1234.567,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 376 | assert f["map_decimal256"] == '{"x":1234.567,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 377 | assert f["map_string"] == '{"x":"x_val","y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 378 | assert f["map_large_string"] == '{"x":"x_val","y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 379 | assert f["map_list_string"] == '{"x":["x_val"],"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 380 | assert f["map_large_list_string"] == '{"x":["x_val"],"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 381 | assert f["map_fixed_size_list_string"] == '{"x":["x_val",null],"y":[null,null]}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 387 | assert f["map_float16"] == '{"x":1.5,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 397 | assert f["list_list_float16"] == "[null]" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 492 | assert f["map_uint8"] == '{"x":1,"y":null}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 502 | assert f["map_boolean"] == '{"x":null,"y":true}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 512 | assert f["map_boolean"] == '{"x":null,"y":true}' | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3144 | assert f["map_map_bool"] == """{"a":{"b":true,"c":null,"d":null},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3145 | assert f["map_map_uint8"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3146 | assert f["map_map_int8"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3147 | assert f["map_map_uint16"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3148 | assert f["map_map_int16"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3149 | assert f["map_map_uint32"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3150 | assert f["map_map_int32"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3151 | assert f["map_map_uint64"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3152 | assert f["map_map_int64"] == """{"a":{"b":1,"c":null,"d":2},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3153 | assert f["map_map_float32"] == """{"a":{"b":1.0,"c":null,"d":2.0},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3154 | assert f["map_map_float64"] == """{"a":{"b":1.0,"c":null,"d":2.0},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3155 | assert f["map_map_string"] == """{"a":{"b":"c","d":null},"e":null}""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3156 | assert f["list_list_bool"] == """[[true],null,[false,null,true]]""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3157 | assert f["list_list_uint8"] == """[[1],null,[2,null,3]]""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3158 | assert f["list_list_int8"] == """[[1],null,[-2,null,3]]""" | CODE |
| HIGH⚡ | autotest/ogr/ogr_parquet.py | 3159 | assert f["list_list_uint16"] == """[[1],null,[2,null,3]]""" | CODE |
| 237 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .cmake-format.py | 1 | # ---------------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 3 | # ---------------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 59 | # ----------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 61 | # ----------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 141 | # ------------------------------------------------ | COMMENT |
| MEDIUM | .cmake-format.py | 143 | # ------------------------------------------------ | COMMENT |
| MEDIUM | .cmake-format.py | 185 | # ---------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 187 | # ---------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 238 | # ------------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 240 | # ------------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 253 | # ------------------------------------- | COMMENT |
| MEDIUM | .cmake-format.py | 255 | # ------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 81 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/setup_fallback_mingw.py | 93 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 160 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 162 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 173 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 175 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 187 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 189 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 209 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 211 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 44 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 123 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 161 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 196 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 365 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_retile.py | 944 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 56 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 58 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 85 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 87 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 125 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 127 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 137 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 139 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 180 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 182 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 53 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 63 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 92 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 106 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 114 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 129 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 124 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 126 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 136 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 138 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 159 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 161 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 185 | # ============================================================================= | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 187 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_fillnodata.py | 54 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | swig/python/gdal-utils/osgeo_utils/gdal_fillnodata.py | 56 | # ============================================================================= | COMMENT |
| 168 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | swig/python/setup_fallback_mingw.py | 161 | except Exception: | CODE |
| HIGH | swig/python/setup_fallback_mingw.py | 169 | except Exception: | CODE |
| HIGH | swig/python/osgeo/gdal_fsspec.py | 173 | except Exception: | CODE |
| HIGH | swig/python/osgeo/gdal_fsspec.py | 187 | except Exception: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py | 278 | except ValueError: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/gdal_calc.py | 743 | except argparse.ArgumentError: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 429 | except Exception: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 1050 | except AttributeError: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 1133 | except AttributeError: | CODE |
| HIGH | …/python/gdal-utils/osgeo_utils/samples/crs2crs2grid.py | 379 | except OSError: | CODE |
| HIGH | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 710 | except Exception: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/ogr2vrt.py | 317 | except AttributeError: # if run with GDAL < 3.2 | CODE |
| HIGH | …/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py | 63 | except Exception: | CODE |
| HIGH | …g/python/gdal-utils/osgeo_utils/samples/mkgraticule.py | 125 | except Exception: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/load2odbc.py | 93 | except Exception: | CODE |
| HIGH | …/python/gdal-utils/osgeo_utils/samples/validate_jp2.py | 1721 | except OSError: | CODE |
| HIGH | swig/python/gdal-utils/osgeo_utils/samples/epsg_tr.py | 108 | except Exception: | CODE |
| HIGH | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 55 | except OSError: | CODE |
| HIGH | …/python/gdal-utils/osgeo_utils/auxiliary/array_util.py | 40 | except ImportError: | CODE |
| HIGH | autotest/gnm/gnm_test.py | 34 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_basic_test.py | 698 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_basic_test.py | 707 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_fgdb.py | 467 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_openfilegdb.py | 192 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_openfilegdb.py | 2032 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_geom.py | 770 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_geom.py | 784 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_gpkg.py | 7134 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_shape.py | 2885 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_mvt.py | 1007 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_nas.py | 63 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_nas.py | 126 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_openfilegdb_write.py | 4487 | except ValueError: | CODE |
| HIGH | autotest/ogr/ogr_openfilegdb_write.py | 4544 | except ValueError: | CODE |
| HIGH | autotest/ogr/ogr_gmlas.py | 979 | except IOError: | CODE |
| HIGH | autotest/ogr/ogr_ngw.py | 258 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_ngw.py | 329 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_ngw.py | 340 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_ngw.py | 479 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_wfs.py | 488 | except IOError: | CODE |
| HIGH | autotest/ogr/ogr_adbc.py | 56 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_osm.py | 421 | except (OSError, AttributeError): | CODE |
| HIGH | autotest/ogr/ogr_georss.py | 43 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_georss.py | 249 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_oci.py | 58 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_vrt.py | 298 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_vrt.py | 2947 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_vrt.py | 2985 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_vrt.py | 3043 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_pg.py | 535 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_pg.py | 1851 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_pg.py | 1862 | except Exception: | CODE |
| HIGH | autotest/ogr/ogr_sql_sqlite.py | 1328 | except IOError: | CODE |
| HIGH | autotest/ogr/ogr_gml.py | 1448 | except OSError: | CODE |
| HIGH | autotest/ogr/ogr_flatgeobuf.py | 497 | except IOError: | CODE |
| HIGH | autotest/pymod/test_py_scripts.py | 47 | except OSError: | CODE |
| HIGH | autotest/pymod/webserver.py | 519 | except IOError: | CODE |
| HIGH | autotest/pymod/webserver.py | 570 | except Exception: | CODE |
| HIGH | autotest/pymod/webserver.py | 208 | except Exception: | CODE |
| HIGH | autotest/pymod/gdaltest.py | 1763 | except OSError: | CODE |
| 80 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ogr/ograpispy.cpp | 205 | "# This file is generated by the OGR_API_SPY mechanism.\n"); | CODE |
| MEDIUM | docker/build-all.sh | 2 | # This file is available at the option of the licensee under: | COMMENT |
| MEDIUM | docker/util.sh | 2 | # This file is available at the option of the licensee under: | COMMENT |
| MEDIUM | docker/alpine-normal/build.sh | 2 | # This file is available at the option of the licensee under: | COMMENT |
| MEDIUM | docker/alpine-small/build.sh | 2 | # This file is available at the option of the licensee under: | COMMENT |
| MEDIUM | docker/ubuntu-full/build.sh | 2 | # This file is available at the option of the licensee under: | COMMENT |
| MEDIUM | docker/ubuntu-small/build.sh | 2 | # This file is available at the option of the licensee under: | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 93 | # Create the working file. | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/rgb2pct.py | 73 | # Create the working file. We have to use TIFF since there are few formats | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1408 | # Create a KML file for this tile. | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1635 | # Create a KML file for this tile. | COMMENT |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdalattachpct.py | 129 | # Create a MEM clone of the source file. | COMMENT |
| MEDIUM | …ig/python/gdal-utils/osgeo_utils/samples/get_soundg.py | 43 | # Create the output shapefile. | COMMENT |
| MEDIUM⚡ | …ig/python/gdal-utils/osgeo_utils/samples/gdalfilter.py | 101 | # Create a virtual file in memory only which matches the configuration of | COMMENT |
| MEDIUM | swig/java/make_doc.sh | 24 | # Create a zip with the Javadoc | COMMENT |
| MEDIUM | autotest/ogr/ogr_mysql.py | 625 | # Create a layer with a single feature through SQL | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mssqlspatial.py | 284 | # Create a feature that specifies a spatial-reference system | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mssqlspatial.py | 293 | # Create a table that includes a geometry column but is not registered in | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mssqlspatial.py | 303 | # Create a new MSSQLSpatial data source, one that will find the table just | COMMENT |
| MEDIUM | autotest/ogr/ogr_mongodbv3.py | 474 | # Create a feature only from its _json content and do not store any ogr metadata related to the layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_mongodbv3.py | 864 | # Create a layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_mongodbv3.py | 877 | # Create a feature with some data | COMMENT |
| MEDIUM | autotest/ogr/ogr_mongodbv3.py | 916 | # Create a layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_mongodbv3.py | 929 | # Create a feature with some data | COMMENT |
| MEDIUM | autotest/ogr/ogr_gpkg.py | 294 | # Create a fresh database. | COMMENT |
| MEDIUM | autotest/ogr/ogr_gpkg.py | 319 | # Create a layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_gpkg.py | 10040 | # Create a feature without geometry | COMMENT |
| MEDIUM | autotest/ogr/ogr_gpkg.py | 10099 | # Create a feature with a geometry | COMMENT |
| MEDIUM | autotest/ogr/ogr_gpkg.py | 10111 | # Create a feature with a empty geometry | COMMENT |
| MEDIUM | autotest/ogr/ogr_gpkg.py | 11655 | # Create a UNIQUE constraint on int_field | COMMENT |
| MEDIUM | autotest/ogr/ogr_sqlite.py | 88 | # Create a fresh database. | COMMENT |
| MEDIUM | autotest/ogr/ogr_sqlite.py | 950 | # Create a layer with a non EPSG SRS into a SPATIALITE DB (#3506) | COMMENT |
| MEDIUM | autotest/ogr/ogr_sqlite.py | 984 | # Create a SpatiaLite DB with INIT_WITH_EPSG=YES | COMMENT |
| MEDIUM | autotest/ogr/ogr_sqlite.py | 1015 | # Create a SpatiaLite DB with INIT_WITH_EPSG=NO | COMMENT |
| MEDIUM | autotest/ogr/ogr_sqlite.py | 1045 | # Create a regular DB with INIT_WITH_EPSG=YES | COMMENT |
| MEDIUM | autotest/ogr/ogr_dxf.py | 2851 | # Create a blocks layer only | COMMENT |
| MEDIUM | autotest/ogr/ogr_elasticsearch.py | 3418 | # Create a layer that will not bulk upsert. | COMMENT |
| MEDIUM | autotest/ogr/ogr_elasticsearch.py | 3444 | # Create a layer that will bulk upsert. | COMMENT |
| MEDIUM | autotest/ogr/ogr_feature.py | 21 | # Create a destination feature type with one field for each field in the source | COMMENT |
| MEDIUM | autotest/ogr/ogr_feature.py | 39 | # Create a source feature | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 608 | # Create a feature | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 642 | # Create a layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 684 | # Create a layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 1311 | # Create a layer | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 2104 | # Create a field | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 4811 | # Create a shape | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 4845 | # Create a shape | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 4896 | # Create a shape | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 4915 | # Create a shape | COMMENT |
| MEDIUM | autotest/ogr/ogr_shape.py | 5644 | # Create a shape | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mem.py | 1416 | # Create a memory layer | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mem.py | 1422 | # Create a feature with some data | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mem.py | 1454 | # Create a memory layer | COMMENT |
| MEDIUM⚡ | autotest/ogr/ogr_mem.py | 1460 | # Create a feature with some data | COMMENT |
| MEDIUM | autotest/ogr/ogr_mem.py | 531 | # Create a field so as to test OGRMemLayerIteratorMap | COMMENT |
| MEDIUM | autotest/ogr/ogr_csv.py | 898 | # Create an invalid CSV file | STRING |
| MEDIUM | autotest/ogr/ogr_vdv.py | 139 | # Create a VDV file | COMMENT |
| MEDIUM | autotest/ogr/ogr_as_sqlite_extension.py | 15 | # This file is meant at being run by ogr_virtualogr_3() | COMMENT |
| MEDIUM | autotest/ogr/ogr_hana.py | 1250 | # Create a table from data/poly.shp | COMMENT |
| MEDIUM | autotest/ogr/ogr_virtualogr.py | 332 | # Create a CSV with duplicate column name | COMMENT |
| 168 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | swig/python/trimmedsysconfig.py | 33 | CODE | |
| LOW | swig/python/setup_fallback_mingw.py | 234 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py | 55 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py | 148 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 41 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 399 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_retile.py | 314 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_retile.py | 965 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 27 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogr_layer_algebra.py | 51 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogr_layer_algebra.py | 159 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_calc.py | 98 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_calc.py | 881 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2xyz.py | 39 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2xyz.py | 342 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_sieve.py | 35 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdalmove.py | 231 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_edit.py | 74 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 159 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 312 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 414 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 500 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 841 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 919 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 838 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 935 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1033 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1278 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1466 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 2020 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 4411 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 4619 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 2239 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 2676 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 2801 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3012 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 3995 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdalcompare.py | 31 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdalcompare.py | 402 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdalcompare.py | 493 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdalattachpct.py | 38 | CODE | |
| LOW | …l-utils/osgeo_utils/samples/tile_extent_from_raster.py | 26 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/gcps2vec.py | 25 | CODE | |
| LOW | …thon/gdal-utils/osgeo_utils/samples/gdal_create_pdf.py | 24 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/tolatlong.py | 35 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/gdal_rm.py | 24 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/gdal_rm.py | 59 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/dump_jp2.py | 64 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/dump_jp2.py | 92 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/dump_jp2.py | 155 | CODE | |
| LOW | …gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py | 160 | CODE | |
| LOW | …/python/gdal-utils/osgeo_utils/samples/crs2crs2grid.py | 245 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 2994 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 494 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 662 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 1624 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 2702 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 2837 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/ogr2vrt.py | 77 | CODE | |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 2201 | CODE | |
| 278 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | swig/python/setup_fallback_mingw.py | 161 | except Exception: | CODE |
| LOW | swig/python/setup_fallback_mingw.py | 169 | except Exception: | CODE |
| LOW | swig/python/setup_fallback_mingw.py | 185 | except Exception: | CODE |
| LOW | swig/python/osgeo/gdal_fsspec.py | 173 | except Exception: | CODE |
| LOW | swig/python/osgeo/gdal_fsspec.py | 187 | except Exception: | CODE |
| LOW | swig/python/osgeo/gdal_fsspec.py | 204 | except Exception: | CODE |
| LOW | swig/python/osgeo/gdal_fsspec.py | 221 | except Exception: | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 184 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_merge.py | 553 | except Exception: | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_retile.py | 68 | print("Error opening: %s" % NameError, file=sys.stderr) | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/gdal_retile.py | 1135 | print("Error building tile index", file=sys.stderr) | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 93 | except Exception: | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 96 | except Exception: | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 116 | except Exception: | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 142 | except Exception: | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/ogr_layer_algebra.py | 556 | print("An error occurred during %s operation" % op_str, file=sys.stderr) | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_calc.py | 624 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 146 | except Exception: | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/pct2rgb.py | 142 | def doit(**kwargs): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_edit.py | 155 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_edit.py | 331 | except Exception as e: | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 376 | def _gpkg_get_src_table_size(src_ds, table_name): | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 222 | except Exception: | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 230 | except Exception: | CODE |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 238 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 83 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 383 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 429 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/rgb2pct.py | 138 | except Exception: | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/rgb2pct.py | 134 | def doit(**kwargs): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 256 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 266 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 1990 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/tigerpoly.py | 213 | except Exception: | CODE |
| MEDIUM | …/python/gdal-utils/osgeo_utils/samples/crs2crs2grid.py | 72 | print("Error - did not find results for every point in the input grid.") | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 710 | except Exception: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 2905 | except Exception: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 287 | except Exception as e: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 429 | except Exception: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 1991 | except Exception: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 2035 | except Exception: | CODE |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 283 | def check(self): | CODE |
| LOW | …/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py | 63 | except Exception: | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/gdal_lut.py | 183 | except Exception: | STRING |
| LOW | …g/python/gdal-utils/osgeo_utils/samples/mkgraticule.py | 125 | except Exception: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s104.py | 297 | except Exception as e: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s104.py | 543 | except Exception: | CODE |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s104.py | 293 | def check(self): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/load2odbc.py | 93 | except Exception: | CODE |
| MEDIUM | swig/python/gdal-utils/osgeo_utils/samples/esri2wkt.py | 41 | print("Error = %d" % err) | CODE |
| LOW | …/python/gdal-utils/osgeo_utils/samples/assemblepoly.py | 88 | except Exception: | CODE |
| LOW | …/python/gdal-utils/osgeo_utils/samples/assemblepoly.py | 100 | except Exception: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s111.py | 297 | except Exception as e: | CODE |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_s111.py | 556 | except Exception: | CODE |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s111.py | 293 | def check(self): | CODE |
| LOW | swig/python/gdal-utils/osgeo_utils/samples/epsg_tr.py | 108 | except Exception: | CODE |
| LOW | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 157 | except Exception as e: | CODE |
| LOW | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 167 | except Exception as e: | CODE |
| LOW⚡ | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 208 | except Exception as e: | CODE |
| LOW⚡ | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 215 | except Exception as e: | CODE |
| 161 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …python/gdal-utils/osgeo_utils/samples/validate_s102.py | 0 | check specified filename and return a tuple (errors, warnings, checks_done) | STRING |
| HIGH | …python/gdal-utils/osgeo_utils/samples/validate_s104.py | 0 | check specified filename and return a tuple (errors, warnings, checks_done) | STRING |
| HIGH | …python/gdal-utils/osgeo_utils/samples/validate_s111.py | 0 | check specified filename and return a tuple (errors, warnings, checks_done) | STRING |
| HIGH | autotest/ogr/data/testograpispy.py | 0 | geogcs["wgs 84",datum["wgs_1984",spheroid["wgs 84",6378137,298.257223563,authority["epsg","7030"]],authority["epsg","632 | STRING |
| HIGH | autotest/utilities/test_gdalsrsinfo.py | 0 | geogcs["wgs 84",datum["wgs_1984",spheroid["wgs 84",6378137,298.257223563,authority["epsg","7030"]],authority["epsg","632 | STRING |
| HIGH | autotest/osr/osr_cf1.py | 0 | geogcs["wgs 84",datum["wgs_1984",spheroid["wgs 84",6378137,298.257223563,authority["epsg","7030"]],authority["epsg","632 | STRING |
| HIGH | autotest/gcore/vsigs.py | 0 | <?xml version="1.0" encoding="utf-8"?> <listallmybucketsresult> <buckets> <bucket> <name>mybucket</name> </bucket> </buc | STRING |
| HIGH | autotest/gcore/vsis3.py | 0 | <?xml version="1.0" encoding="utf-8"?> <listallmybucketsresult> <buckets> <bucket> <name>mybucket</name> </bucket> </buc | STRING |
| HIGH | autotest/gcore/vsioss.py | 0 | <?xml version="1.0" encoding="utf-8"?> <listallmybucketsresult> <buckets> <bucket> <name>mybucket</name> </bucket> </buc | STRING |
| HIGH | autotest/utilities/test_gdalalg_raster_contour.py | 0 | ncols 2 nrows 2 xllcorner 0 yllcorner 0 cellsize 1 4 15 25 36 | STRING |
| HIGH | autotest/utilities/test_gdal_contour_lib.py | 0 | ncols 2 nrows 2 xllcorner 0 yllcorner 0 cellsize 1 4 15 25 36 | STRING |
| HIGH | autotest/alg/contour.py | 0 | ncols 2 nrows 2 xllcorner 0 yllcorner 0 cellsize 1 4 15 25 36 | STRING |
| HIGH | autotest/gdrivers/mrsid.py | 0 | projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9 | STRING |
| HIGH | autotest/gdrivers/jp2openjpeg.py | 0 | projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9 | STRING |
| HIGH | autotest/gdrivers/jp2grok.py | 0 | projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9 | STRING |
| HIGH | autotest/gdrivers/ecw.py | 0 | projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9 | STRING |
| HIGH | autotest/gdrivers/netcdf.py | 0 | projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9 | STRING |
| HIGH | autotest/gdrivers/jp2openjpeg.py | 0 | projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6 | STRING |
| HIGH | autotest/gdrivers/jp2kak.py | 0 | projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6 | STRING |
| HIGH | autotest/gdrivers/ecw.py | 0 | projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6 | STRING |
| HIGH | autotest/osr/osr_xml.py | 0 | projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6 | STRING |
| HIGH | autotest/gdrivers/isce.py | 0 | geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg", | STRING |
| HIGH | autotest/gdrivers/ace2.py | 0 | geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg", | STRING |
| HIGH | autotest/gdrivers/snodas.py | 0 | geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg", | STRING |
| HIGH | autotest/gdrivers/roipac.py | 0 | geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg", | STRING |
| HIGH | autotest/osr/osr_proj4.py | 0 | geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg", | STRING |
| HIGH | autotest/osr/osr_micoordsys.py | 0 | projcs["unnamed",geogcs["nad27",\ datum["north_american_datum_1927",\ spheroid["clarke 1866",6378206.4,294.9786982139006 | STRING |
| HIGH | autotest/osr/osr_usgs.py | 0 | projcs["unnamed",geogcs["nad27",\ datum["north_american_datum_1927",\ spheroid["clarke 1866",6378206.4,294.9786982139006 | STRING |
| HIGH | autotest/osr/osr_pci.py | 0 | projcs["unnamed",geogcs["nad27",\ datum["north_american_datum_1927",\ spheroid["clarke 1866",6378206.4,294.9786982139006 | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ogr/ogrpgeogeometry.cpp | 360 | // that form a TIN. And be robust to consecutive duplicated triangles ! | COMMENT |
| MEDIUM | ogr/ogrsf_frmts/pmtiles/ogrpmtilestileiterator.cpp | 315 | // do not allow this to be more robust against hostile files | COMMENT |
| MEDIUM | ogr/ogrsf_frmts/carto/ogrcartotablelayer.cpp | 234 | // by doing that here, we are somewhat robust to | COMMENT |
| MEDIUM | ogr/ogrsf_frmts/filegdb/FGdbUtils.cpp | 483 | // "Essentially, eliminate anything that is not alphanumeric or an | COMMENT |
| MEDIUM | …/ogrsf_frmts/openfilegdb/ogropenfilegdblayer_write.cpp | 89 | // "Essentially, eliminate anything that is not alphanumeric or an | COMMENT |
| MEDIUM | ogr/ogrsf_frmts/openfilegdb/filegdb_gdbtoogrfieldtype.h | 23 | // We could make this function far more robust by doing automatic coercion of | COMMENT |
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdalmove.py | 96 | # we just use the top left, top right, and bottom left to produce the | COMMENT |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s104.py | 1027 | # Cf Table 12-2 - Feature Type metadata, pertaining to the WaterLevel feature type | COMMENT |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s104.py | 1331 | # Cf Table 12-3 - Feature Instance metadata, pertaining to the feature instance | COMMENT |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s111.py | 1068 | # Cf Table 12-2 - Feature Type metadata, pertaining to the SurfaceCurrent feature type | COMMENT |
| MEDIUM | …python/gdal-utils/osgeo_utils/samples/validate_s111.py | 1409 | # Cf Table 12-3 - Feature Instance metadata, pertaining to the feature instance | COMMENT |
| LOW | …/gdal-utils/osgeo_utils/samples/validate_geoparquet.py | 439 | # For non-WKB encoding, just use the high level OGR API | COMMENT |
| MEDIUM | autotest/ogr/ogr_dxf.py | 579 | # changes are made to the aforementioned items. Ideally, one would test | COMMENT |
| MEDIUM | autotest/ogr/ogr_vdv.py | 506 | # Test we are robust against missing end; | STRING |
| MEDIUM | autotest/ogr/ogr_gml.py | 3500 | # Test we are robust to content of XML elements bigger than 2 GB | COMMENT |
| MEDIUM | autotest/gcore/tiff_read.py | 2844 | # Test that we are at least robust to wrong number of ExtraSamples and warn | COMMENT |
| MEDIUM | autotest/cpp/main_gtest.cpp | 26 | // Use a potentially non-C locale to make sure we are robust | COMMENT |
| MEDIUM | autotest/gdrivers/mbtiles.py | 485 | # Test we are robust to invalid bounds | COMMENT |
| LOW | autotest/gdrivers/jpeg_profile.py | 128 | # We will simply use the same profile multiple times. | COMMENT |
| MEDIUM | autotest/gdrivers/zarr_driver.py | 8491 | # round-trip, and multiscales metadata in one comprehensive test. | COMMENT |
| MEDIUM | gcore/gdalrasterband.cpp | 7199 | // to compute standard deviation in a more numerically robust way than | COMMENT |
| MEDIUM | gcore/multidim/gdalmultidim_array_gridded.cpp | 254 | // GCC 13.1 warns here. Definitely a false positive. | COMMENT |
| MEDIUM | third_party/flatbuffers/vector_downward.h | 31 | // Essentially, this supports 2 std::vectors in a single buffer. | COMMENT |
| MEDIUM | frmts/ngsgeoid/ngsgeoiddataset.cpp | 267 | // Test written that way to be robust to NaN values | COMMENT |
| MEDIUM | frmts/msg/msgdataset.cpp | 771 | // this is to utilize i to get iCol | COMMENT |
| MEDIUM | frmts/pcidsk/sdk/segment/cpcidskvectorsegment.h | 89 | // Essentially internal stuff. | COMMENT |
| MEDIUM | frmts/vrt/vrtsourcedrasterband.cpp | 1666 | // which is more numerically robust | COMMENT |
| MEDIUM | frmts/grib/degrib/g2clib/aecunpack.c | 58 | // Note: libaec doesn't seem to be very robust to invalid inputs... | COMMENT |
| MEDIUM | port/cpl_odbc.h | 202 | // Essentially internal. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | swig/python/gdal-utils/osgeo_utils/gdalmove.py | 44 | # Open the file. | COMMENT |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 2080 | # Output the results | COMMENT |
| LOW | …python/gdal-utils/osgeo_utils/samples/validate_gpkg.py | 715 | # Check if we must set PRAGMA trusted_schema = ON | COMMENT |
| LOW | …/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py | 66 | # Check if listgeo is recent enough | COMMENT |
| LOW | …sgeo_utils/samples/validate_cloud_optimized_geotiff.py | 232 | # Check if there is GDAL hidden structural metadata | COMMENT |
| LOW | autotest/gnm/gnm_test.py | 61 | # Open file base network | COMMENT |
| LOW | autotest/ogr/ogr_parquet.py | 4474 | # Write file using Parquet geo types | COMMENT |
| LOW | autotest/ogr/ogr_gpkg.py | 4630 | # Check if spatial index is recognized | COMMENT |
| LOW | autotest/ogr/ogr_vfk.py | 44 | # Open file, check number of layers, get first layer, | COMMENT |
| LOW | autotest/ogr/ogr_openfilegdb_write.py | 3901 | # Set SRS to None | COMMENT |
| LOW | autotest/ogr/ogr_openfilegdb_write.py | 3923 | # Set SRS to EPSG:4326 | COMMENT |
| LOW | autotest/ogr/ogr_openfilegdb_write.py | 3948 | # Set SRS to EPSG:4269 | COMMENT |
| LOW | autotest/ogr/ogr_csv.py | 648 | # Close the file and check again | COMMENT |
| LOW | autotest/ogr/ogr_mitab.py | 97 | # Close file. | COMMENT |
| LOW | autotest/ogr/ogr_mitab.py | 284 | # Check if the width and precision are as preserved. | COMMENT |
| LOW | autotest/ogr/ogr_pg.py | 1210 | # Check if the sub geometries of TIN and POLYHEDRALSURFACE are valid | COMMENT |
| LOW | autotest/ogr/ogr_pg.py | 1256 | # Check if the 3d geometries of TIN, Triangle and POLYHEDRALSURFACE are valid | COMMENT |
| LOW | autotest/ogr/ogr_pg.py | 2465 | # Check if the layer is listed | COMMENT |
| LOW | autotest/ogr/ogr_sql_sqlite.py | 2137 | # Check if MakeValid() is available | COMMENT |
| LOW | autotest/gcore/tiff_ovr.py | 126 | # Open file and verify some characteristics of the overviews. | COMMENT |
| LOW | autotest/utilities/test_gdal_rasterize.py | 97 | # Close file | COMMENT |
| LOW | autotest/utilities/test_gdalalg_raster_sieve.py | 66 | # Check if the output is TILED | COMMENT |
| LOW | autotest/gdrivers/nitf.py | 1666 | # Check if JPEG driver supports 12bit JPEG reading/writing | COMMENT |
| LOW | autotest/gdrivers/nitf.py | 1684 | # Check if JPEG driver supports 12bit JPEG reading/writing | COMMENT |
| LOW | autotest/gdrivers/nitf.py | 1708 | # Check if JPEG driver supports 12bit JPEG reading/writing | COMMENT |
| LOW | autotest/gdrivers/nitf.py | 6516 | # Check if JPEG driver supports 12bit JPEG reading/writing | STRING |
| LOW | autotest/gdrivers/jpeg.py | 359 | # Check if JPEG driver supports 12bit JPEG reading/writing | COMMENT |
| LOW | autotest/gdrivers/jpeg.py | 382 | # Check if JPEG driver supports 12bit JPEG reading/writing | COMMENT |
| LOW | autotest/gdrivers/jpeg.py | 451 | # Check if JPEG driver supports 12bit JPEG reading/writing | COMMENT |
| LOW | autotest/gdrivers/ogcapi.py | 31 | # Set RECORD to TRUE to recreate test data from the https://maps.gnosis.earth/ogcapi server | COMMENT |
| LOW | .github/workflows/asan/test.sh | 74 | # Check if the tests failed and error out. | COMMENT |
| LOW | frmts/pcraster/doxygen.cfg | 272 | # Set it to YES to include the internal documentation. | COMMENT |
| LOW | doc/source/conf.py | 119 | # Read the file of substitutions and append it to the beginning of each file. | COMMENT |
| LOW | doc/source/_extensions/doctestplus_gdal.py | 23 | # Check if there is any valid argument, and skip it. Currently only | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | swig/python/osgeo/gdalnumeric.py | 1 | CODE | |
| LOW | swig/python/osgeo/gdalnumeric.py | 2 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_pansharpen.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_proximity.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_merge.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_retile.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_polygonize.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/ogr_layer_algebra.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_calc.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/pct2rgb.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal2xyz.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_sieve.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_fillnodata.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdalmove.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal_edit.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/ogrmerge.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/rgb2pct.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdal2tiles.py | 11 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdalcompare.py | 8 | CODE | |
| LOW | swig/python/gdal-utils/scripts/gdalattachpct.py | 8 | CODE | |
| LOW | autotest/conftest.py | 22 | CODE | |
| LOW | autotest/conftest.py | 27 | CODE | |
| LOW | autotest/conftest.py | 27 | CODE | |
| LOW | autotest/conftest.py | 27 | CODE | |
| LOW | autotest/conftest.py | 27 | CODE | |
| LOW | autotest/conftest.py | 27 | CODE | |
| LOW | autotest/ogr/ogr_geojson.py | 4695 | CODE | |
| LOW | autotest/ogr/ogr_geojson.py | 4741 | CODE | |
| LOW | autotest/ogr/ogr_geojson.py | 4787 | CODE | |
| LOW | autotest/pyscripts/test_gdal2tiles.py | 75 | CODE | |
| LOW | autotest/pyscripts/test_gdal2tiles.py | 76 | CODE | |
| LOW | autotest/pyscripts/test_gdal2tiles.py | 78 | CODE | |
| LOW | autotest/gcore/test_gdal_fsspec.py | 21 | CODE | |
| LOW | autotest/gcore/gdal_stats.py | 1518 | CODE | |
| LOW | autotest/gcore/multidim.py | 1673 | CODE | |
| LOW | autotest/utilities/test_gdalalg_raster_zonal_stats.py | 156 | CODE | |
| LOW | …source/_extensions/sphinxcontrib_programoutput_gdal.py | 39 | CODE | |
| LOW | …source/_extensions/sphinxcontrib_programoutput_gdal.py | 39 | CODE | |
| LOW | …source/_extensions/sphinxcontrib_programoutput_gdal.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py | 148 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_proximity.py | 148 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py | 27 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_calc.py | 98 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2xyz.py | 39 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/gdal_fillnodata.py | 35 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 500 | CODE | |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 841 | CODE | |
| LOW | …hon/gdal-utils/osgeo_utils/samples/gdallocationinfo.py | 66 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 101 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 107 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 113 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 119 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 125 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 131 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 137 | CODE | |
| LOW | …g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py | 148 | CODE | |
| LOW | …on/gdal-utils/osgeo_utils/auxiliary/raster_creation.py | 31 | CODE | |
| LOW | autotest/ogr/ogr_mitab.py | 1483 | CODE | |
| LOW | autotest/pyscripts/test_gdal_calc.py | 590 | CODE | |
| LOW | autotest/pyscripts/test_gdal_calc.py | 622 | CODE | |
| LOW | autotest/pymod/webserver.py | 42 | CODE | |
| LOW | autotest/pymod/webserver.py | 296 | CODE | |
| LOW | autotest/pymod/webserver.py | 350 | CODE | |
| LOW | autotest/pymod/gdaltest.py | 80 | CODE | |
| LOW | autotest/pymod/gdaltest.py | 134 | CODE | |
| LOW | autotest/pymod/gdaltest.py | 373 | CODE | |
| LOW | …otest/utilities/test_gdalalg_raster_shift_longitude.py | 30 | CODE | |
| LOW | autotest/gdrivers/vrtderived.py | 935 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ogr/ogrsf_frmts/geojson/libjson/json_object.h | 418 | * ownership through json_object_get (& don't forget to do a json_object_put | COMMENT |
| LOW | ogr/ogrsf_frmts/osm/data/osmconf.ini | 77 | # Note for GDAL developers: if we change the below formula, make sure to edit ogrosmlayer.cpp since it has a hardcoded o | COMMENT |
| LOW | swig/python/gdal-utils/osgeo_utils/ogrmerge.py | 183 | # WARNING: if adding a new option, make sure to update _gpkg_ogrmerge() | COMMENT |
| LOW | third_party/LercLib/BitStuffer2.cpp | 34 | // if you change Encode(...) / Decode(...), don't forget to update ComputeNumBytesNeeded(...) | COMMENT |
| LOW | third_party/LercLib/BitStuffer2.cpp | 157 | // if you change Encode(...) / Decode(...), don't forget to update ComputeNumBytesNeeded(...) | COMMENT |
| MEDIUM | .github/workflows/linux_build.yml | 525 | # you can replace JXL_TREEISH=main by JXL_TREEISH=sha1_of_known_working_commit | COMMENT |
| MEDIUM⚡ | frmts/pcraster/doxygen.cfg | 428 | # If the value of the INPUT tag contains directories, you can use the | COMMENT |
| MEDIUM | frmts/pcraster/doxygen.cfg | 454 | # If the value of the INPUT tag contains directories, you can use the | COMMENT |
| MEDIUM | frmts/pcraster/doxygen.cfg | 466 | # If the value of the EXAMPLE_PATH tag contains directories, you can use the | COMMENT |
| LOW | frmts/pcraster/libcsf/putattr.c | 33 | * string field. Don't forget to pad a | COMMENT |
| LOW | frmts/pcraster/libcsf/putattr.c | 74 | * string field. Don't forget to pad a | COMMENT |
| LOW | frmts/mrf/LERCV1/Lerc1Image.cpp | 345 | // if you change the file format, don't forget to update not only write and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ogr/ogrsf_frmts/geojson/libjson/arraylist.c | 193 | // Because put_idx can skip entries, we need to check if | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5552 | // Step 1: Extract MSB of each byte (vshr #7: 0x80->1, 0x7F->0) | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5555 | // Step 2: Shift each byte left by its bit position (0-7 per half) | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5571 | // Step 3: Sum each half -> bits [7:0] and [15:8] | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5577 | // Step 1: Extract MSB of each byte | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5581 | // Step 2: Parallel bit collection via shift-right-accumulate | COMMENT |
| LOW | gcore/sse2neon.h | 5599 | // Step 3: Extract packed result from byte 0 of each half | COMMENT |
| LOW | frmts/ceos2/ceosrecipe.c | 543 | /* First, we need to check if the "SAR Data Format Type */ | COMMENT |
| LOW | frmts/ceos2/ceosrecipe.c | 610 | /* First, we need to check if the "SAR Data Format Type */ | COMMENT |
| LOW | frmts/map/mapdataset.cpp | 275 | /* First, we need to check if it is necessary to define a neatline */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | gcore/sse2neon.h | 5552 | // Step 1: Extract MSB of each byte (vshr #7: 0x80->1, 0x7F->0) | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5555 | // Step 2: Shift each byte left by its bit position (0-7 per half) | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5571 | // Step 3: Sum each half -> bits [7:0] and [15:8] | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5577 | // Step 1: Extract MSB of each byte | COMMENT |
| LOW⚡ | gcore/sse2neon.h | 5581 | // Step 2: Parallel bit collection via shift-right-accumulate | COMMENT |
| LOW | gcore/sse2neon.h | 5599 | // Step 3: Extract packed result from byte 0 of each half | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | autotest/ogr/ogr_elasticsearch.py | 3090 | "key": "dummy_key", | CODE |
| LOW | autotest/ogr/ogr_elasticsearch.py | 3126 | assert f["key"] == "dummy_key" | CODE |
| LOW | autotest/ogr/ogr_elasticsearch.py | 3190 | "key": "dummy_key", | CODE |
| LOW | autotest/ogr/ogr_elasticsearch.py | 3222 | assert f["key"] == "dummy_key" | CODE |
| LOW | autotest/gcore/data/text.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | autotest/gcore/data/text.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | doc/source/_extensions/cli_example.py | 36 | nodes.Text("placeholder"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …sgeo_utils/samples/validate_cloud_optimized_geotiff.py | 171 | Check if a file is a (Geo)TIFF with cloud optimized compatible structure. Args: ds: GDAL Dataset for the file | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | autotest/ogr/ogr_gml.py | 304 | # TODO: Add test for other data types as they are added to the driver. | COMMENT |
| LOW | third_party/flatbuffers/flexbuffers.h | 127 | // TODO: implement proper support for 8/16bit floats, or decide not to | COMMENT |
| LOW | frmts/netcdf/netcdfdataset.cpp | 12203 | // TODO: implement support of relative paths. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | swig/python/gdal-utils/osgeo_utils/gdal2tiles.py | 703 | def set_cache_max(cache_in_bytes: int) -> None: | CODE |