A cluster computing framework for processing large-scale geospatial data
This report presents the forensic synthetic code analysis of apache/sedona, a Java project with 2,349 GitHub stars. SynthScan v2.0 examined 400,910 lines of code across 2465 source files, recording 1946 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 12.9 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1946 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | python/sedona/spark/utils/binary_parser.py | 106 | decoded_string = sc._jvm.org.imbruced.geo_pyspark.serializers.GeoSerializerData.deserializeUserData( | CODE |
| CRITICAL | python/sedona/spark/stats/weighting.py | 64 | sedona._jvm.org.apache.sedona.stats.Weighting.addDistanceBandColumnPython( | CODE |
| CRITICAL | python/sedona/spark/stats/weighting.py | 117 | sedona._jvm.org.apache.sedona.stats.Weighting.addDistanceBandColumnPython( | CODE |
| CRITICAL | python/sedona/spark/stats/weighting.py | 174 | sedona._jvm.org.apache.sedona.stats.Weighting.addDistanceBandColumnPython( | CODE |
| CRITICAL | …thon/sedona/spark/stats/hotspot_detection/getis_ord.py | 61 | result_df = sedona._jvm.org.apache.sedona.stats.hotspotDetection.GetisOrd.gLocal( | CODE |
| CRITICAL | python/sedona/spark/stats/autocorrelation/moran.py | 43 | sedona._jvm.org.apache.sedona.stats.autocorrelation.Moran.getGlobal( | CODE |
| CRITICAL | python/sedona/spark/stats/clustering/dbscan.py | 63 | result_df = sedona._jvm.org.apache.sedona.stats.clustering.DBSCAN.dbscan( | CODE |
| CRITICAL | …/spark/stats/outlier_detection/local_outlier_factor.py | 55 | result_df = sedona._jvm.org.apache.sedona.stats.outlierDetection.LocalOutlierFactor.localOutlierFactor( | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 74 | org.apache.sedona.common.geography.Functions.area(Constructors.geogFromWKT(wkt, 4326)); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 85 | org.apache.sedona.common.geography.Functions.length(Constructors.geogFromWKT(wkt, 4326)); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 113 | org.apache.sedona.common.geography.Functions.distance( | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 148 | org.apache.sedona.common.geography.Functions.asText(Constructors.geogFromWKT(wkt, 4326)), | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 157 | org.apache.sedona.common.geography.Functions.asEWKT(Constructors.geogFromWKT(wkt, 4326)), | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 166 | org.apache.sedona.common.geography.Functions.centroid(Constructors.geogFromWKT(wkt, 4326)); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 176 | org.apache.sedona.common.geography.Functions.getEnvelope( | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 188 | org.apache.sedona.common.geography.Functions.getEnvelope( | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 199 | org.apache.sedona.common.geography.Functions.buffer( | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/GeographyFunctionTest.java | 213 | org.apache.sedona.common.geography.Functions.buffer( | CODE |
| CRITICAL | …va/org/apache/sedona/flink/GeographyPredicateTest.java | 162 | org.apache.sedona.flink.expressions.Constructors.ST_GeomFromWKT.class.getSimpleName(); | CODE |
| CRITICAL | …/src/test/java/org/apache/sedona/flink/ModuleTest.java | 94 | org.apache.sedona.flink.Catalog.getFuncs()) { | CODE |
| CRITICAL | …/src/test/java/org/apache/sedona/flink/ModuleTest.java | 105 | org.apache.sedona.flink.Catalog.getPredicates()) { | CODE |
| CRITICAL | …/org/apache/sedona/flink/GeographyConstructorTest.java | 80 | org.apache.flink.table.api.Expressions.lit(4326)) | CODE |
| CRITICAL | …va/org/apache/sedona/flink/GeometryTypeSerializer.java | 75 | byte[] data = org.apache.sedona.common.geometrySerde.GeometrySerializer.serialize(record); | CODE |
| CRITICAL | …va/org/apache/sedona/flink/GeometryTypeSerializer.java | 89 | return org.apache.sedona.common.geometrySerde.GeometrySerializer.deserialize(data); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1092 | return org.apache.sedona.common.Functions.yMin(geom); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1102 | return org.apache.sedona.common.Functions.yMin(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1112 | return org.apache.sedona.common.Functions.yMin(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1125 | return org.apache.sedona.common.Functions.yMax(geom); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1135 | return org.apache.sedona.common.Functions.yMax(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1145 | return org.apache.sedona.common.Functions.yMax(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1234 | return org.apache.sedona.common.Functions.geohash(geom, precision); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1241 | return org.apache.sedona.common.Functions.geohashNeighbors(geohash); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1248 | return org.apache.sedona.common.Functions.geohashNeighbor(geohash, direction); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1548 | return org.apache.sedona.common.Functions.asWKT(geom); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1558 | return org.apache.sedona.common.Functions.box2dAsText(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1568 | return org.apache.sedona.common.Functions.box3dAsText(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1578 | return org.apache.sedona.common.geography.Functions.asText(geog); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1790 | return org.apache.sedona.common.Functions.xMax(geom); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1800 | return org.apache.sedona.common.Functions.xMax(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1810 | return org.apache.sedona.common.Functions.xMax(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1823 | return org.apache.sedona.common.Functions.xMin(geom); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1833 | return org.apache.sedona.common.Functions.xMin(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 1843 | return org.apache.sedona.common.Functions.xMin(box); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2693 | return org.apache.sedona.common.Functions.h3CellIDs(geom, level, fullCover); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2700 | return org.apache.sedona.common.Functions.h3CellDistance(cell1, cell2); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2710 | return org.apache.sedona.common.Functions.h3KRing(cell, k, exactRing); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2720 | return org.apache.sedona.common.Functions.h3ToGeom( | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2735 | return org.apache.sedona.common.Functions.bingTile(tileX, tileY, zoomLevel); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2745 | return org.apache.sedona.common.Functions.bingTileAt(longitude, latitude, zoomLevel); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2755 | return org.apache.sedona.common.Functions.bingTilesAround(longitude, latitude, zoomLevel); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2762 | return org.apache.sedona.common.Functions.bingTileZoomLevel(quadKey); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2769 | return org.apache.sedona.common.Functions.bingTileX(quadKey); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2776 | return org.apache.sedona.common.Functions.bingTileY(quadKey); | CODE |
| CRITICAL⚡ | …ava/org/apache/sedona/flink/expressions/Functions.java | 2786 | return org.apache.sedona.common.Functions.bingTilePolygon(quadKey); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/expressions/Functions.java | 48 | return org.apache.sedona.common.Functions.geometryTypeWithMeasured(geom); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/expressions/Functions.java | 64 | return org.apache.sedona.common.Functions.labelPoint(geom); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/expressions/Functions.java | 79 | return org.apache.sedona.common.Functions.labelPoint(geom, gridResolution); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/expressions/Functions.java | 95 | return org.apache.sedona.common.Functions.labelPoint(geom, gridResolution, goodnessThreshold); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/expressions/Functions.java | 108 | return org.apache.sedona.common.Functions.area(geom); | CODE |
| CRITICAL | …ava/org/apache/sedona/flink/expressions/Functions.java | 118 | return org.apache.sedona.common.geography.Functions.area(geog); | CODE |
| 365 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | lychee.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | mkdocs.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .pre-commit-config.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | spark-version-converter.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | pyproject.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | docker/install-zeppelin.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install-sedona.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/test-notebooks.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docker/install-spark.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/build.sh | 81 | COMMENT | |
| LOW | docker/start.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docker/zeppelin/update-zeppelin-interpreter.sh | 1 | #!/bin/sh | COMMENT |
| LOW | python/pyproject.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/version.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/exceptions.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/maps/SedonaKepler.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/maps/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/maps/SedonaPyDeck.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/stac/client.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/stac/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/stac/collection_client.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/formatMapper/geo_json_reader.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/formatMapper/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …n/sedona/core/formatMapper/shapefileParser/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …core/formatMapper/shapefileParser/shape_file_reader.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/enums/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/SpatialRDD/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/jvm/config.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/jvm/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/geom/geography.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/geom/circle.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/geom/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/geom/envelope.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/core/spatialOperator/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/flink/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/flink/context.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/utils/adapter.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/utils/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/utils/spatial_rdd_parser.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/utils/structured_adapter/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/geoarrow/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster_utils/SedonaUtils.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster_utils/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/register/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/db/dbapi.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/db/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/db/telemetry.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/db/testing.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/doc/conf.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/data_buffer.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/__init__.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/raster_serde.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/sedona_raster.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/sample_model.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/awt_raster.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/sedona/raster/meta.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| 435 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/sedona/spark/maps/SedonaMapUtils.py | 27 | def __convert_to_gdf_or_pdf__(cls, df, rename=True, geometry_col=None): | CODE |
| LOW | python/sedona/spark/maps/SedonaMapUtils.py | 97 | def __extract_point_coordinate__(cls, geom): | CODE |
| LOW | python/sedona/spark/maps/SedonaMapUtils.py | 102 | def _extract_first_sub_geometry_(cls, geom): | CODE |
| LOW | python/sedona/spark/maps/SedonaPyDeck.py | 313 | def _create_default_fill_color_(cls, gdf, plot_col): | CODE |
| LOW | python/sedona/spark/stac/client.py | 130 | def get_collection_from_catalog(self): | CODE |
| LOW | python/sedona/spark/stac/collection_client.py | 76 | def _move_attributes_to_properties(item_dict: dict) -> dict: | CODE |
| LOW | python/sedona/spark/stac/collection_client.py | 116 | def _apply_spatial_temporal_filters( | CODE |
| LOW | python/sedona/spark/core/formatMapper/disc_utils.py | 108 | def load_spatial_rdd_from_disc(sc: SparkContext, path: str, geometry_type: GeoType): | CODE |
| LOW | python/sedona/spark/core/formatMapper/disc_utils.py | 119 | def load_spatial_index_rdd_from_disc(sc: SparkContext, path: str): | CODE |
| LOW | python/sedona/spark/core/SpatialRDD/spatial_rdd.py | 475 | def _spatial_partitioning_impl( | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 26 | def translate_spatial_rdd_to_python(self, spatial_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 29 | def translate_spatial_pair_rdd_to_python(self, spatial_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 32 | def translate_spatial_pair_rdd_with_list_to_python(self, spatial_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 37 | def translate_python_rdd_to_java(self, java_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 40 | def translate_geometry_seq_to_python(self, geometry_seq) -> List: | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 98 | def translate_spatial_rdd_to_python(self, spatial_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 107 | def deserialize_to_point_raw_rdd(self, java_spatial_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 112 | def deserialize_to_polygon_raw_rdd(self, java_spatial_rdd): | CODE |
| LOW⚡ | python/sedona/spark/core/jvm/translate.py | 117 | def deserialize_to_linestring_raw_rdd(self, java_spatial_rdd): | CODE |
| LOW | python/sedona/spark/core/jvm/translate.py | 137 | def load_line_string_spatial_rdd(self, sc, path): | CODE |
| LOW | python/sedona/spark/core/jvm/config.py | 33 | def is_greater_or_equal_version(version_a: str, version_b: str) -> bool: | CODE |
| LOW | python/sedona/spark/core/geom/shapely1/circle.py | 130 | def _compute_envelope_internal(self): | CODE |
| LOW | python/sedona/spark/core/geom/shapely2/circle.py | 110 | def _compute_envelope_internal(self): | CODE |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1038 | def minimum_rotated_rectangle(self): | CODE |
| LOW | python/sedona/spark/geopandas/base.py | 915 | def minimum_rotated_rectangle(self): | CODE |
| LOW | python/sedona/spark/geopandas/base.py | 4026 | def _delegate_to_geometry_column(op, this, *args, **kwargs): | CODE |
| LOW | python/sedona/spark/utils/geometry_adapter.py | 28 | def create_jvm_geometry_from_base_geometry(cls, jvm, geom: BaseGeometry): | CODE |
| LOW | python/sedona/spark/utils/prep.py | 51 | def assign_udt_shapely_objects(geoms: List[type(BaseGeometry)]) -> bool: | CODE |
| LOW | python/sedona/spark/utils/prep.py | 59 | def assign_user_data_to_shapely_objects(geoms: List[type(BaseGeometry)]) -> bool: | CODE |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 381 | def serialize_multi_linestring(geom: MultiLineString) -> bytes: | CODE |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 403 | def deserialize_multi_linestring(geom_buffer: GeometryBuffer) -> MultiLineString: | CODE |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 492 | def deserialize_multi_polygon(geom_buffer: GeometryBuffer) -> MultiPolygon: | CODE |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 504 | def serialize_geometry_collection(geom: GeometryCollection) -> bytearray: | CODE |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 553 | def deserialize_geometry_collection(geom_buffer: GeometryBuffer) -> GeometryCollection: | CODE |
| LOW | python/sedona/spark/utils/decorators.py | 35 | def get_first_meet_criteria_element_from_iterable( | CODE |
| LOW | python/sedona/spark/geoarrow/geoarrow.py | 175 | def try_register_extension_types(): | CODE |
| LOW | python/sedona/spark/raster/raster_serde.py | 78 | def _read_affine_transformation(bio: BytesIO) -> AffineTransform: | CODE |
| LOW | python/sedona/spark/raster/sedona_raster.py | 45 | def _has_env_with_gdal_mem_enabled(): | CODE |
| LOW | python/sedona/spark/raster/sedona_raster.py | 81 | def _numpy_dtype_to_data_buffer_type(dtype: np.dtype) -> int: | CODE |
| LOW | python/sedona/spark/stats/weighting.py | 81 | def add_binary_distance_band_column( | CODE |
| LOW | python/sedona/spark/stats/weighting.py | 134 | def add_weighted_distance_band_column( | CODE |
| LOW | python/sedona/spark/sql/functions.py | 90 | def _apply_shapely_series_udf( | CODE |
| LOW | python/sedona/spark/sql/functions.py | 132 | def deserialize_geometry_if_geom(data): | CODE |
| LOW | python/sedona/spark/sql/functions.py | 139 | def serialize_to_geometry_if_geom(data, return_type: DataType): | CODE |
| LOW | python/sedona/spark/sql/dataframe_api.py | 47 | def _convert_argument_to_java_column(arg: Any) -> Column: | CODE |
| LOW | python/sedona/spark/sql/dataframe_api.py | 108 | def _strip_extra_from_class_name(class_name): | CODE |
| LOW | python/sedona/spark/sql/dataframe_api.py | 112 | def _get_readable_name_for_type(type: Type) -> str: | CODE |
| LOW | python/sedona/spark/sql/connect.py | 26 | def _convert_argument_to_connect_column(arg: Any) -> Column: | CODE |
| LOW | python/sedona/spark/sql/connect.py | 37 | def call_sedona_function_connect(function_name: str, args: List[Any]) -> Column: | CODE |
| LOW | python/tests/test_path_compatibility_all.py | 51 | def test_spatial_operators_imports(self): | CODE |
| LOW | python/tests/test_path_compatibility_all.py | 78 | def test_format_mapper_imports(self): | CODE |
| LOW | python/tests/test_path_compatibility_all.py | 95 | def test_raster_utils_imports(self): | CODE |
| LOW | python/tests/test_path_compatibility_all.py | 99 | def test_import_df_functions_from_sedona_sql(self): | CODE |
| LOW | python/tests/test_assign_raw_spatial_rdd.py | 31 | def test_raw_spatial_rdd_assignment(self): | CODE |
| LOW | python/tests/test_assign_raw_spatial_rdd.py | 54 | def test_raw_circle_rdd_assignment(self): | CODE |
| LOW | python/tests/tools.py | 22 | def distance_sorting_functions(geo_data: GeoData, query_point: Point): | CODE |
| LOW | python/tests/test_circle.py | 51 | def test_get_envelope_internal(self): | CODE |
| LOW | python/tests/test_base.py | 122 | def assert_geometry_almost_equal( | CODE |
| LOW | python/tests/test_base.py | 172 | def test_assert_geometry_almost_equal(): | CODE |
| LOW | python/tests/test_path_compatibility.py | 92 | def test_spatial_operators_imports(self): | CODE |
| 369 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyproject.toml | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/sedona/spark/geopandas/geodataframe.py | 366 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/sedona/spark/geopandas/geodataframe.py | 368 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 44 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 46 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 259 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 261 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 660 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 662 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 1375 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 1377 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 1453 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 1455 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 1587 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 1589 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 59 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 61 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 350 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 352 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 551 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 553 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 631 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 633 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 662 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 664 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1290 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1292 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1684 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1686 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1715 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1717 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1986 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 1988 | # ============================================================================ | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 3167 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 3169 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 3216 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 3218 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 2365 | # ============================================================================ | STRING |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 2367 | # ============================================================================ | STRING |
| MEDIUM | python/sedona/spark/sql/st_functions.py | 964 | # ========================================================================= | COMMENT |
| MEDIUM | python/sedona/spark/sql/st_functions.py | 966 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/tests/geopandas/test_geopandas_base.py | 33 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/geopandas/test_geopandas_base.py | 35 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tests/geopandas/test_geodataframe.py | 585 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tests/geopandas/test_geodataframe.py | 587 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 89 | # > ┌──────────────────────────────────┐ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 92 | # > ╞══════════════════════════════════╡ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 94 | # > └──────────────────────────────────┘ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 149 | # > ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 152 | # > ╞══════════════════════════════════════════════════════════════════════════════════════════════════╡ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 154 | # > └──────────────────────────────────────────────────────────────────────────────────────────────────┘ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 169 | # > ┌────────┐ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 172 | # > ╞════════╡ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-2.md | 174 | # > └────────┘ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-3.md | 111 | # > ┌──────────────────────────────────────┬────────────────────────────┬───────┐ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-3.md | 114 | # > ╞══════════════════════════════════════╪════════════════════════════╪═══════╡ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-3.md | 116 | # > ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-3.md | 118 | # > ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤ | STRING |
| MEDIUM⚡ | docs/blog/posts/intro-sedonadb-0-3.md | 120 | # > ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤ | STRING |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/sedona/__init__.py | 17 | CODE | |
| LOW | python/sedona/maps/SedonaKepler.py | 18 | CODE | |
| LOW | python/sedona/maps/SedonaPyDeck.py | 17 | CODE | |
| LOW | python/sedona/stac/client.py | 19 | CODE | |
| LOW | python/sedona/stac/collection_client.py | 19 | CODE | |
| LOW | python/sedona/core/formatMapper/geo_json_reader.py | 19 | CODE | |
| LOW | …core/formatMapper/shapefileParser/shape_file_reader.py | 19 | CODE | |
| LOW | python/sedona/core/enums/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/enums/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/enums/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/SpatialRDD/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/SpatialRDD/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/SpatialRDD/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/SpatialRDD/__init__.py | 19 | CODE | |
| LOW | python/sedona/core/jvm/config.py | 19 | CODE | |
| LOW | python/sedona/core/geom/geography.py | 19 | CODE | |
| LOW | python/sedona/core/geom/circle.py | 19 | CODE | |
| LOW | python/sedona/core/geom/envelope.py | 19 | CODE | |
| LOW | python/sedona/flink/__init__.py | 21 | CODE | |
| LOW | python/sedona/flink/__init__.py | 22 | CODE | |
| LOW | python/sedona/utils/adapter.py | 19 | CODE | |
| LOW | python/sedona/utils/spatial_rdd_parser.py | 19 | CODE | |
| LOW | python/sedona/utils/structured_adapter/__init__.py | 18 | CODE | |
| LOW | python/sedona/geoarrow/__init__.py | 19 | CODE | |
| LOW | python/sedona/geoarrow/__init__.py | 19 | CODE | |
| LOW | python/sedona/raster_utils/SedonaUtils.py | 18 | CODE | |
| LOW | python/sedona/register/__init__.py | 18 | CODE | |
| LOW | python/sedona/db/dbapi.py | 18 | CODE | |
| LOW | python/sedona/db/__init__.py | 24 | CODE | |
| LOW | python/sedona/db/__init__.py | 24 | CODE | |
| LOW | python/sedona/db/__init__.py | 24 | CODE | |
| LOW | python/sedona/db/testing.py | 18 | CODE | |
| LOW | python/sedona/db/testing.py | 18 | CODE | |
| LOW | python/sedona/db/testing.py | 18 | CODE | |
| LOW | python/sedona/db/testing.py | 18 | CODE | |
| LOW | python/sedona/raster/data_buffer.py | 18 | CODE | |
| LOW | python/sedona/raster/raster_serde.py | 18 | CODE | |
| LOW | python/sedona/raster/raster_serde.py | 18 | CODE | |
| LOW | python/sedona/raster/sedona_raster.py | 18 | CODE | |
| LOW | python/sedona/raster/sedona_raster.py | 18 | CODE | |
| LOW | python/sedona/raster/sedona_raster.py | 18 | CODE | |
| LOW | python/sedona/raster/sample_model.py | 18 | CODE | |
| LOW | python/sedona/raster/sample_model.py | 18 | CODE | |
| LOW | python/sedona/raster/sample_model.py | 18 | CODE | |
| LOW | python/sedona/raster/sample_model.py | 18 | CODE | |
| LOW | python/sedona/raster/sample_model.py | 18 | CODE | |
| LOW | python/sedona/raster/awt_raster.py | 18 | CODE | |
| LOW | python/sedona/raster/meta.py | 18 | CODE | |
| LOW | python/sedona/raster/meta.py | 18 | CODE | |
| LOW | python/sedona/raster/meta.py | 18 | CODE | |
| LOW | python/sedona/stats/hotspot_detection/getis_ord.py | 19 | CODE | |
| LOW | …n/sedona/stats/hotspot_detection/getis_ord/__init__.py | 18 | CODE | |
| LOW | python/sedona/stats/clustering/dbscan/__init__.py | 18 | CODE | |
| LOW | python/sedona/stats/weighting/__init__.py | 18 | CODE | |
| LOW | python/sedona/stats/weighting/__init__.py | 18 | CODE | |
| LOW | python/sedona/stats/weighting/__init__.py | 18 | CODE | |
| LOW | …ats/outlier_detection/local_outlier_factor/__init__.py | 18 | CODE | |
| LOW | python/sedona/spark/__init__.py | 25 | CODE | |
| LOW | python/sedona/spark/__init__.py | 26 | CODE | |
| LOW | python/sedona/spark/__init__.py | 26 | CODE | |
| 175 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/sedona/spark/core/SpatialRDD/spatial_rdd.py | 48 | jvm_full_name = jvm_partitioner.toString() | CODE |
| HIGH | python/sedona/spark/geopandas/geoseries.py | 2577 | # Coalesce: If the value in L is null, use the corresponding value in R for that row | COMMENT |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 65 | in geometry_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 69 | in spatial_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 81 | in geometry_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 85 | in spatial_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 97 | in geometry_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 100 | "org.apache.sedona.core.spatialRDD.PointRDD" in spatial_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 112 | in geometry_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/format_mapper/test_shapefile_reader.py | 115 | "org.apache.sedona.core.spatialRDD.PointRDD" in spatial_rdd._srdd.toString() | CODE |
| HIGH⚡ | python/tests/geopandas/test_geopandas_base.py | 129 | assert actual.equals(expected) | CODE |
| HIGH | python/tests/geopandas/test_geoseries.py | 614 | assert result.equals(expected) | CODE |
| HIGH | python/tests/geopandas/test_geoseries.py | 2609 | assert s2.index.equals(expected_index) | CODE |
| HIGH | …thon/tests/geopandas/test_match_geopandas_dataframe.py | 266 | assert sgpd_result.equals(gpd_result) | CODE |
| HIGH | …thon/tests/geopandas/test_match_geopandas_dataframe.py | 279 | assert sgpd_result.equals(gpd_result) | CODE |
| HIGH | python/tests/serialization/test_deserializers.py | 162 | result = self.spark.sql("select st_geomfromwkt(null)").collect()[0][0] | CODE |
| HIGH | python/tests/serialization/test_direct_serialization.py | 33 | assert jvm_geom.toString() == "POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))" | CODE |
| HIGH⚡ | python/tests/serialization/test_direct_serialization.py | 44 | jvm_geom.toString() | CODE |
| HIGH⚡ | python/tests/serialization/test_direct_serialization.py | 54 | assert jvm_geom.toString() == wkt | CODE |
| HIGH⚡ | python/tests/serialization/test_direct_serialization.py | 62 | assert jvm_geom.toString() == wkt | CODE |
| HIGH⚡ | python/tests/serialization/test_direct_serialization.py | 70 | assert jvm_geom.toString() == wkt | CODE |
| HIGH | python/tests/utils/test_geometry_serde.py | 120 | assert geom.equals(returned_geom) | CODE |
| HIGH | python/tests/utils/test_geometry_serde.py | 173 | assert geom.equals(returned_geom) | CODE |
| HIGH | python/tests/utils/test_geometry_serde.py | 190 | assert geom.equals(returned_geom) | CODE |
| HIGH | python/tests/utils/test_geometry_serde.py | 215 | assert geom.equals(returned_geom) | CODE |
| HIGH | python/tests/utils/test_geometry_serde.py | 242 | assert geom.equals(returned_geom) | CODE |
| HIGH | python/tests/sql/test_function.py | 735 | if not el.equals(sample_points[1]) | CODE |
| HIGH | python/tests/sql/test_function.py | 2353 | cell_ids = self.spark.sql("select ST_S2CellIDs(null, 6)").take(1)[0][0] | CODE |
| HIGH | python/tests/sql/test_function.py | 513 | test_table = self.spark.sql("SELECT ST_IsValid(null)") | STRING |
| HIGH | python/tests/sql/test_function.py | 2379 | cell_ids = self.spark.sql("select ST_H3CellIDs(null, 6, true)").take(1)[0][0] | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/sedona/spark/stac/collection_client.py | 488 | # Create a new schema with all unique keys and their value struct | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/sindex.py | 277 | # Create a polygon from the bounds. | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/sindex.py | 330 | # Create a SpatialRDD from the DataFrame. | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geodataframe.py | 326 | # Initialize the parent class pyspark DataFrame with the pandas DataFrame. | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 330 | # Initialize the parent class PySpark Series with the pandas Series. | COMMENT |
| MEDIUM | python/sedona/spark/geopandas/geoseries.py | 526 | # The below block for the not allow_override case is eager due to the self.crs call. | COMMENT |
| MEDIUM | python/sedona/spark/utils/geometry_serde.py | 107 | # The following code is mostly taken from the geom_factory function | COMMENT |
| MEDIUM | python/tests/stac/test_collection_client.py | 206 | # Create a temporary directory for the output path and clean it up after the test | COMMENT |
| MEDIUM | python/tests/stac/test_collection_client.py | 341 | # Create a temporary directory for the output path and clean it up after the test | COMMENT |
| MEDIUM | python/tests/stac/test_auth.py | 112 | # Create a mock DataFrame | COMMENT |
| MEDIUM | python/tests/geopandas/test_match_geopandas_series.py | 153 | # The below method calls to_geopandas() on sgpd_result, so we don't do it here | COMMENT |
| MEDIUM | python/tests/geopandas/test_sjoin.py | 255 | # Create a dataset with mixed geometry types | COMMENT |
| MEDIUM | python/tests/geopandas/test_sjoin.py | 272 | # Create a grid of points | COMMENT |
| MEDIUM | python/tests/geopandas/test_geodataframe.py | 217 | # Create a GeoDataFrame with a single geometry column and additional attributes | COMMENT |
| MEDIUM | python/tests/geopandas/test_geodataframe.py | 249 | # Create a dictionary with two geometry columns | COMMENT |
| MEDIUM | python/tests/geopandas/test_geodataframe.py | 440 | # Create a GeoDataFrame with polygons to test area calculation | COMMENT |
| MEDIUM⚡ | python/tests/geopandas/test_sindex.py | 105 | # Create a list of Shapely geometries - squares around points (0,0), (1,1), etc. | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 39 | # Create a GeoSeries with point geometries | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 44 | # Create a GeoSeries with polygon geometries | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 55 | # Create a GeoSeries with line geometries | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 118 | # Create a spatial index from the geometries | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 134 | # Create a spatial DataFrame with polygons | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 146 | # Create a SpatialIndex from the DataFrame | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 187 | # Create a spatial DataFrame with points | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 199 | # Create a SpatialIndex from the DataFrame | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 226 | # Create a spatial DataFrame with mixed geometry types | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 344 | # Create a spatial DataFrame with polygons | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 356 | # Create a SpatialIndex from the DataFrame | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 397 | # Create a spatial DataFrame with points | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 421 | # Create a spatial DataFrame with linestrings | COMMENT |
| MEDIUM | python/tests/geopandas/test_sindex.py | 445 | # Create a spatial DataFrame with mixed geometry types | COMMENT |
| MEDIUM | python/tests/sql/test_structured_adapter.py | 90 | # Create a spatial DataFrame with polygons | COMMENT |
| MEDIUM | python/tests/sql/test_structured_adapter.py | 121 | # Create a spatial DataFrame with points | COMMENT |
| MEDIUM | python/tests/sql/test_structured_adapter.py | 151 | # Create a spatial DataFrame with linestrings | COMMENT |
| MEDIUM | python/tests/sql/test_structured_adapter.py | 181 | # Create a spatial DataFrame with mixed geometry types | COMMENT |
| MEDIUM | python/tests/sql/test_structured_adapter.py | 214 | # Create a spatial DataFrame with various columns and types | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | docs/setup/fabric.md | 22 | ## Step 1: Open Microsoft Fabric Synapse Data Engineering | COMMENT |
| LOW⚡ | docs/setup/fabric.md | 28 | ## Step 2: Create a Microsoft Fabric Data Engineering environment | COMMENT |
| LOW⚡ | docs/setup/fabric.md | 34 | ## Step 3: Select the Apache Spark version | COMMENT |
| LOW⚡ | docs/setup/fabric.md | 40 | ## Step 4: Install the Sedona Python package | COMMENT |
| LOW⚡ | docs/setup/fabric.md | 46 | ## Step 5: Set Spark properties | COMMENT |
| LOW⚡ | docs/setup/fabric.md | 56 | ## Step 6: Save and publish the environment | COMMENT |
| LOW⚡ | docs/setup/fabric.md | 62 | ## Step 7: Find the download links of Sedona jars | COMMENT |
| LOW | docs/setup/fabric.md | 75 | ## Step 8: Start the notebook with the Sedona environment and install the jars | COMMENT |
| LOW | docs/setup/fabric.md | 90 | ## Step 9: Verify the installation | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 61 | ### Step 2: Upload packages to Synapse Workspace | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 65 | ### Step 3: Add packages to Spark Pool | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 71 | ### Step 4: Notebook | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 131 | ### Step 1: Identify the Linux image of the Spark Pool by version | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 135 | ### Step 2 : Download the ISO | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 139 | ### Step 3: build the VM | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 149 | ### Step 4: patch the VM | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 157 | ### Step 5: optional but strongly recommended - install ssh-server (for best copy and paste experience) | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 183 | ### Step 6: install Miniconda | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 192 | ### Step 7: install compilers | COMMENT |
| LOW⚡ | docs/setup/azure-synapse-analytics.md | 198 | ### Step 8: create baseline synapse virtual env | COMMENT |
| LOW | docs/setup/azure-synapse-analytics.md | 214 | ### Step 9: install sedona python packages | COMMENT |
| LOW | docs/setup/azure-synapse-analytics.md | 222 | ### Step 10: identify Python packages to download | COMMENT |
| LOW | docs/setup/azure-synapse-analytics.md | 241 | ### Step 11: identify package conflicts in your deployed Azure Synapse Spark Pool (the real one, not the VM) | COMMENT |
| LOW | docs/setup/snowflake/install.md | 36 | ## Step 1: Create a stage in the database | COMMENT |
| LOW | docs/setup/snowflake/install.md | 50 | ## Step 2: Upload Sedona's JAR files to the stage | COMMENT |
| LOW | docs/setup/snowflake/install.md | 65 | ## Step 3: Create a schema in the database | COMMENT |
| LOW | docs/setup/snowflake/install.md | 79 | ## Step 4: Get the SQL script for creating Sedona's functions | COMMENT |
| LOW | docs/setup/snowflake/install.md | 89 | ## Step 5: Run the SQL script to create Sedona's functions | COMMENT |
| LOW | docs/setup/snowflake/install.md | 101 | ## Step 6: Verify the installation | COMMENT |
| LOW | …org/apache/sedona/common/raster/RasterEditorsTest.java | 4033 | // Step 3: Validate the results for each band | COMMENT |
| LOW | …apache/sedona/common/approximate/StraightSkeleton.java | 95 | // Step 1: Calculate centroid and envelope for normalization | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 107 | // Step 2: Normalize the polygon (center, scale, and optionally simplify by merging short | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 112 | // Step 3: Convert JTS polygon to campskeleton format | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 115 | // Step 4: Compute straight skeleton | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 125 | // Step 5: Extract skeleton edges from normalized coordinate system | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 133 | // Step 6: Transform skeleton edges back to original coordinate system | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/RasterEditors.java | 151 | // Step 1: Try GeoTools CRS.decode (handles EPSG:xxxx, AUTO:xxxx, etc.) | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/RasterEditors.java | 158 | // Step 2: Try GeoTools WKT parsing with longitude-first axis order (handles WKT1) | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/RasterEditors.java | 167 | // Step 3: Use proj4sedona (handles WKT2, PROJ, PROJJSON) | COMMENT |
| LOW | …ava/org/apache/sedona/common/raster/cog/CogWriter.java | 121 | // Step 1: Compute overview decimation factors | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/cog/CogWriter.java | 135 | // Step 2: Encode full-res → parse immediately | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/cog/CogWriter.java | 140 | // Step 3: For each overview level, generate → encode → parse. | COMMENT |
| LOW | …asources/geoparquet/internal/ParquetOutputWriter.scala | 28 | // NOTE: This class is instantiated and used on executor side only, no need to be serializable. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/sedona/__init__.py | 19 | __all__ = ["version"] | CODE |
| LOW | python/sedona/maps/SedonaKepler.py | 20 | __all__ = ["SedonaKepler"] | CODE |
| LOW | python/sedona/maps/SedonaPyDeck.py | 19 | __all__ = ["SedonaPyDeck"] | CODE |
| LOW | python/sedona/stac/client.py | 27 | __all__ = ["Client"] | CODE |
| LOW | python/sedona/stac/collection_client.py | 27 | __all__ = ["CollectionClient"] | CODE |
| LOW | python/sedona/core/formatMapper/geo_json_reader.py | 27 | __all__ = ["GeoJsonReader"] | CODE |
| LOW | …core/formatMapper/shapefileParser/shape_file_reader.py | 29 | __all__ = ["ShapefileReader"] | CODE |
| LOW | python/sedona/core/enums/__init__.py | 27 | __all__ = ["FileDataSplitter", "GridType", "IndexType"] | CODE |
| LOW | python/sedona/core/SpatialRDD/__init__.py | 27 | __all__ = ["CircleRDD", "PolygonRDD", "PointRDD", "RectangleRDD"] | CODE |
| LOW | python/sedona/core/jvm/config.py | 27 | __all__ = ["is_greater_or_equal_version"] | CODE |
| LOW | python/sedona/core/geom/geography.py | 27 | __all__ = ["Geography"] | CODE |
| LOW | python/sedona/core/geom/circle.py | 27 | __all__ = ["Circle"] | CODE |
| LOW | python/sedona/core/geom/envelope.py | 27 | __all__ = ["Envelope"] | CODE |
| LOW | python/sedona/flink/__init__.py | 30 | __all__ = ["SedonaContext"] | CODE |
| LOW | python/sedona/utils/adapter.py | 27 | __all__ = ["Adapter"] | CODE |
| LOW | python/sedona/utils/spatial_rdd_parser.py | 27 | __all__ = ["GeoData"] | CODE |
| LOW | python/sedona/utils/structured_adapter/__init__.py | 28 | __all__ = [ | CODE |
| LOW | python/sedona/raster_utils/SedonaUtils.py | 26 | __all__ = ["SedonaUtils"] | CODE |
| LOW | python/sedona/register/__init__.py | 27 | __all__ = ["SedonaRegistrator"] | CODE |
| LOW | python/sedona/db/dbapi.py | 20 | __all__ = [ | CODE |
| LOW | python/sedona/db/__init__.py | 26 | __all__ = [ | CODE |
| LOW | python/sedona/db/testing.py | 20 | __all__ = [ | CODE |
| LOW | python/sedona/raster/data_buffer.py | 20 | __all__ = ["DataBuffer"] | CODE |
| LOW | python/sedona/raster/raster_serde.py | 20 | __all__ = ["RasterTypes", "deserialize"] | CODE |
| LOW | python/sedona/raster/sedona_raster.py | 24 | __all__ = ["GDAL_VERSION", "SedonaRaster", "InDbSedonaRaster"] | CODE |
| LOW | python/sedona/raster/sample_model.py | 26 | __all__ = [ | CODE |
| LOW | python/sedona/raster/awt_raster.py | 20 | __all__ = ["AWTRaster"] | CODE |
| LOW | python/sedona/raster/meta.py | 20 | __all__ = ["PixelAnchor", "AffineTransform", "SampleDimension"] | CODE |
| LOW | python/sedona/stats/hotspot_detection/getis_ord.py | 27 | __all__ = ["g_local"] | CODE |
| LOW | …n/sedona/stats/hotspot_detection/getis_ord/__init__.py | 28 | __all__ = ["g_local"] | CODE |
| LOW | python/sedona/stats/clustering/dbscan/__init__.py | 28 | __all__ = ["dbscan"] | CODE |
| LOW | python/sedona/stats/weighting/__init__.py | 32 | __all__ = [ | CODE |
| LOW | …ats/outlier_detection/local_outlier_factor/__init__.py | 30 | __all__ = ["local_outlier_factor"] | CODE |
| LOW | python/sedona/spark/core/__init__.py | 21 | __all__ = ["Envelope", "RangeQueryRaw"] | CODE |
| LOW | python/sedona/spark/core/formatMapper/__init__.py | 22 | __all__ = ["GeoJsonReader", "WktReader", "WkbReader"] | CODE |
| LOW | …na/spark/core/formatMapper/shapefileParser/__init__.py | 20 | __all__ = ["ShapefileReader"] | CODE |
| LOW | python/sedona/spark/core/enums/__init__.py | 23 | __all__ = ["FileDataSplitter", "GridType", "IndexType", "JoinBuildSide"] | CODE |
| LOW | python/sedona/spark/core/SpatialRDD/__init__.py | 24 | __all__ = [ | CODE |
| LOW | python/sedona/spark/core/spatialOperator/__init__.py | 24 | __all__ = ["JoinQuery", "RangeQuery", "KNNQuery", "JoinQueryRaw", "RangeQueryRaw"] | CODE |
| LOW | python/sedona/spark/geopandas/tools/__init__.py | 20 | __all__ = [ | CODE |
| LOW | python/sedona/spark/utils/__init__.py | 20 | __all__ = ["KryoSerializer", "SedonaKryoRegistrator"] | CODE |
| LOW | python/sedona/spark/geoarrow/__init__.py | 20 | __all__ = ["create_spatial_dataframe", "dataframe_to_arrow"] | CODE |
| LOW | python/sedona/spark/register/__init__.py | 20 | __all__ = ["SedonaRegistrator"] | CODE |
| LOW | python/sedona/spark/sql/st_aggregates.py | 159 | __all__ = [ | CODE |
| LOW | python/sedona/spark/sql/st_constructors.py | 749 | __all__ = [ | CODE |
| LOW | python/sedona/spark/sql/st_functions.py | 3050 | __all__ = [ | CODE |
| LOW | python/sedona/spark/sql/st_predicates.py | 284 | __all__ = [ | CODE |
| LOW | python/sedona/sql/types.py | 27 | __all__ = ["GeographyType", "GeometryType", "RasterType"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/sedonaspark.zh.md | 0 | select superhero.name from city, superhero where st_contains(city.geom, superhero.geom) and city.name = 'gotham' | STRING |
| HIGH | docs/sedonaspark.md | 0 | select superhero.name from city, superhero where st_contains(city.geom, superhero.geom) and city.name = 'gotham' | STRING |
| HIGH | docs-overrides/main.html | 0 | select superhero.name from city, superhero where st_contains(city.geom, superhero.geom) and city.name = 'gotham' | STRING |
| HIGH | …ala/org/apache/spark/sql/udf/TestScalarPandasUDF.scala | 0 | |from pyspark.sql.types import integertype |from shapely.geometry import point |from sedona.sql.types import geometrytyp | STRING |
| HIGH | …ala/org/apache/spark/sql/udf/TestScalarPandasUDF.scala | 0 | |from pyspark.sql.types import integertype |from shapely.geometry import point |from sedona.sql.types import geometrytyp | STRING |
| HIGH | …ala/org/apache/spark/sql/udf/TestScalarPandasUDF.scala | 0 | |from pyspark.sql.types import integertype |from shapely.geometry import point |from sedona.sql.types import geometrytyp | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …org/apache/sedona/common/raster/RasterEditorsTest.java | 4033 | // Step 3: Validate the results for each band | COMMENT |
| LOW | …apache/sedona/common/approximate/StraightSkeleton.java | 95 | // Step 1: Calculate centroid and envelope for normalization | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 107 | // Step 2: Normalize the polygon (center, scale, and optionally simplify by merging short | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 112 | // Step 3: Convert JTS polygon to campskeleton format | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 115 | // Step 4: Compute straight skeleton | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 125 | // Step 5: Extract skeleton edges from normalized coordinate system | COMMENT |
| LOW⚡ | …apache/sedona/common/approximate/StraightSkeleton.java | 133 | // Step 6: Transform skeleton edges back to original coordinate system | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/RasterEditors.java | 151 | // Step 1: Try GeoTools CRS.decode (handles EPSG:xxxx, AUTO:xxxx, etc.) | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/RasterEditors.java | 158 | // Step 2: Try GeoTools WKT parsing with longitude-first axis order (handles WKT1) | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/RasterEditors.java | 167 | // Step 3: Use proj4sedona (handles WKT2, PROJ, PROJJSON) | COMMENT |
| LOW | …ava/org/apache/sedona/common/raster/cog/CogWriter.java | 121 | // Step 1: Compute overview decimation factors | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/cog/CogWriter.java | 135 | // Step 2: Encode full-res → parse immediately | COMMENT |
| LOW⚡ | …ava/org/apache/sedona/common/raster/cog/CogWriter.java | 140 | // Step 3: For each overview level, generate → encode → parse. | COMMENT |
| LOW | …asources/geoparquet/internal/ParquetRowConverter.scala | 729 | // in case of schema evolution), we need to check if the repeated type matches one of the | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spark-version-converter.py | 60 | CODE | |
| LOW | python/sedona/spark/stac/collection_client.py | 116 | CODE | |
| LOW | python/sedona/spark/stac/collection_client.py | 284 | CODE | |
| LOW | python/sedona/spark/stac/collection_client.py | 498 | CODE | |
| LOW | python/sedona/spark/core/SpatialRDD/spatial_rdd.py | 475 | CODE | |
| LOW | python/sedona/spark/core/jvm/config.py | 33 | CODE | |
| LOW | python/sedona/spark/core/geom/shapely1/circle.py | 88 | CODE | |
| LOW | python/sedona/spark/core/geom/shapely2/circle.py | 67 | CODE | |
| LOW | python/sedona/spark/geopandas/io.py | 148 | CODE | |
| LOW | python/sedona/spark/geopandas/geodataframe.py | 263 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 3177 | CODE | |
| LOW | python/sedona/spark/utils/binary_parser.py | 171 | CODE | |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 177 | CODE | |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 206 | CODE | |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 532 | CODE | |
| LOW | python/sedona/spark/utils/meta.py | 90 | CODE | |
| LOW | python/sedona/spark/raster/raster_serde.py | 142 | CODE | |
| LOW | python/sedona/spark/raster/raster_serde.py | 191 | CODE | |
| LOW | python/sedona/spark/raster/raster_serde.py | 424 | CODE | |
| LOW | python/sedona/spark/raster/sedona_raster.py | 304 | CODE | |
| LOW | python/sedona/spark/raster/sample_model.py | 79 | CODE | |
| LOW | python/tests/maps/test_sedonapydeck.py | 184 | CODE | |
| LOW | python/tests/maps/test_sedonapydeck.py | 209 | CODE | |
| LOW | python/tests/raster/test_serde.py | 144 | CODE | |
| LOW | python/tests/sql/test_dataframe_api.py | 1658 | CODE | |
| LOW | python/tests/sql/test_dataframe_api.py | 1888 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/sedona/spark/stac/collection_client.py | 29 | Constructs the collection URL based on the provided base URL and optional collection ID. If the collection ID | STRING |
| HIGH | python/sedona/spark/stac/collection_client.py | 285 | Expands a simple date string to include the entire time period. This function takes a date string in o | STRING |
| HIGH | python/sedona/spark/stats/weighting.py | 38 | Annotates a dataframe with a weights column containing the other records within the threshold and their weight. The | STRING |
| HIGH | python/sedona/spark/stats/weighting.py | 91 | Annotates a dataframe with a weights column containing the other records within the threshold and their weight. Wei | STRING |
| HIGH | python/sedona/spark/stats/weighting.py | 146 | Annotates a dataframe with a weights column containing the other records within the threshold and their weight. Wei | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/tutorial/files/stac-sedona-spark.md | 315 | .with_basic_auth("your_api_key", "") | CODE |
| HIGH | docs/tutorial/files/stac-sedona-spark.md | 423 | * `username` (*str*): The username for authentication. For API keys, this is typically the API key itself. Example: `"yo | COMMENT |
| HIGH | docs/tutorial/files/stac-sedona-spark.zh.md | 315 | .with_basic_auth("your_api_key", "") | CODE |
| HIGH | docs/tutorial/files/stac-sedona-spark.zh.md | 423 | * `username` (*str*):用户名。对于 API key,此项通常就是 API key 本身。例如 `"your_api_key"`。 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/test-notebooks.sh | 50 | # Check if examples directory exists | COMMENT |
| LOW | docker/test-notebooks.sh | 100 | # Check if the Python file was created and has content | COMMENT |
| LOW | python/sedona/db/telemetry.py | 30 | # Check if telemetry is disabled | COMMENT |
| LOW | python/sedona/spark/geopandas/geoseries.py | 397 | # Set this to avoid error complaining that we don't have a groupby column. | COMMENT |
| LOW | python/sedona/spark/geopandas/tools/sjoin.py | 355 | # Check if on_attribute columns exist in both datasets. | COMMENT |
| LOW | python/tests/stac/test_collection_client.py | 221 | # Check if the file was created | COMMENT |
| LOW | python/tests/stac/test_collection_client.py | 356 | # Check if the file was created | COMMENT |
| LOW | python/tests/geopandas/test_geoseries.py | 1395 | # Check if GeoDataFrame works as well | COMMENT |
| LOW | scripts/pre-commit/check_makefiles_for_tabs.sh | 24 | # Check if the file exists and is a regular file | COMMENT |
| LOW | .github/workflows/r.yml | 145 | # Set SPARK_HOME to PySpark path | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker/test-notebooks.sh | 79 | # harness still passes in sandboxed CI environments without outbound | COMMENT |
| LOW⚡ | python/sedona/spark/geopandas/geodataframe.py | 356 | # No need to call set_geometry() here since it's already part of the df, just set the name. | COMMENT |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1588 | # Both sgpd and gpd implementations simply call the snap functions | COMMENT |
| LOW | python/tests/test_base.py | 43 | # This lets a caller override the value of SPARK_HOME to just use whatever | COMMENT |
| MEDIUM | R/R/spatial_queries.R | 25 | #' @param index_type Index to use to facilitate the KNN query. If NULL, then | COMMENT |
| MEDIUM | R/R/spatial_join_op.R | 33 | #' `query_window_rdd` to facilitate the join query. Can be either a grid type | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/sedona/spark/maps/SedonaPyDeck.py | 37 | CODE | |
| LOW | python/sedona/spark/maps/SedonaPyDeck.py | 116 | CODE | |
| LOW | python/sedona/spark/maps/SedonaPyDeck.py | 175 | CODE | |
| LOW | python/sedona/spark/core/jvm/config.py | 60 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 629 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 735 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1251 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1288 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1467 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1485 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1501 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1552 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1568 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1602 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 1699 | CODE | |
| LOW | python/sedona/spark/geopandas/geoseries.py | 2721 | CODE | |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 400 | CODE | |
| LOW | python/sedona/spark/utils/geometry_serde_general.py | 489 | CODE | |
| LOW | python/sedona/spark/stats/weighting.py | 25 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/sedona/db/telemetry.py | 49 | except Exception: # nosec B110 | CODE |
| LOW | python/sedona/db/telemetry.py | 55 | except Exception: # nosec B110 | CODE |
| MEDIUM | python/sedona/db/telemetry.py | 44 | def _send(): | CODE |
| LOW | python/sedona/spark/stac/collection_client.py | 375 | except Exception as e: | CODE |
| LOW | python/sedona/spark/stac/collection_client.py | 419 | except Exception as e: | CODE |
| LOW | python/sedona/spark/stac/collection_client.py | 459 | except Exception as e: | CODE |
| LOW | python/sedona/spark/core/jvm/config.py | 191 | except Exception: | CODE |
| LOW | python/sedona/spark/utils/geometry_serde.py | 132 | except Exception as e: | CODE |
| LOW | python/tests/spatial_rdd/test_spatial_rdd_writer.py | 66 | except Exception as e: | CODE |
| LOW | python/tests/core/test_spatial_rdd_from_disc.py | 37 | except Exception as e: | CODE |
| LOW | python/tests/geopandas/test_sjoin.py | 132 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | R/R/data_interface.R | 395 | #' been implementing readers as spark DataFrame sources, so you can use `spark_read_source` | COMMENT |
| MEDIUM | R/R/data_interface.R | 633 | #' been implementing writers as spark DataFrame sources, so you can use `spark_write_source` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tests/stac/test_auth.py | 174 | client.with_basic_auth("user@example.com", "p@ss!word#123") | CODE |
| LOW | …edona/sql/ogc/GeometryTypesAndFunctionsTestScala.scala | 102 | (113, "123 Main Street", "POINT(52 30)", "POLYGON((50 31, 54 31, 54 29, 50 29, 50 31) )"), | CODE |