{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"}],"enrichment":{"capability":"Generates static map images with geographic lines, markers, and polygons by fetching tiles from a map server and compositing them with Pillow.","skillfed_tags":["cartography","geospatial","image-generation"],"use_cases":["Generate a static map image showing a route or journey between two cities for embedding in a report or email.","Create a map with markers pinpointing store locations or event venues for a web page or printed flyer.","Visualize geographic data (e.g., sensor readings, delivery points) as an overlay on a map tile for batch processing.","Build a simple map preview for a travel or logistics application without deploying a full interactive mapping service.","Render a polygon boundary (e.g., a service area or administrative region) on a map tile for documentation or analysis."],"what_it_does":"StaticMap is a lightweight Python library for rendering geographic map images by compositing map tiles with drawn overlays. It fetches tiles from a tile server (defaulting to OpenStreetMap), then uses Pillow to composite lines, circle markers, polygons, and custom icon markers onto the base map. The library handles coordinate-to-pixel projection and tile fetching via requests, making it straightforward to generate static map images for web pages, reports, or batch processing without needing a full web mapping framework.\n\nYou create a StaticMap instance with desired dimensions, add geographic features (lines between coordinates, markers at points, filled polygons), and call render() to get a PIL Image object. The library is designed for simple, single-image use cases\u2014showing a route, marking locations, or visualizing geographic data as a PNG or other image format. It depends on Pillow for image manipulation and requests for HTTP tile fetching.","worth_installing":"Yes, if you need to generate simple static map images programmatically. Low install friction, no security vulnerabilities, and active maintenance make it a straightforward choice. Caveat: verify the license treatment before use in proprietary work, since the fact sheet does not confirm the Apache 2.0 claim. Not suitable if you need interactive maps or real-time map updates."},"id":"staticmap","links":{"html":"https://skillfed.io/packages/staticmap","md":"https://skillfed.io/packages/staticmap.md","pypi":"https://pypi.org/project/staticmap/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-08-01","license_spdx":null,"license_treatment":"unclear","name":"staticmap","python_support":"unspecified","summary":"A small, python-based library for creating map images with lines and markers."},"popularity":{"monthly_downloads":180201,"position":10150,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.7"}
