skillfed

pyGeoTile

Python package to handle tiles and points of different projections, in particular WGS 84 (Latitude, Longitude), Spherical Mercator (Meters), Pixel Pyramid and Tiles (TMS, Google, QuadTree)

pygeotile v1.0.6 93.7K downloads/30d#13,370 on PyPI102
Permissive license MIT Active released

What it is and what it does

pyGeoTile provides two main classes—Point and Tile—to handle conversions between geographic coordinate systems and tile representations commonly used in web mapping. Point objects work with latitude/longitude (WGS 84), Spherical Mercator meters (EPSG:900913), and pixel coordinates at various zoom levels. Tile objects represent map tiles in different schemes (TMS, Google Maps, QuadTree) and can be converted between them.

The package is lightweight with no runtime dependencies and is designed for developers working with web map tile systems, particularly those integrating with mapping libraries or tile servers. It handles the mathematical conversions that underpin systems like Google Maps and Bing Maps tile coordinates.

Use it for:

  • Convert pixel coordinates to latitude/longitude for interactive map applications
  • Transform between TMS and Google tile coordinates for tile server integration
  • Generate QuadTree keys for hierarchical tile indexing in spatial databases
  • Calculate Spherical Mercator coordinates for custom map projections
  • Build tile-based geographic lookup systems for web mapping services

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Converts between geographic coordinate systems (WGS 84 latitude/longitude, Spherical Mercator meters, pixel coordinates) and tile representations (TMS, Google, QuadTree) used in web mapping.

Yes, with conditions. The package solves a specific, well-defined problem (tile and coordinate conversion) with no dependencies and a permissive license. However, the last release was in 2018 and Python version support is unspecified—verify compatibility with your target Python version before relying on it in production. The active repository suggests maintenance is possible if issues arise.

Install

pygeotile on PyPI

pip

pip install pygeotile

uv

uv add pygeotile

poetry

poetry add pygeotile

Installing pyGeoTile

Before you install

High install friction: the package is distributed as a source tarball with no compiled dependencies listed, but has not been updated since 2018 despite an active repository. Maintenance status is marked active, though the gap between latest release (2018-03-08) and current date suggests limited ongoing development.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the original license notice.

Quickstart

from pygeotile.point import Point

meter_x, meter_y = -9757148.442088600, 5138517.444985110
point = Point.from_meters(meter_x=meter_x, meter_y=meter_y)
print(point.latitude_longitude)

Verify before relying

  • Whether the package works with modern Python versions (requires_python is unspecified in the fact sheet)
  • Whether the 2018 release date reflects genuine maintenance or stale metadata

Package facts

License MIT (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance actively maintained — 3,081 days since the last release
Last repo commit
First released
Downloads 93,683/month — #13,370 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyGeoTile-1.0.6.tar.gz

Tags

tile coordinate conversionmercator projection pythongeographic coordinate systemweb map tile handlinglat lon to tile coordinatesspherical mercator conversionmap tile utilities
geospatialmappingcoordinate-systems

More Scientific/Engineering packages