NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3604 most downloaded on PyPI
Web mercator XYZ tile utilities
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 13 months
Nearly every release is documented
notes for 32 of 32 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
37 releases · first in 2014
A missing comma in the __all__ list caused the neighbors and parent method to drop out of the module documentation ( #135 ).
A missing comma in the __all__ list caused the neighbors and parent method to drop out of the module documentation (#135).
Update version and tox.ini
Update version and tox.ini
One column per quarter.
There have been no changes since 1.2a1.
There have been no changes since 1.2a1.
Update readme and travis config
Update readme and travis config
Project infrastructure changes:
Deprecations and future warnings:
New features:
coords() function in mercantile/script/init.py to
_coords() in mercantile/init.py to support geojson_bounds (#119).geojson_bounds to get the bounding box of a GeoJSON geometry,
feature, or collection (#119).minmax to get minimum and maximum x and y tile coordinates.neighbors function and command to get adjacent tiles (#118).In some cases tile() could return a Tile with float x or y attributes (#115). This is a new bug in 1.1.5 and breaks some user code on Python 2.7 and i
A bug in simplify() has been fixed and the algorithm has been improved (#111).
simplify() has been fixed and the algorithm has been improved
(#111).tile() has been simplified and corrected (#114).Change a list comprehension to a generator expression
Change a list comprehension to a generator expression
Fix division on python 2.7
Fix division on python 2.7
User == @token
User == @token
feature() function (#85).tiles() now yields exactly that tile
only (given the correct zoom), resolving #84 and #87.Update tests to work with pytest 5.
A zoom keyword argument has been added to both children() and parent(), allowing the user to specify the zoom level for each (#94).
children() and
parent(), allowing the user to specify the zoom level for each (#94).simplify() function merges child to parent tiles, upwards,
producing the shortest sequence of tiles that cover the same space (#94).Added missing docstrings (#80).
Support a single zoom value passed to tiles() as advertised (#78).
tiles() as advertised (#78).The xy function returns float(inf) and float(-inf) for y at the North and South pole, respectively, instead of raising an exception (#76).
xy function returns float(inf) and float(-inf) for y at the
North and South pole, respectively, instead of raising an exception (#76).Corrected an error in the bbox parameter description in the bounding_tile docstring (#73).
bbox parameter description in the
bounding_tile docstring (#73).mercantile shapes --collect (#71, #72).--version option to mercantile command.Thanks to all contributors (see AUTHORS.txt), users, and testers, Mercantile 1.0.0 is ready. Share and enjoy!
Thanks to all contributors (see AUTHORS.txt), users, and testers, Mercantile 1.0.0 is ready. Share and enjoy!
Add tiles to __all__ and sort that list. This sorts the classes and functions in the API docs.
tiles to __all__ and sort that list. This sorts the classes
and functions in the API docs.Documentation: overhauled API reference docs based on output of sphinx-apidoc.
New feature: the feature function returns a GeoJSON feature for a tile (#46).
feature function returns a GeoJSON feature for a tile
(#46).New feature: the lnglat function is the inverse of xy (#62).
lnglat function is the inverse of xy (#62).API change: InvalidLatitudeError is raised by tile when Y cannot be computed.
InvalidLatitudeError is raised by tile when Y cannot be
computed.xy_bounds to get Spherical Mercator bounds for tile (#60).Bbox class with left, bottom, top, right
properties (#60).tiles from returning tiles with invalid indexes (#47).Refactoring: new normalize_input and iter_lines functions for use in the CLI (#58).
normalize_input and iter_lines functions for
use in the CLI (#58).try/except blocks have been removed from within
CLI subcommands, sys.exit calls are removed, and sys.stdout.write
calls have been replaced by click.echo (#58).Fix error in lng/lat truncation. If lat was > 90, the *lng* was set to a wrong value.
Split antimeridian crossing bounds in tiles() (#40).
Emulate JS >>> operator so we get same results as tilebelt (#36).
Streamlining of sequence related options (#35).
Make lng/lat truncation optional and off by default (#29).
Add customization of output shape properties (#30).
Guard against lng/lat values off the globe (#27).
Add bounding_tile function and tests (#25).
Let mercantile tiles accept point input as well as bbox or GeojSON.
Add mercantile parent and children commands (#17).
Add option for RS-deliminted JSON sequences.
Add mercator output option for shapes (#9).
Feature collections as option for shapes command.
- Added tile() function (#2). - Add mercantile script (#3). - Added shapes command (#6).
Added mercantile.tool script for use with geojsonio-cli.
Your coding agent can read these notes before it upgrades. Set up the MCP server →