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: workshop/content/docs/inputs/databases.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
@@ -4,7 +4,7 @@
4
4
5
5
MapServer can connect to most geospatial databases. There are native MapServer drivers for [PostgreSQL/PostGIS](https://mapserver.org/input/vector/postgis.html),
6
6
[Oracle](https://mapserver.org/input/vector/oracle.html), and [Microsoft SQL Server](https://mapserver.org/input/vector/mssql.html). Other databases
7
-
can be accessed through OGR e.g.[MySQL](https://mapserver.org/input/vector/mysql.html).
7
+
can be accessed through OGR, for example[MySQL](https://mapserver.org/input/vector/mysql.html).
8
8
9
9
In this exercise we'll be connecting to a PostGIS database to display water polygon features using a MapServer WMS. [PostGIS](https://postgis.net/) spatially enables the [PostgreSQL](https://www.postgresql.org/)
Copy file name to clipboardExpand all lines: workshop/content/docs/outputs/wms.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
We've been using WMS for interacting with MapServer for Mapfile examples. In this exercise we'll look in more detail at how to configure WMS services in MapServer.
6
6
7
-
Full MapServer WMS documentation is available [here](https://www.mapserver.org/ogc/wms_server.html).
7
+
The MapServer WMS documentation is available [here](https://www.mapserver.org/ogc/wms_server.html).
8
8
9
9
## METADATA Blocks
10
10
@@ -64,5 +64,7 @@ A sample request for the legend for the `polygons.map` is as follows:
64
64
## Exercises
65
65
66
66
1. If you've read this far you deserve to discover one of MapServer's Easter eggs. Try changing the output format to `&format=image/txt`. We'll use the `polygons.map` for the request: <http://localhost:5000/?map=/etc/mapserver/polygons.map&service=wms&version=1.3.0&request=GetMap&layers=buildings&format=image/txt>
67
-
2. Change the legend title for the `polygon map`.
68
-
3. Run a [GetCapabilities](http://localhost:5000/?map=/etc/mapserver/polygons.map&service=wms&version=1.3.0&request=GetCapabilities) request for the `polygon.map`. Add various `METADATA` pairs to get rid of the warnings in the `GetCapabilities` response.
67
+
2. Create a `GetLegendGraphic` request, but for the `points.map` for the `layer=poi`.
68
+
3. Run a [GetCapabilities](http://localhost:5000/?map=/etc/mapserver/polygons.map&service=wms&version=1.3.0&request=GetCapabilities) request for the `polygon.map`.
69
+
Add various `METADATA` pairs listed in the [Web Object Metadata](https://mapserver.org/ogc/wms_server.html#web-object-metadata) and check its output
0 commit comments