Skip to content

Commit c649774

Browse files
authored
Add OGC Features Filters tutorial (#13)
* Add OGC Features filtering tutorial * Update links
1 parent 39d73f6 commit c649774

35 files changed

Lines changed: 1011 additions & 21 deletions

‎.gitignore‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
workshop/content/site
2-
.vs/
3-
# /notes.txt
4-
workshop/exercises/postgis-data
5-
notes.ignore
1+
workshop/content/site
2+
.vs/
3+
# /notes.txt
4+
workshop/exercises/postgis-data
5+
notes.ignore
6+
/workshop/exercises/mapfiles/tmp/*
7+
!/workshop/exercises/mapfiles/tmp/.gitkeep

‎docker/ReadMe.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ docker pull geographika/mapserver-workshop:latest
4747
# docker stop mapserver-workshop
4848
# docker rm mapserver-workshop
4949
docker run -it --name mapserver-workshop geographika/mapserver-workshop:latest bash
50-
docker start mapserver-workshop
51-
docker exec -it mapserver-workshop bash
5250
# mapserv -v
51+
# docker start mapserver-workshop
52+
# docker exec -it mapserver-workshop bash
5353
```
5454

5555
## Build the Demo Image
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
3+
```bash
4+
docker exec -it mapserver /bin/bash
5+
map2img -m direction.map -o direction.png
6+
7+
map2img -m direction.map -e -1133569.01 6841714.56 -1133466.97 6841780.95 -l "raster flow" -o direction.png
8+
```

‎workshop/content/docs/advanced/gdalg.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
MapServer can dynamically run a [GDAL Vector Pipeline](https://gdal.org/en/latest/programs/gdal_vector_pipeline.html), and render its output -
66
all through a simple Mapfile.
77

8-
In this workshop we'll use the Tartu roads dataset used in the [Line Styling](../mapfile/lines.md) exercise, dynamically
8+
In this workshop we'll use the Tartu roads dataset used in the [Line Styling](/mapfile/lines/) exercise, dynamically
99
buffer it using GDAL, and display the result in OpenLayers using a MapServer WMS.
1010

1111
This is a simple example of a pipeline, but additional steps can be chained together to create more complex workflows.

‎workshop/content/docs/advanced/other-projections.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const wmsLayer = new ImageLayer({
189189

190190
!!! note
191191

192-
OpenLayers does not natively support WCS. In this example we use the same approach as in the [Web Coverage Services (WCS)](../outputs/wcs.md) tutorial for testing the WCS protocol.
192+
OpenLayers does not natively support WCS. In this example we use the same approach as in the [Web Coverage Services (WCS)](/outputs/wcs/) tutorial for testing the WCS protocol.
193193
Images are requested as PNGs using the [ImageWMS](https://openlayers.org/en/latest/apidoc/module-ol_source_ImageWMS-ImageWMS.html) class and a custom
194194
[imageLoadFunction](https://openlayers.org/en/latest/apidoc/module-ol_Image.html#~LoadFunction),
195195
as displaying GeoTIFFs directly in OpenLayers is not supported without additional libraries.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# GDAL Raster Pipeline
2+
3+
!!! warning
4+
5+
This page is currently in a draft form.
6+
7+
8+
```
9+
gdal raster info data/raster/clipped.tif
10+
11+
gdal raster info data/raster/clipped.gdalg.json
12+
13+
14+
gdal raster pipeline ! read /etc/mapserver/data/raster/clipped.tif ! color-map --color-map /etc/mapserver/data/raster/color-map-percentage.txt ! blend --operator=hsv-value --overlay [ read /etc/mapserver/data/raster/clipped.tif ! hillshade -z 30 ] ! write /etc/mapserver/data/raster/tmp.tif --overwrite
15+
16+
```

‎workshop/content/docs/advanced/symbols.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this exercise we'll look at how [SYMBOL](https://mapserver.org/mapfile/symbol
1010

1111
## Vector Symbols
1212

13-
We've looked at `ELLIPSE`, and `TRUETYPE` symbols in the [Points Styling](../mapfile/points.md) exercise. In this example
13+
We've looked at `ELLIPSE`, and `TRUETYPE` symbols in the [Points Styling](/mapfile/points/) exercise. In this example
1414
we'll be looking at [Vector Symbols](https://mapserver.org/mapfile/symbology/construction.html#symbols-of-type-vector-and-ellipse) - which
1515
use vector drawings to define the shape of a symbol.
1616

Lines changed: 98 additions & 0 deletions
Loading
42.5 KB
Loading
Lines changed: 42 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)