{"library":"pygeotile","title":"pyGeoTile","description":"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). Version 1.0.6 is the latest, released intermittently.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install pygeotile"],"cli":null},"imports":["from pygeotile.tile import Tile","from pygeotile.point import Point","from pygeotile.tile import MercatorProjection"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pygeotile.tile import Tile\n\n# Convert WGS84 coordinates to TMS tile at zoom 15\ntile = Tile.for_latitude_longitude(latitude=47.376, longitude=8.548, zoom=15)\nprint('TMS tile:', tile.tms_x, tile.tms_y, tile.zoom)\n\n# Convert tile to Google (XYZ) coordinates\nprint('Google tile:', tile.google_x, tile.google_y)\n\n# Get bounding box of the tile\nbbox = tile.bounds\nprint('Bounding box:', bbox)","lang":"python","description":"Create a Tile from lat/lng and access TMS, Google coordinates, and bounds.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}