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%
Build a tool that counts features and calculates property statistics from GIS vector data files using memory-efficient iteration.
@generates
def count_features(filepath: str) -> int:
"""
Count the total number of features in a GIS file.
Args:
filepath: Path to the GIS vector data file
Returns:
Total number of features
"""
pass
def calculate_property_sum(filepath: str, property_name: str) -> float:
"""
Calculate the sum of a numeric property across all features.
Args:
filepath: Path to the GIS vector data file
property_name: Name of the numeric property to sum
Returns:
Sum of the property values
"""
pass
def find_property_max(filepath: str, property_name: str) -> float:
"""
Find the maximum value of a numeric property across all features.
Args:
filepath: Path to the GIS vector data file
property_name: Name of the numeric property
Returns:
Maximum value of the property
"""
passProvides GIS vector data reading capabilities with efficient iteration support.