Fiona reads and writes spatial data files
88
{
"context": "This criteria evaluates how well the engineer uses Fiona's iterator-based feature streaming capabilities to efficiently process GIS vector data without loading all features into memory at once.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses fiona.open()",
"description": "Opens GIS files using fiona.open() to access the Collection object, which is the main entry point for reading vector data",
"max_score": 20
},
{
"name": "Iterator protocol usage",
"description": "Iterates over features using the Collection's iterator protocol (e.g., 'for feature in collection') rather than loading all features into a list at once",
"max_score": 30
},
{
"name": "Context manager pattern",
"description": "Uses fiona.open() as a context manager (with statement) to ensure proper resource cleanup and file handle management",
"max_score": 20
},
{
"name": "Feature data access",
"description": "Correctly accesses feature properties from the feature dictionary (e.g., feature['properties'][property_name]) to extract attribute values",
"max_score": 20
},
{
"name": "Memory efficiency",
"description": "Implementation processes features one at a time through iteration without accumulating all features in memory (no intermediate list/array of all features)",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-fionadocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10