<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sean Gillies (Posts about tiles)</title><link>https://sgillies.net/</link><description></description><atom:link href="https://sgillies.net/tags/tiles.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sun, 31 Dec 2023 01:26:20 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Mercantile 1.0.0</title><link>https://sgillies.net/2017/12/01/mercantile-1-0-0.html</link><dc:creator>Sean Gillies</dc:creator><description>&lt;p&gt;Mercantile, the module of web mercator XYZ tile utilities that I started at
Mapbox, is complete. Version 1.0.0 is on the Python Package Index today and can
be obtained using pip: &lt;code class="docutils literal"&gt;pip install &lt;span class="pre"&gt;-U&lt;/span&gt; mercantile&lt;/code&gt;, no &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;--pre&lt;/span&gt;&lt;/code&gt; option
necessary.  The latest and greatest documentation is at
&lt;a class="reference external" href="http://mercantile.readthedocs.io/en/latest/"&gt;http://mercantile.readthedocs.io/en/latest/&lt;/a&gt;. I expect to be making improvements
to the docs over the next few weeks. Please don't be shy about pointing out
what the docs lack.&lt;/p&gt;
&lt;p&gt;I'm super grateful for the help from Matthew Perry, Patrick M. Young, Amit
Kapadia, Damon Burgett, Stefano Costa, Jacob Wasserman, and Brendan Ward. Sam
Matthews doesn't appear in the git log, but helped me with the Sphinx layout.&lt;/p&gt;
&lt;p&gt;I'm fortunate to be able to work on open source projects at my job and proud of
Mapbox's continuing commitment to open source. Virtual confetti is being tossed
in Mapbox's main Slack channel this morning and I'm feeling good.&lt;/p&gt;</description><category>mapbox</category><category>python</category><category>tiles</category><category>web mercator</category><category>work</category><guid>https://sgillies.net/2017/12/01/mercantile-1-0-0.html</guid><pubDate>Fri, 01 Dec 2017 15:51:14 GMT</pubDate></item><item><title>Mercantile 1.0a1</title><link>https://sgillies.net/2017/11/16/mercantile-1-0a1.html</link><dc:creator>Sean Gillies</dc:creator><description>&lt;figure&gt;
&lt;img alt="https://c1.staticflickr.com/5/4565/37760733154_d9ced7e992_b.jpg" src="https://c1.staticflickr.com/5/4565/37760733154_d9ced7e992_b.jpg"&gt;
&lt;figcaption&gt;
&lt;p&gt;801 Main Street, Louisville, Colorado. Photo By Jeffrey Beall (Own work) [CC BY-SA 3.0
(&lt;a class="reference external" href="https://creativecommons.org/licenses/by-sa/3.0"&gt;https://creativecommons.org/licenses/by-sa/3.0&lt;/a&gt;)], via Wikimedia Commons&lt;/p&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;The Python module of web mercator tile utilities that I named &lt;a class="reference external" href="https://github.com/mapbox/mercantile"&gt;mercantile&lt;/a&gt; seems to be complete and so over the
next few weeks I will shepherd a few 1.0 pre-releases and then a final 1.0.0.
Any mercantile user who wants to help the cause can do this&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code console"&gt;&lt;a id="rest_code_4c5fc79920b846bdb1073bc77e7c470f-1" name="rest_code_4c5fc79920b846bdb1073bc77e7c470f-1" href="https://sgillies.net/2017/11/16/mercantile-1-0a1.html#rest_code_4c5fc79920b846bdb1073bc77e7c470f-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;pip install -U --pre mercantile&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;to get the new 1.0a1 release from PyPI and try it in new or existing projects.
I was tempted by attrs yesterday, but resisted, and so the 1.0a1 release is
just as stable and tested as 0.10 or 0.11, versions that my team uses the hell
out of at work.&lt;/p&gt;
&lt;p&gt;I've come late to the Read the Docs party, but am pretty much all in now.
Continuous documentation (as the RTD team puts it) seems to encourage users of
my projects to contribute to documentation more than ever. Mercantile's docs
are here: &lt;a class="reference external" href="http://mercantile.readthedocs.io/en/latest/"&gt;http://mercantile.readthedocs.io/en/latest/&lt;/a&gt;. They're rather basic and
boring, though there is one ASCII diagram at
&lt;a class="reference external" href="http://mercantile.readthedocs.io/en/latest/quickstart.html"&gt;http://mercantile.readthedocs.io/en/latest/quickstart.html&lt;/a&gt; that makes my
colleague Damon Burgett happy. Damon is the author of &lt;a class="reference external" href="https://github.com/mapbox/supermercado"&gt;Supermercado&lt;/a&gt;, which takes web mercator tile
manipulation to the next level, and a ASCII graphics wizard.&lt;/p&gt;
&lt;p&gt;The mercantile project is a workhorse, but has also been one where
I experimented and learned how to use tox, pytest, and how to publish wheels to
PyPI from Travis-CI. It's uncomplicated by C extensions or industry standards
and has been pretty fun to work on over the past few years.&lt;/p&gt;</description><category>python</category><category>tiles</category><category>web mercator</category><category>work</category><guid>https://sgillies.net/2017/11/16/mercantile-1-0a1.html</guid><pubDate>Fri, 17 Nov 2017 04:48:42 GMT</pubDate></item><item><title>Mercantile 0.11.0</title><link>https://sgillies.net/2017/10/18/mercantile-0-11-0.html</link><dc:creator>Sean Gillies</dc:creator><description>&lt;p&gt;As I mentioned the other day, my team is in Fort Collins this week for
a sprint. Damon Burgett and I were sitting together working yesterday and he
says, "I keep looking for the inverse of the xy function in mercantile, but
it's never there." It's true, the module is missing a function to convert web
mercator x and y to longitude and latitude. He wrote it, and some tests that
numbers round trip properly through &lt;code class="docutils literal"&gt;xy&lt;/code&gt; and &lt;code class="docutils literal"&gt;lnglat&lt;/code&gt;, then made a pull
request. I merged it, tagged it, pushed to GitHub. A minute later Travis-CI had
uploaded mercantile 0.11.0 to the Python package index and we were pulling it
back into our sprint work through an updated pip requirements file. I love how
frictionless Python development and packaging can be now.&lt;/p&gt;
&lt;p&gt;I've got limited time for Rasterio and GDAL issues this week. I can catch up
a bit in the evenings, but I must prioritize getting extra rest before
Saturday's race.  Apologies if I don't respond until Monday.&lt;/p&gt;</description><category>mapping</category><category>mercantile</category><category>mercator</category><category>python</category><category>tiles</category><category>work</category><guid>https://sgillies.net/2017/10/18/mercantile-0-11-0.html</guid><pubDate>Wed, 18 Oct 2017 13:32:11 GMT</pubDate></item></channel></rss>