Skip to content

Commit

Permalink
fix: rename doc names to kebab case
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Jacombs committed Nov 5, 2023
1 parent cd84cea commit f842044
Show file tree
Hide file tree
Showing 20 changed files with 15 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# COG Quality - Resampling with reprojecton and overview creation
# COG Quality

## Resampling with reprojecton and overview creation

creating COGs using a command very similar to

Expand Down Expand Up @@ -35,24 +37,24 @@ When creating COGs using the different resampling methods the output quality dif

Here are some overviews created using some of the different resampling methods:

![Resampling Quality](./images/quality__resampling-overview.webp)
![Resampling Quality](./static/quality__resampling-overview.webp)

### Lanczos

Provides quite a nice and crisp output

![Lanczos Overview](./images/quality__i6.lanczos.webp)
![Lanczos Overview](./static/quality__i6.lanczos.webp)

### Cubic
Creates weird artifacts around the edges

![Cubic Overview](./images/quality__i6.cubic.webp)
![Cubic Overview](./static/quality__i6.cubic.webp)

### Bilinear

looks blury

![Bilinear Overview](./images/quality__i6.bilinear.webp)
![Bilinear Overview](./static/quality__i6.bilinear.webp)


Using lanczos looks best for our overview creation.
Expand All @@ -67,13 +69,13 @@ Here are some higher resolution aerial imagery image 0 with different resampling

Creates a jaggeredness, look at the street markings and the edges of the buildings

![Lanczos](./images/quality__005_006_0_lanczos.webp)
![Lanczos](./static/quality__005_006_0_lanczos.webp)

### Bilinear

Creates a nice image

![Bilinear](./images/quality__005_006_0_bilinear.webp)
![Bilinear](./static/quality__005_006_0_bilinear.webp)


For our aerial imagery reprojection seems to be best done as bilinear, where as Overview creation seems to be best done as lanczos.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Further investigation should also be done on `OATiles-hint: empty` response head

LINZ has imagery datasets which are very sparse, with large empty areas between smaller sections of valid data, for example [Gisborne Urban 2022-2023](https://basemaps.linz.govt.nz/?i=gisborne-2022-2023-0.1m).

[![Gisborne 2023](./images/2023-06-26-gisborne-2023.png)](https://basemaps.linz.govt.nz/?i=gisborne-2022-2023-0.1m)
[![Gisborne 2023](./static/2023-06-26-gisborne-2023.png)](https://basemaps.linz.govt.nz/?i=gisborne-2022-2023-0.1m)

Even when providing a bounding box for the imagery, there is still a very large amount of empty space, which results in a large number of empty tiles being served.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ gdaldem color-relief -co COMPRESS=lzw -co TILED=yes -co NUM_THREADS=ALL_CPUS -of
Relief shading with vector tiles the only imagery operation is "overlay", if any `white` exists in the relief shade it lightens the image

Base Image:
![Aerial imagery](./images/relief__aerial.webp)
![Aerial imagery](./static/relief__aerial.webp)

gdaldem hillshade:
![Aerial imagery](./images/relief__base.webp)
![Aerial imagery](./static/relief__base.webp)


Using default color ramp applys whites
![Lighten](./images/relief__lighten.webp)
![Lighten](./static/relief__lighten.webp)

Custom color ramp which only applys the darken

Expand All @@ -53,4 +53,4 @@ nv 0 0 0 0

`nv` - No value or NO_DATA set full alpha

![Lighten](./images/relief__darken.webp)
![Lighten](./static/relief__darken.webp)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"entryPointStrategy": "packages",
"exclude": ["./packages/__tests__"],
"plugin": ["typedoc-plugin-markdown"],
"out": "./docs/Developer guide/API",
"out": "./docs/developer-guide/API",
"outputFileStrategy": "modules",
"readme": "none",
"githubPages": false
Expand Down

0 comments on commit f842044

Please sign in to comment.