You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASING.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
This is a checklist for releasing a new version of **titiler**.
4
4
5
5
1. Determine the next version
6
+
6
7
We currently do not have published versioning guidelines. We usually use `minor` version update when pushing breaking changes and `patch` for every other updates
8
+
7
9
2. Create a release branch named `release/vX.Y.Z`, where `X.Y.Z` is the new version
8
10
3. Search and replace all instances of the current version number with the new version
9
11
@@ -16,7 +18,10 @@ This is a checklist for releasing a new version of **titiler**.
16
18
5. Update [CHANGES.md](./CHANGES.md) for the new version
17
19
6. Push your release branch, create a PR, and get approval
18
20
7. Once the PR is merged, create a new (annotated, signed) tag on the appropriate commit
21
+
19
22
Name the tag `X.Y.Z`, and include `vX.Y.Z` as its annotation message
23
+
20
24
8. Push your tag to Github, which will kick off the publishing workflow
21
25
9. Create a [new release](https://github.com/stac-utils/stac-fastapi/releases/new) targeting the new tag, and use the "Generate release notes" feature to populate the description.
Copy file name to clipboardExpand all lines: SECURITY.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
## Reporting a Vulnerability
4
4
5
-
If there are any vulnerabilities in `titiler`, don't hesitate to _report them_.
5
+
If you find any vulnerabilities in `titiler`, don't hesitate to _report them_.
6
6
7
-
1. Use Github's security reporting tools.
7
+
1. Use GitHub's security reporting tools.
8
8
9
9
see https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability
Copy file name to clipboardExpand all lines: deployment/azure/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
TiTiler is built on top of [FastAPI](https://github.com/tiangolo/fastapi), a modern, fast, Python web framework for building APIs. We can make our FastAPI application work as an Azure Function by wrapping it within the [Azure Function Python worker](https://github.com/Azure/azure-functions-python-worker).
4
4
5
-
If you are not familiar with **Azure functions** we recommend checking https://docs.microsoft.com/en-us/azure/azure-functions/ first.
5
+
If you are not familiar with **Azure functions**, we recommend checking https://docs.microsoft.com/en-us/azure/azure-functions/ first.
Copy file name to clipboardExpand all lines: docs/src/user_guide/algorithms.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ This base class defines that algorithm:
90
90
91
91
- can have`parameters` (enabled by `extra = "allow"` pydantic config)
92
92
93
-
Here is a simple example of a custom Algorithm:
93
+
Here is a simple example of a custom algorithm:
94
94
95
95
```python
96
96
from titiler.core.algorithm import BaseAlgorithm
@@ -121,7 +121,7 @@ class Multiply(BaseAlgorithm):
121
121
122
122
Using a Pydantic's `BaseModel` class to construct the custom algorithm enables two things **parametrization** and **type casting/validation**.
123
123
124
-
If we look at the `Multiply` algorithm, we can see it needs a `factor` parameter. In Titiler (in the post_process dependency) we will pass this parameter via query string (e.g `/preview.png?algo=multiply&algo_parameter={"factor":3}`) and pydantic will make sure we use the right types/values.
124
+
If we look at the `Multiply` algorithm, we can see it needs a `factor` parameter. In TiTiler (in the post_process dependency) we will pass this parameter via query string (e.g `/preview.png?algo=multiply&algo_parameter={"factor":3}`) and pydantic will make sure we use the right types/values.
125
125
126
126
```python
127
127
# Available algorithm
@@ -143,7 +143,7 @@ def post_process_dependency(
143
143
144
144
## Dependency
145
145
146
-
To be able to use your own algorithm in titiler's endpoint you need to create a `Dependency` to tell the application what algorithm are available.
146
+
To be able to use your own algorithm in TiTiler's endpoint, you need to create a `Dependency` to tell the application which algorithms are available.
147
147
148
148
To ease the dependency creation, we added a `dependency` property in the `titiler.core.algorithm.Algorithms` class, which will return a FastAPI dependency to be added to the endpoints.
Copy file name to clipboardExpand all lines: docs/src/user_guide/dynamic_tiling.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@
5
5
6
6
TiTiler's first goal is to create a lightweight but performant dynamic tile server... but what do we mean by this?
7
7
8
-
When you zoom/pan on a web map, you are visualizing either vector or raster data that is loaded by your web client (e.g Chrome). Vector Tiles are rendered **On the Fly**, meaning the map library (e.g MapboxGL) will apply styling on the vector it receives to create a visual representation on the map. This is possible because vector data can be encoded and compressed very efficiently and result in each tile being only couple of kilo octets.
8
+
When you zoom/pan on a web map, you are visualizing either vector or raster data that is loaded by your web client (e.g Chrome). Vector Tiles are rendered **On the Fly**, meaning the map library (e.g Mapbox GL-JS) will apply the styling on the vector it receives to create a visual representation on the map. This is possible because vector data can be encoded and compressed very efficiently and result in each tile being only a couple of kilo octets.
9
9
10
-
On the other side, raster data is a really dense format, a `256 x 256 x 3` tile (True color image) needs to encode `196 608` values, and depending on the data type (Integer, Float, Complex), a raster tile can be really heavy. Depending on the dataset data type, some operations might be needed in order to obtain a visual representation (e.g. rescaling, colormap, ... ). Map library will almost only accept Uint8 RGB(A) tile encoded as PNG, JPEG or Webp.
10
+
On the other side, raster data is a really dense format, a `256 x 256 x 3` tile (True color image) needs to encode `196 608` values, and depending on the data type (Integer, Float, Complex), a raster tile can be really heavy. Depending on the dataset data type, some operations might be needed in order to obtain a visual representation (e.g. rescaling, colormap, ... ). The map library will almost only accept Uint8 RGB(A) tile encoded as PNG, JPEG or Webp.
11
11
12
12
## **Static tiling**
13
13
@@ -68,9 +68,9 @@ The goal of the `Dynamic Tiling` process is to get rid of all the pre-processing
68
68
69
69
## Summary
70
70
71
-
With `Static` tile generation you are often limited because you are visualizing data that is fixed and stored somewhere on a disk. With `Dynamic tiling`, users have the possibility to apply their own choice of processing (e.g rescaling, masking) before creating the `image`.
71
+
With `Static` tile generation, you are often limited because you are visualizing data that is fixed and stored somewhere on a disk. With `Dynamic tiling`, users have the possibility to apply their own choice of processing (e.g rescaling, masking) before creating the `image`.
72
72
73
-
Static tiling will always be faster than dynamic tiling, but a cache layer can be set up in front of the dynamic tiler, but using a dynamic tiler often means that same tile won't be serve twice (because users can set multiple options).
73
+
Static tiling will always be faster to load than dynamic tiling, but a cache layer can be set up in front of the dynamic tiler. Using a dynamic tiler often means that the same tile won't be served twice (because users can set multiple options).
Copy file name to clipboardExpand all lines: docs/src/user_guide/getting_started.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ In the past, putting maps on websites was a real pain. Developers had to use bul
6
6
7
7
## Dynamic vs. Static Tiles: What's the Difference?
8
8
9
-
Static tiles are like pre-printed map pieces stored in folders. Once created, they're locked—changing anything means starting over. They use lots of storage but load quickly.
9
+
Static tiles are like pre-printed map pieces stored in folders. Once created, they're locked—changing anything means starting over. They use lots of storage, but load quickly.
10
10
11
-
TiTiler's dynamic tiles work like a chef cooking to order. When someone views your map, TiTiler grabs just the data needed and creates tiles on the spot. This lets you instantly change colors, adjust contrast, or highlight different features. Your map becomes flexible and responsive, adapting to what users need right now rather than being stuck with choices made earlier.
11
+
TiTiler's dynamic tiles work like a chef cooking to order. When someone views your map, TiTiler grabs just the data needed and creates tiles on the spot. This lets you instantly change colors, adjust contrast, or highlight different features. Your map becomes flexible and responsive, adapting to what users need right now, rather than being stuck with choices made earlier.
12
12
13
13
More on [Dynamic Tiling](dynamic_tiling.md)
14
14
@@ -102,7 +102,7 @@ Run the following command to start the server:
Copy file name to clipboardExpand all lines: docs/src/user_guide/output_format.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
`TiTiler` supports the common output format for map tiles: JPEG, PNG and WEBP.
3
3
4
4
While some formats (e.g PNG) are able to encode Uint16 or Float datatypes, most web browsers only supports 8 bit data (meaning that it has to be between 0 and 255).
5
-
It's on the user to know what datatype is the input source (COG), and what kind of `post processing`there is to do to create a valid web map tile.
5
+
It's on the user to know what datatype is the input source (COG), and what kind of `post processing` is required to create a valid web map tile.
6
6
7
7
`TiTiler` also has support for more complex output data formats, such as JPEG2000 or GeoTIFF. While it might not be useful for FrontEnd display (most browsers can't decode GeoTIFF natively), some users could want to transmit the data as `raw` values to some applications (non-web display).
0 commit comments