A Python package for geospatial analysis and interactive mapping in a Jupyter environment.
{
"context": "Evaluates how well the solution uses leafmap to ingest polygon and point vectors, apply attribute-based styling with sensible defaults, and produce a named, shareable HTML map with legend support.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Map base",
"description": "Initializes a leafmap map widget (leafmap.Map or leafmap.foliumap.Map) as the canvas for all layers instead of custom HTML or non-leafmap constructs.",
"max_score": 10
},
{
"name": "Polygon ingest",
"description": "Loads the shapefile through leafmap helpers such as Map.add_shp or Map.add_vector with the polygons_path argument, rather than manual file parsing, and ensures polygons render on the map.",
"max_score": 20
},
{
"name": "Point ingest",
"description": "Adds GeoJSON point data using Map.add_geojson or Map.add_vector with the points_path input and an explicit layer_name for the points layer.",
"max_score": 10
},
{
"name": "Category styling",
"description": "Applies category-based fills for polygons via leafmap styling hooks (e.g., style or style_callback/style_function parameters on add_shp/add_vector) keyed by category_field and style_map, setting both fill color and outline weight/opacity.",
"max_score": 20
},
{
"name": "Fallback color",
"description": "Implements a default/fallback color within the leafmap style callback when a feature category is missing or not present in style_map.",
"max_score": 10
},
{
"name": "Layer naming & legend",
"description": "Provides descriptive layer_name values for both polygon and point layers and constructs a legend via Map.add_legend using entries derived from style_map.",
"max_score": 15
},
{
"name": "HTML export",
"description": "Writes the interactive map to the specified output_html path using leafmap’s export utilities (e.g., map.to_html or map.save) while returning the map object.",
"max_score": 15
}
]
}tessl i tessl/pypi-leafmap@0.52.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10