{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/6"}],"enrichment":{"capability":"topojson encodes spatial data into TopoJSON format, a compressed topology representation that reduces file size by eliminating coordinate redundancy and applying fixed-precision integer encoding and arc simplification.","skillfed_tags":["geospatial","data-compression","topology"],"use_cases":["Reduce GeoJSON file sizes for web map applications before serving to browsers","Compress spatial datasets for storage or archival while preserving topology","Simplify polygon boundaries in geographic data while keeping adjacent regions aligned","Convert shapely geometries to a compact format for data interchange or APIs","Prepare geographic data for interactive visualization with tools like Altair"],"what_it_does":"topojson is a Python library that converts spatial objects (geometries from shapely, GeoJSON, or GeoDataFrames) into TopoJSON format, a topology-aware encoding that dramatically reduces file size. It works by computing shared topology between features, encoding coordinates as fixed-precision integers, and optionally simplifying arcs using either Ramer\u2013Douglas\u2013Peucker or Visvalingam-Whyatt algorithms. The library depends on numpy for numerical operations, shapely for geometry handling, and packaging for version management.\n\nYou would use topojson when you need to compress geographic data for transmission, storage, or web visualization\u2014particularly when serving maps or spatial datasets over the network where bandwidth matters. It maintains topological relationships during simplification, so adjacent polygons remain properly aligned after reduction. The library is designed for developers working with geographic information systems, web mapping, or data visualization pipelines.","worth_installing":"Yes, if you work with geographic data and need file compression. The library is stable (BSD licensed, no known vulnerabilities), has low install friction, and solves a real problem in geospatial workflows. The aging maintenance status (388 days since last release) is a minor concern for new features but not a blocker for core functionality. Install if you're already using shapely and need TopoJSON output; skip if you don't work with spatial data."},"id":"topojson","links":{"html":"https://skillfed.io/packages/topojson","md":"https://skillfed.io/packages/topojson.md","pypi":"https://pypi.org/project/topojson/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-07-22","license_spdx":null,"license_treatment":"permissive","name":"topojson","python_support":"supports_current","summary":"topojson - a powerful library to encode geographic data as topology in Python!\ud83c\udf0d"},"popularity":{"monthly_downloads":177203,"position":10221,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.10"}
