Skip to content

Commit 166c91e

Browse files
Fix typos (#260)
* Fix typos * fix RTD --------- Co-authored-by: Martin Fleischmann <[email protected]>
1 parent eafeb3c commit 166c91e

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

contextily/tile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def _sm2ll(x, y):
567567
def _calculate_zoom(w, s, e, n):
568568
"""Automatically choose a zoom level given a desired number of tiles.
569569
570-
.. note:: all values are interpreted as latitude / longitutde.
570+
.. note:: all values are interpreted as latitude / longitude.
571571
572572
Parameters
573573
----------

notebooks/friends_cenpy_osmnx.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

notebooks/warping_guide.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# Warping tiles\n",
88
"\n",
9-
"Most basemap tiles provided through the web are expressed in the Web Mercator coordinate reference syste (`EPSG:3857`). However, often our data is not expressed in the same CRS. In those cases, we have two options if we want to plot them on top of a basemap: a) reproject our data to Web Mercator, or b) reproject (warp) the tiles to conform with our data. Which one is best depends on many things but mostly on the size of your own data. If you have a large and/or detailed dataset (e.g. high resolution polygons), reprojecting it might be expensive; if you have a small one, it might be the easiest as you can plot on top of the native tile. For the case where you don't want to transform your dataset, an alternative is to change the tiles to its CRS. In raster parlance, this is called \"warping\", and `contextily` can help you do that."
9+
"Most basemap tiles provided through the web are expressed in the Web Mercator coordinate reference system (`EPSG:3857`). However, often our data is not expressed in the same CRS. In those cases, we have two options if we want to plot them on top of a basemap: a) reproject our data to Web Mercator, or b) reproject (warp) the tiles to conform with our data. Which one is best depends on many things but mostly on the size of your own data. If you have a large and/or detailed dataset (e.g. high resolution polygons), reprojecting it might be expensive; if you have a small one, it might be the easiest as you can plot on top of the native tile. For the case where you don't want to transform your dataset, an alternative is to change the tiles to its CRS. In raster parlance, this is called \"warping\", and `contextily` can help you do that."
1010
]
1111
},
1212
{
@@ -135,7 +135,7 @@
135135
"cell_type": "markdown",
136136
"metadata": {},
137137
"source": [
138-
"The result here is a map expresed in Web Mercator."
138+
"The result here is a map expressed in Web Mercator."
139139
]
140140
},
141141
{
@@ -144,7 +144,7 @@
144144
"source": [
145145
"## Convert the tiles to your data's CRS\n",
146146
"\n",
147-
"The same journey can be travelled in the oposite direction by leaving your data untouched and warping the tiles coming from the web. To do this in `add_basemap`, all you have to do is express the CRS your data are in:"
147+
"The same journey can be travelled in the opposite direction by leaving your data untouched and warping the tiles coming from the web. To do this in `add_basemap`, all you have to do is express the CRS your data are in:"
148148
]
149149
},
150150
{

notebooks/working_with_local_files.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# Working with local files\n",
88
"\n",
9-
"At heart, `contextily` is a package to work with data from the web. Its main functionality allows you to access tilesets exposed through the popular XYZ format and include them in your workflow through `matplotlib`. However, a little hidden gem in the pacakge is also how it is useful to work with local files. For all this functionality, `contextily` relies on `rasterio` so, in the name of showing how a streamlined workflow could look like, we will switch back and forth between the two in this notebook. For good measure, we will also use `geopandas` as it'll show how they are all a family that works great together!"
9+
"At heart, `contextily` is a package to work with data from the web. Its main functionality allows you to access tilesets exposed through the popular XYZ format and include them in your workflow through `matplotlib`. However, a little hidden gem in the package is also how it is useful to work with local files. For all this functionality, `contextily` relies on `rasterio` so, in the name of showing how a streamlined workflow could look like, we will switch back and forth between the two in this notebook. For good measure, we will also use `geopandas` as it'll show how they are all a family that works great together!"
1010
]
1111
},
1212
{

readthedocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ python:
99
path: .
1010
conda:
1111
environment: docs/environment.yml
12-
formats: []
12+
formats: []
13+
sphinx:
14+
# Path to your Sphinx configuration file.
15+
configuration: docs/conf.py

0 commit comments

Comments
 (0)