{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"Encodes and decodes geographic coordinate sequences using Google's Encoded Polyline Algorithm Format, converting between (lat, lon) tuples and compressed polyline strings.","skillfed_tags":["geospatial","encoding","maps"],"use_cases":["Compress GPS route data for transmission to mapping APIs or storage in databases.","Decode polyline strings returned by Google Maps or other mapping services into coordinate lists.","Reduce payload size when sending coordinate sequences over HTTP in web or mobile applications.","Convert between coordinate formats (lat/lon vs. GeoJSON) for compatibility with different mapping libraries.","Encode walking or driving routes for display on interactive maps with minimal data transfer."],"what_it_does":"Polyline is a Python implementation of Google's Encoded Polyline Algorithm Format, a standard method for compressing sequences of latitude/longitude coordinates into a compact string representation. It converts between human-readable coordinate tuples and the compressed format used by mapping APIs, supporting both (lat, lon) and GeoJSON (lon, lat) coordinate orders. The package has no runtime dependencies and works with Python 3.8 and above.\n\nTypically used in mapping and geolocation applications to reduce bandwidth when transmitting routes, paths, or coordinate sequences over the network. You provide a list of coordinate pairs and a precision level, and the encoder produces a compressed string; the decoder reverses the process. The library is a port of Mapbox's polyline implementation with additional features, making it suitable for applications that need to serialize geographic data efficiently.","worth_installing":"Yes, if you need to work with Google's Encoded Polyline format. The package is lightweight, dependency-free, and widely used (top 5000 on PyPI). Maintenance is aging but the code is stable and no vulnerabilities are known. The MIT license is permissive. Install it if your application requires polyline encoding/decoding; skip it if you don't work with this specific format."},"id":"polyline","links":{"html":"https://skillfed.io/packages/polyline","md":"https://skillfed.io/packages/polyline.md","pypi":"https://pypi.org/project/polyline/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-12-02","license_spdx":null,"license_treatment":"unclear","name":"polyline","python_support":"supports_current","summary":"A Python implementation of Google's Encoded Polyline Algorithm Format."},"popularity":{"monthly_downloads":2499132,"position":3037,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.4"}
