Skip to content

Commit 62b9438

Browse files
committed
PB-1907: change url paths
1 parent bd81696 commit 62b9438

32 files changed

Lines changed: 106 additions & 106 deletions

.vitepress/config.mts

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineConfig({
4444
{
4545
text: 'Get Started',
4646
collapsed: false,
47-
items: [{ text: 'Overview', link: '/docs/overview' }],
47+
items: [{ text: 'Overview', link: '/get-started/overview' }],
4848
},
4949
{
5050
text: 'Explore Data',
@@ -138,10 +138,10 @@ function loadReleasesSidebarData() {
138138

139139
function exploreDataItems(): DefaultTheme.SidebarItem[] {
140140
return [
141-
{ text: 'Get Layer Metadata', link: '/docs/get-layer-metadata' },
142-
{ text: 'Get Layer Attributes', link: '/docs/get-layer-attributes' },
143-
{ text: 'Get Layer Attribute Values', link: '/docs/get-layer-attribute-values' },
144-
{ text: 'Get Layer Legend', link: '/docs/get-layer-legend' },
141+
{ text: 'Get Layer Metadata', link: '/explore-data/get-layer-metadata' },
142+
{ text: 'Get Layer Attributes', link: '/explore-data/get-layer-attributes' },
143+
{ text: 'Get Layer Attribute Values', link: '/explore-data/get-layer-attribute-values' },
144+
{ text: 'Get Layer Legend', link: '/explore-data/get-layer-legend' },
145145
]
146146
}
147147

@@ -152,46 +152,46 @@ function accessDataItems(): DefaultTheme.SidebarItem[] {
152152
items: [
153153
{
154154
text: 'Identify Features',
155-
link: '/docs/identify-features',
155+
link: '/access-data/identify-features',
156156
},
157-
{ text: 'Find Features', link: '/docs/find-features' },
158-
{ text: 'Get Features', link: '/docs/get-features' },
157+
{ text: 'Find Features', link: '/access-data/find-features' },
158+
{ text: 'Get Features', link: '/access-data/get-features' },
159159
{
160160
text: 'Get HTML Popup',
161-
link: '/docs/get-html-popup',
161+
link: '/access-data/get-html-popup',
162162
},
163163
],
164164
},
165165
{
166166
text: 'Search',
167-
link: '/docs/search',
167+
link: '/access-data/search',
168168
},
169169
{
170170
text: 'Elevation Data',
171171
items: [
172-
{ text: 'Get Point Height', link: '/docs/get-point-height' },
173-
{ text: 'Get Elevation Profile', link: '/docs/get-elevation-profile' },
172+
{ text: 'Get Point Height', link: '/access-data/get-point-height' },
173+
{ text: 'Get Elevation Profile', link: '/access-data/get-elevation-profile' },
174174
],
175175
},
176176
]
177177
}
178178

179179
function visualizeDataItems(): DefaultTheme.SidebarItem[] {
180180
return [
181-
{ text: 'WMS', link: '/docs/wms' },
182-
{ text: 'WMTS', link: '/docs/wmts' },
183-
{ text: 'XYZ', link: '/docs/xyz' },
181+
{ text: 'WMS', link: '/visualize-data/wms' },
182+
{ text: 'WMTS', link: '/visualize-data/wmts' },
183+
{ text: 'XYZ', link: '/visualize-data/xyz' },
184184
{
185185
text: 'Vector Tiles',
186-
link: '/docs/vector-tiles',
186+
link: '/visualize-data/vector-tiles',
187187
},
188188
{
189189
text: 'Terrain Service',
190-
link: '/docs/terrain-service',
190+
link: '/visualize-data/terrain-service',
191191
},
192192
{
193193
text: '3D Tiles',
194-
link: '/docs/3d-tiles',
194+
link: '/visualize-data/3d-tiles',
195195
},
196196
]
197197
}
@@ -201,17 +201,17 @@ function downloadDataItems(): DefaultTheme.SidebarItem[] {
201201
{
202202
text: 'STAC API',
203203
items: [
204-
{ text: 'Overview', link: '/docs/stac-api/overview' },
205-
{ text: 'Authentication', link: '/docs/stac-api/authentication' },
206-
{ text: 'Asset Upload', link: '/docs/stac-api/asset-upload' },
207-
{ text: 'Compression', link: '/docs/stac-api/compression' },
204+
{ text: 'Overview', link: '/download-data/stac-api/overview' },
205+
{ text: 'Authentication', link: '/download-data/stac-api/authentication' },
206+
{ text: 'Asset Upload', link: '/download-data/stac-api/asset-upload' },
207+
{ text: 'Compression', link: '/download-data/stac-api/compression' },
208208
{
209209
text: 'Supported Media Types',
210-
link: '/docs/stac-api/supported-media',
210+
link: '/download-data/stac-api/supported-media',
211211
},
212-
{ text: 'Caching', link: '/docs/stac-api/caching' },
213-
{ text: 'Item Expiration', link: '/docs/stac-api/item-expiration' },
214-
{ text: 'Migrate v0.9 to v1', link: '/docs/stac-api/migrate09-10' },
212+
{ text: 'Caching', link: '/download-data/stac-api/caching' },
213+
{ text: 'Item Expiration', link: '/download-data/stac-api/item-expiration' },
214+
{ text: 'Migrate v0.9 to v1', link: '/download-data/stac-api/migrate09-10' },
215215
{
216216
text: 'API Specs',
217217
link: 'https://data.geo.admin.ch/api/stac/static/spec/v1/api.html',
@@ -223,11 +223,11 @@ function downloadDataItems(): DefaultTheme.SidebarItem[] {
223223

224224
function mapViewerItems(): DefaultTheme.SidebarItem[] {
225225
return [
226-
{ text: 'Embed in an iframe', link: '/docs/embed-in-an-iframe' },
227-
{ text: 'URL Parameters', link: '/docs/url-parameters' },
226+
{ text: 'Embed in an iframe', link: '/map-viewer/embed-in-an-iframe' },
227+
{ text: 'URL Parameters', link: '/map-viewer/url-parameters' },
228228
{
229229
text: 'Javascript API',
230-
link: '/docs/javascript-api',
230+
link: '/map-viewer/javascript-api',
231231
},
232232
]
233233
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This endpoint only has query parameters that modify the behavior of the request,
2121
| **returnGeometry (optional)** | This parameter defines whether the geometry is returned or not. Default to "true". |
2222
| **sr (optional)** | The spatial reference. Supported values: 21781 (LV03), 2056 (LV95), 4326 (WGS84) and 3857 (Web Pseudo-Mercator). Defaults to "21781". |
2323
| **lang (optional)** | The language. Supported values: de, fr, it , rm, en. Defaults to "de". |
24-
| **layerDefs (optional)** | Filter features with an expression (see [identify features](/docs/identify-features##layerdefs-syntax)) Syntax: <span class="title-ref">{ "\<layerId\>" : "\<layerDef1\>"}</span> |
24+
| **layerDefs (optional)** | Filter features with an expression (see [identify features](/access-data/identify-features##layerdefs-syntax)) Syntax: <span class="title-ref">{ "\<layerId\>" : "\<layerDef1\>"}</span> |
2525
| **callback (optional)** | The name of the callback function. |
2626

2727
## Examples
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Regarding the format of the `layerDefs` parameter:
6767

6868
- Use a JSON-like format: `{"<layername>":"<filter_expression>"}`.
6969
- The `<filter_expression` is defined in the form `<attribute><operator><value>` where
70-
- `<attribute>` must be one of the queryable attributes listed by the [layer attribute endpoint](/docs/get-layer-attributes).
70+
- `<attribute>` must be one of the queryable attributes listed by the [layer attribute endpoint](/explore-data/get-layer-attributes).
7171
- `<operator>` must be one of the following options:
7272

7373
| **Operator** | **Operators** | **Examples** |
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following sections describe each step in detail, including how to set up a r
1414

1515
:::tip IMPORTANT NOTES
1616

17-
- POST/PUT requests require [authentication](/docs/stac-api/authentication).
17+
- POST/PUT requests require [authentication](/download-data/stac-api/authentication).
1818
:::
1919

2020
## File Splitting
@@ -23,7 +23,7 @@ Files smaller than 5 GB can be uploaded as a single part; however, you must stil
2323

2424
If the file exceeds 5 GB, it must be split into multiple parts. Each part must be at least 5 MB in size - except for the final part- and no part can be larger than 5 GB. Uploads that do not follow these size constraints will fail.
2525

26-
Additionally, files larger than 10 MB should be compressed before uploading; see [Compression](/docs/stac-api/compression) for guidance.
26+
Additionally, files larger than 10 MB should be compressed before uploading; see [Compression](/download-data/stac-api/compression) for guidance.
2727

2828
## Basic Steps
2929

File renamed without changes.

0 commit comments

Comments
 (0)