Skip to content

Commit fb63661

Browse files
committed
docs
1 parent 008b464 commit fb63661

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@ Note, Windows is not officially supported at this time.
4545
Windows users need to install [GDAL](http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal) and [rasterio](http://www.lfd.uci.edu/~gohlke/pythonlibs/#rasterio).
4646
Then `pip install 'mapbox-tilesets[estimate-area]'`
4747

48+
## Installing optional `estimate-cu` command
49+
50+
If you are using an x86 Mac or Linux machine, run:
51+
`pip install 'mapbox-tilesets[estimate-cu]'`
52+
53+
Otherwise, you will need to install some dependencies.
54+
55+
### arm64 MacOS
56+
57+
If you're on an arm64 Mac (e.g., with an M1 chip), you'll need to install [GDAL](https://gdal.org/) first. On Mac, a simple way is to use [Homebrew](https://brew.sh/):
58+
59+
```sh
60+
$ brew install gdal
61+
...
62+
$ pip install 'mapbox-tilesets[estimate-cu]'
63+
```
64+
65+
### Windows
66+
67+
Note, Windows is not officially supported at this time.
68+
69+
Windows users need to install [GDAL](http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal) and [rasterio](http://www.lfd.uci.edu/~gohlke/pythonlibs/#rasterio).
70+
Then `pip install 'mapbox-tilesets[estimate-cu]'`
71+
4872
## Mapbox Access Tokens
4973

5074
In order to use the tilesets endpoints, you need a Mapbox Access Token with `tilesets:write`, `tilesets:read`, and `tilesets:list` scopes. This is a secret token, so do not share it publicly!

0 commit comments

Comments
 (0)