This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
The following commit(s) were added to refs/heads/main by this push:
new f254975 Fix links to examples
f254975 is described below
commit f254975b5b401cc96fe7674f46f9e6530f62f146
Author: Gabriel Luthier <[email protected]>
AuthorDate: Thu Oct 2 15:27:49 2025 +0200
Fix links to examples
---
src/pages/documentation/additional-examples.mdx | 2 +-
src/pages/documentation/additional-examples/extrusion.mdx | 4 ++--
src/pages/documentation/additional-examples/geocoding.mdx | 2 +-
.../documentation/additional-examples/import-osm-into-postgis.mdx | 2 +-
.../additional-examples/serve-and-export-vector-tiles.mdx | 6 +++---
src/pages/documentation/developer-manual/ip-to-location.mdx | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/pages/documentation/additional-examples.mdx
b/src/pages/documentation/additional-examples.mdx
index 519a9cf..da370ed 100644
--- a/src/pages/documentation/additional-examples.mdx
+++ b/src/pages/documentation/additional-examples.mdx
@@ -6,7 +6,7 @@ title: Examples
# Examples
The examples will showcase the different uses of the Apache Baremaps toolkits.
To run the examples you need to clone or
[download](https://github.com/apache/incubator-baremaps/archive/refs/heads/main.zip)
the main
-repository in order to have access to the
[files](https://github.com/apache/incubator-baremaps/blob/main/additional-examples/)
that have been prepared for the examples.
+repository in order to have access to the
[files](https://github.com/apache/incubator-baremaps/blob/main/examples/) that
have been prepared for the examples.
```bash
git clone [email protected]:apache/incubator-baremaps.git
diff --git a/src/pages/documentation/additional-examples/extrusion.mdx
b/src/pages/documentation/additional-examples/extrusion.mdx
index 9a76748..8899a63 100644
--- a/src/pages/documentation/additional-examples/extrusion.mdx
+++ b/src/pages/documentation/additional-examples/extrusion.mdx
@@ -15,7 +15,7 @@ cd examples/extrusion
baremaps workflow execute --file workflow.json
```
-In the
[tileset.json](https://raw.githubusercontent.com/apache/incubator-baremaps/main/additional-examples/extrusion/tileset.json)
+In the
[tileset.json](https://raw.githubusercontent.com/apache/incubator-baremaps/main/examples/extrusion/tileset.json)
file, notice the SQL query associated with the building layer. Here, the
number of levels stored in OSM is multiplied by
3, which roughly corresponds to the height of a level in meters.
@@ -31,7 +31,7 @@ WHERE tags ? 'building'
```
This property is then used in
-the
[style.json](https://raw.githubusercontent.com/apache/incubator-baremaps/main/additional-examples/extrusion/style.json)
file to
+the
[style.json](https://raw.githubusercontent.com/apache/incubator-baremaps/main/examples/extrusion/style.json)
file to
extrude the buildings.
```json
diff --git a/src/pages/documentation/additional-examples/geocoding.mdx
b/src/pages/documentation/additional-examples/geocoding.mdx
index c06ce30..07b3e04 100644
--- a/src/pages/documentation/additional-examples/geocoding.mdx
+++ b/src/pages/documentation/additional-examples/geocoding.mdx
@@ -13,7 +13,7 @@ The data we will be using comes from
[Geonames](https://www.geonames.org).
## Generate the index
-The following
[workflow](https://raw.githubusercontent.com/apache/incubator-baremaps/main/additional-examples/geocoding/workflow.js)
will download the Geonames data, decompress it, and finally build the index.
+The following
[workflow](https://raw.githubusercontent.com/apache/incubator-baremaps/main/examples/geocoding/workflow.js)
will download the Geonames data, decompress it, and finally build the index.
```bash
cd examples/geocoding
diff --git
a/src/pages/documentation/additional-examples/import-osm-into-postgis.mdx
b/src/pages/documentation/additional-examples/import-osm-into-postgis.mdx
index 6551a82..e31d3d6 100644
--- a/src/pages/documentation/additional-examples/import-osm-into-postgis.mdx
+++ b/src/pages/documentation/additional-examples/import-osm-into-postgis.mdx
@@ -22,7 +22,7 @@ In this example we will use a tiny extract of OpenStreetMap
for [Liechtenstein](
## Importing OpenStreetMap Data
A workflow is a directed acyclic graph of steps executed by Baremaps.
-To download and import the sample OpenStreetMap data in Postgres, execute the
following
[workflow](https://raw.githubusercontent.com/apache/incubator-baremaps/main/additional-examples/openstreetmap/workflow.json).
+To download and import the sample OpenStreetMap data in Postgres, execute the
following
[workflow](https://raw.githubusercontent.com/apache/incubator-baremaps/main/examples/openstreetmap/workflow.json).
```bash
cd examples/openstreetmap
diff --git
a/src/pages/documentation/additional-examples/serve-and-export-vector-tiles.mdx
b/src/pages/documentation/additional-examples/serve-and-export-vector-tiles.mdx
index d6a79f5..0c8eec0 100644
---
a/src/pages/documentation/additional-examples/serve-and-export-vector-tiles.mdx
+++
b/src/pages/documentation/additional-examples/serve-and-export-vector-tiles.mdx
@@ -26,9 +26,9 @@ For convenience, we have prepared a `tileset.json` and a
`style.json` that corre
Each of these files are available in the main repository of Apache Baremaps
inside the examples' folder.
-- [For OpenStreetMap
data](https://github.com/apache/incubator-baremaps/blob/main/additional-examples/openstreetmap/)
-- [For contour lines
data](https://github.com/apache/incubator-baremaps/blob/main/additional-examples/contour/)
-- [For Natural Earth
data](https://github.com/apache/incubator-baremaps/blob/main/additional-examples/naturalearth/)
+- [For OpenStreetMap
data](https://github.com/apache/incubator-baremaps/blob/main/examples/openstreetmap/)
+- [For contour lines
data](https://github.com/apache/incubator-baremaps/blob/main/examples/contour/)
+- [For Natural Earth
data](https://github.com/apache/incubator-baremaps/blob/main/examples/naturalearth/)
First `cd` into one of the example directories that corresponds to the data
you inserted inside your PostGIS database.
Then let's preview and edit the map with the sample configuration files by
executing the following command in a terminal.
diff --git a/src/pages/documentation/developer-manual/ip-to-location.mdx
b/src/pages/documentation/developer-manual/ip-to-location.mdx
index ef13dff..85ae04d 100644
--- a/src/pages/documentation/developer-manual/ip-to-location.mdx
+++ b/src/pages/documentation/developer-manual/ip-to-location.mdx
@@ -37,7 +37,7 @@ The structure of the RIPE database should be applicable to
all the RIRs.
## Generating the IP to location database
-A workflow is a directed acyclic graph of steps executed by Baremaps. To
download and import the sample OSM data in Postgres, execute the following
[workflow](https://raw.githubusercontent.com/apache/incubator-baremaps/main/additional-examples/ip-to-location/workflow.js).
+A workflow is a directed acyclic graph of steps executed by Baremaps. To
download and import the sample OSM data in Postgres, execute the following
[workflow](https://raw.githubusercontent.com/apache/incubator-baremaps/main/examples/ip-to-location/workflow.js).
```bash
baremaps workflow execute --file examples/ip-to-location/workflow.js