tessl install tessl/pypi-fiona@1.10.0Fiona reads and writes spatial data files
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.1x
Baseline
Agent success rate without this tile
80%
{
"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
}
]
}