CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fiona

Fiona reads and writes spatial data files

88

1.10x
Quality

Pending

Does it follow best practices?

Impact

88%

1.10x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses the Fiona package to read GeoJSON data and write it to multiple vector data formats (Shapefile, GeoPackage, and GeoJSONSeq). The focus is on proper usage of Fiona's API for opening files, reading features, creating output collections with appropriate schemas and drivers, and writing features while preserving geometry and attribute data.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Open input GeoJSON",
      "description": "Uses fiona.open() to open the input GeoJSON file in read mode ('r') and properly iterate through or access features",
      "max_score": 15
    },
    {
      "name": "Extract schema information",
      "description": "Correctly extracts or accesses the schema (geometry type and properties) and CRS from the input collection to use for output files",
      "max_score": 15
    },
    {
      "name": "Write to Shapefile",
      "description": "Uses fiona.open() with driver='ESRI Shapefile' (or 'Shapefile') and mode='w' to create a Shapefile output, specifying the correct schema and CRS",
      "max_score": 20
    },
    {
      "name": "Write to GeoPackage",
      "description": "Uses fiona.open() with driver='GPKG' (or 'GeoPackage') and mode='w' to create a GeoPackage output, specifying the correct schema and CRS",
      "max_score": 20
    },
    {
      "name": "Write to GeoJSONSeq",
      "description": "Uses fiona.open() with driver='GeoJSONSeq' and mode='w' to create a newline-delimited GeoJSON output, specifying the correct schema and CRS",
      "max_score": 20
    },
    {
      "name": "Write features correctly",
      "description": "Writes features to each output collection using the write() or writerecords() method, properly preserving geometry and properties from the input",
      "max_score": 10
    }
  ]
}

tile.json