CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fiona

Fiona reads and writes spatial data files

88

1.10x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses Fiona's CRS (Coordinate Reference System) API to create CRS objects from different input formats (EPSG codes, PROJ strings, WKT strings) and convert them to various output formats. The focus is on proper usage of Fiona's CRS class and its methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "CRS.from_epsg() usage",
      "description": "Uses CRS.from_epsg() method to create CRS objects from EPSG code integers (e.g., CRS.from_epsg(4326))",
      "max_score": 20
    },
    {
      "name": "CRS.from_string() usage",
      "description": "Uses CRS.from_string() method to parse PROJ strings and WKT strings into CRS objects",
      "max_score": 20
    },
    {
      "name": "CRS to dict conversion",
      "description": "Correctly accesses the dictionary representation of a CRS object for PROJ JSON format output (e.g., using dict(crs) or crs.to_dict() if available, or directly accessing the CRS object as it is dictionary-like)",
      "max_score": 20
    },
    {
      "name": "CRS.to_wkt() method",
      "description": "Uses the to_wkt() method on CRS objects to convert coordinate reference systems to Well-Known Text format",
      "max_score": 20
    },
    {
      "name": "Handling multiple input types",
      "description": "Implements logic to detect and handle different CRS input types (integer for EPSG, string for PROJ/WKT) correctly using appropriate CRS creation methods",
      "max_score": 15
    },
    {
      "name": "Proper CRS import",
      "description": "Imports the CRS class from fiona.crs module (e.g., from fiona.crs import CRS)",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-fiona

tile.json