{"categories":[{"label":"GIS","url":"https://skillfed.io/packages/category/scientific-engineering-gis"}],"enrichment":{"capability":"Mercantile converts between geographic coordinates, Web Mercator tiles (XYZ), and quadkeys, and provides utilities to navigate tile hierarchies and generate GeoJSON tile shapes.","skillfed_tags":["geospatial","mapping","tiles"],"use_cases":["Convert geographic coordinates to tile indices for web map tile servers or slippy map implementations.","Generate GeoJSON representations of Web Mercator tiles for visualization or analysis.","Find which tiles intersect a bounding box or geographic region.","Navigate tile hierarchies to zoom in/out or find neighboring tiles.","Encode/decode quadkeys for tile identification in mapping APIs.","Build command-line tools for tile processing using the mercantile CLI."],"what_it_does":"Mercantile is a utility library for working with Web Mercator tiles\u2014the standard XYZ grid system used by web mapping platforms. It provides functions to convert between geographic coordinates (longitude/latitude), spherical Mercator coordinates, and tile indices at various zoom levels. It also handles quadkey encoding (Microsoft's tile naming scheme) and lets you traverse tile hierarchies by finding parent and child tiles.\n\nThe library is primarily used by GIS developers, map tile servers, and geospatial analysis tools. It includes both a Python API with named tuples for tiles and bounding boxes, and a command-line interface (via click) for batch operations like generating GeoJSON tile shapes or finding tiles that overlap a given region. The package has been stable since 2014 and sees consistent use in the geospatial ecosystem.","worth_installing":"Yes. Mercantile is a stable, well-maintained library with no known vulnerabilities, minimal dependencies, and a clear purpose. It's the standard choice for Web Mercator tile math in Python. Install it if you're working with tile-based maps or need to convert between geographic and tile coordinate systems."},"id":"mercantile","links":{"html":"https://skillfed.io/packages/mercantile","md":"https://skillfed.io/packages/mercantile.md","pypi":"https://pypi.org/project/mercantile/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-04-21","license_spdx":null,"license_treatment":"permissive","name":"mercantile","python_support":"unspecified","summary":"Web mercator XYZ tile utilities"},"popularity":{"monthly_downloads":2239491,"position":3193,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
