Skip to content

Commit 0f3e3c7

Browse files
committed
move getting-started page
1 parent 78fb6d9 commit 0f3e3c7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ nav:
4141
- Dynamic Tiling: "dynamic_tiling.md"
4242
- TileMatrixSets: "tile_matrix_sets.md"
4343
- Output data format: "output_format.md"
44+
- Getting Started with TiTiler: "getting_started_with_titiler.md"
4445

4546
- Advanced User Guide:
4647
- Endpoints Factories: "advanced/endpoints_factories.md"
@@ -92,7 +93,6 @@ nav:
9293
- NumpyTile: "examples/notebooks/Working_with_NumpyTile.ipynb"
9394
- Algorithm: "examples/notebooks/Working_with_Algorithm.ipynb"
9495
- Statistics: "examples/notebooks/Working_with_Statistics.ipynb"
95-
- Getting Started with TiTiler: "examples/getting_started_with_titiler.md"
9696

9797
- API:
9898
- titiler.core:

docs/src/examples/getting_started_with_titiler.md renamed to docs/src/getting_started_with_titiler.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def read_index():
8888
```
8989
9090
> 💡 **Code Breakdown**:
91-
>
91+
>
9292
> - We create a FastAPI app and add CORS middleware to allow web maps to access our images
9393
> - The `TilerFactory()` creates all the endpoints needed for serving COG tiles
9494
> - We include those endpoints in our app with `app.include_router()`
@@ -102,7 +102,7 @@ uvicorn main:app --reload
102102
```
103103
You should see output similar to this:
104104
105-
![server logs](../img/server_logs.png)
105+
![server logs](img/server_logs.png)
106106
107107
> 💡 **The `--reload` flag** automatically restarts the server whenever you change your code - perfect for development!
108108
@@ -112,11 +112,11 @@ Open your browser and go to:
112112
113113
``` http://127.0.0.1:8000/ ``` - See your welcome message
114114
115-
![browser](../img/browser.png)
115+
![browser](img/browser.png)
116116
117117
``` http://127.0.0.1:8000/docs ``` - Explore the interactive API documentation. The `/docs` page is your mission control center. It shows all the endpoints TiTiler created for you and lets you test them directly in your browser:
118118
119-
![api docs](../img/api_docs.png)
119+
![api docs](img/api_docs.png)
120120
121121
## Visualizing Your Geospatial Data
122122
@@ -156,7 +156,7 @@ from rio_tiler.io import Reader
156156
import morecantile
157157
158158
# Web Mercator is the default tiling scheme for most web map clients
159-
WEB_MERCATOR_TMS = morecantile.tms.get("WebMercatorQuad")
159+
WEB_MERCATOR_TMS = morecantile.tms.get("WebMercatorQuad")
160160
161161
with Reader('/path/to/your/raster.tif', tms=WEB_MERCATOR_TMS) as src:
162162
bbox = src.get_geographic_bounds("epsg:4326")

0 commit comments

Comments
 (0)