Skip to content

Commit 4794c61

Browse files
committed
change port 5000 -> 5002
1 parent a3f9a88 commit 4794c61

File tree

24 files changed

+61
-63
lines changed

24 files changed

+61
-63
lines changed

workshop/content/docs/advanced/clusters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CLASS
3131

3232
!!! example
3333

34-
- MapServer request: <http://localhost:5000/?map=/etc/mapserver/clusters.map&mode=map&layer=trees>
34+
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/clusters.map&mode=map&layer=trees>
3535
- OpenLayers example: <http://localhost:5001/clusters.html>
3636

3737
??? JavaScript "clusters.js"
@@ -55,4 +55,4 @@ CLASS
5555
MAXDISTANCE 50
5656
REGION "ellipse"
5757
END
58-
```
58+
```

workshop/content/docs/advanced/sld.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ This exercise will focus on the first use case.
2424

2525
!!! example
2626

27-
- Direct MapServer request: <http://localhost:5000/?map=/etc/mapserver/lines.map&mode=map&layer=roads>
27+
- Direct MapServer request: <http://localhost:5002/?map=/etc/mapserver/lines.map&mode=map&layer=roads>
2828
- Local OpenLayers example: <http://localhost:5001/sld.html>
29-
- GetCapabilities request: <http://localhost:5000/?map=/etc/mapserver/sld.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0>
30-
- Request to generate SLD from a Mapfile: <http://localhost:5000/?map=/etc/mapserver/sld.map&REQUEST=GetStyles&SERVICE=WMS&LAYERS=countries&VERSION=1.3.0&sld=http://node:5001/data/sld.xml>
29+
- GetCapabilities request: <http://localhost:5002/?map=/etc/mapserver/sld.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0>
30+
- Request to generate SLD from a Mapfile: <http://localhost:5002/?map=/etc/mapserver/sld.map&REQUEST=GetStyles&SERVICE=WMS&LAYERS=countries&VERSION=1.3.0&sld=http://node:5001/data/sld.xml>
3131

3232
???+ SLD
3333

workshop/content/docs/advanced/symbols.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ END
8181

8282
!!! example
8383

84-
- Direct MapServer request: <http://localhost:5000/?map=/etc/mapserver/railways.map&mode=map&layer=roads>
84+
- Direct MapServer request: <http://localhost:5002/?map=/etc/mapserver/railways.map&mode=map&layer=roads>
8585
- Local OpenLayers example: <http://localhost:5001/railways.html>
8686

8787
??? JavaScript "railways.js"
@@ -114,4 +114,4 @@ END
114114
## Further Reading
115115

116116
- [Cartographical Symbol Construction with MapServer](https://mapserver.org/mapfile/symbology/construction.html)
117-
- [MapServer Symbology Exchange](https://github.com/MapServer/MapServer/wiki/SymbologyExchangeVector)
117+
- [MapServer Symbology Exchange](https://github.com/MapServer/MapServer/wiki/SymbologyExchangeVector)

workshop/content/docs/inputs/databases.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Online example not available as no PostGIS installation on the server
7878

7979
!!! example "Exercise Links"
8080

81-
- MapServer request: <http://localhost:5000/?map=/etc/mapserver/postgis.map&mode=map&layer=water>
81+
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/postgis.map&mode=map&layer=water>
8282
- OpenLayers example: <http://localhost:5001/postgis.html>
8383

8484
??? JavaScript "postgis.js"
@@ -97,7 +97,7 @@ Online example not available as no PostGIS installation on the server
9797

9898
1. Try and load another dataset into the database using the `ogr2ogr` approach above.
9999
2. Now add a new layer to the Mapfile to display the layer. You can make a direct request to MapServer in the form:
100-
<http://localhost:5000/?map=/etc/mapserver/postgis.map&mode=map&layers=water%20NEWLAYERNAME>.
100+
<http://localhost:5002/?map=/etc/mapserver/postgis.map&mode=map&layers=water%20NEWLAYERNAME>.
101101
3. Now update the JS file so the layer is visible as part of the interactive map, through WMS:
102102

103103
```js
@@ -106,4 +106,4 @@ Online example not available as no PostGIS installation on the server
106106
params: { 'LAYERS': 'water,NEWLAYERNAME', 'STYLES': '' },
107107
ratio: 1
108108
}),
109-
```
109+
```

workshop/content/docs/inputs/raster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ A [COMPOSITE](https://mapserver.org/mapfile/composite.html) block is used on the
8686

8787
!!! example
8888

89-
- MapServer request: <http://localhost:5000/?map=/etc/mapserver/raster.map&mode=map&layer=dtm>
89+
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/raster.map&mode=map&layer=dtm>
9090
- OpenLayers example: <http://localhost:5001/raster.html>
9191

9292
??? JavaScript "raster.js"
@@ -105,4 +105,4 @@ A [COMPOSITE](https://mapserver.org/mapfile/composite.html) block is used on the
105105

106106
1. Try different settings for layer `OPACITY` to see its effect on the output in `raster.map`.
107107
2. Change the `COLOR` of the first `CLASS` in `terrain.include` to highlight which pixels have values in this range.
108-
Cyan (`COLOR 0 255 255`) is a good colour for highlighting.
108+
Cyan (`COLOR 0 255 255`) is a good colour for highlighting.

workshop/content/docs/inputs/vector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ than a huge GeoTIFF file.
3838

3939
!!! example
4040

41-
- MapServer request: <http://localhost:5000/?map=/etc/mapserver/stars.map&mode=map&layer=constellations>
41+
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/stars.map&mode=map&layer=constellations>
4242
- OpenLayers example: <http://localhost:5001/stars.html>
4343

4444
??? JavaScript "stars.js"

workshop/content/docs/introduction/commandline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF
2121
When run through a web server, data is passed to the `mapserv` application, which generates output that is then sent back through the web server.
2222
All web requests can be recreated and tested on the command line, this makes it a handy debugging tool.
2323

24-
To test a URL such as <http://localhost:5000/?map=/etc/mapserver/countries.map&mode=map> run the following command:
24+
To test a URL such as <http://localhost:5002/?map=/etc/mapserver/countries.map&mode=map> run the following command:
2525

2626
```bash
2727
mapserv "QUERY_STRING=map=/etc/mapserver/countries.map&mode=map"

workshop/content/docs/introduction/docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ MapServer runs on the Apache web server - see the [Apache page](../advanced/apac
1010

1111
It uses the Apache [mod_fcgid module](https://httpd.apache.org/mod_fcgid/), module that provides FastCGI support.
1212

13-
MapServer runs on port 80 on the Docker container, which is mapped to port 5000 on the local machine, as can be seen in the Docker compose file
13+
MapServer runs on port 80 on the Docker container, which is mapped to port 5002 on the local machine, as can be seen in the Docker compose file
1414
located at `workshop\exercises\docker-compose.yml`:
1515

1616
```yaml
1717
mapserver:
1818
image: camptocamp/mapserver:8.4-gdal3.10
1919
container_name: mapserver
2020
ports:
21-
- 5000:80
21+
- 5002:80
2222
environment:
2323
MAPSERVER_CONFIG_FILE: "/etc/mapserver/mapserver.conf"
2424
volumes:
@@ -55,7 +55,7 @@ A second container that serves the JavaScript example pages is also run using Do
5555
# start docker in detached mode
5656
docker compose up -d
5757
# the following URLs should now be available
58-
# http://localhost:5000
58+
# http://localhost:5002
5959
# http://localhost:5001
6060

6161
# stop docker
@@ -73,4 +73,4 @@ A second container that serves the JavaScript example pages is also run using Do
7373
```bash
7474
# to remove a container named db
7575
docker rm db
76-
```
76+
```

workshop/content/docs/introduction/introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ setup provided to you is actually working. The configuration file for Docker Com
5656
docker compose up
5757
```
5858

59-
2. Open <http://localhost:5000> in your browser, you should see an error message!
59+
2. Open <http://localhost:5002> in your browser, you should see an error message!
6060
3. Close by pressing `CTRL-C`
6161

6262
# Displaying your First Map
6363

64-
- Ensure that you have MapServer setup and running at <http://localhost:5000>.
65-
- Now try opening the following MapServer URL in your browser - <http://localhost:5000/?map=/etc/mapserver/countries.map&mode=map>
64+
- Ensure that you have MapServer setup and running at <http://localhost:5002>.
65+
- Now try opening the following MapServer URL in your browser - <http://localhost:5002/?map=/etc/mapserver/countries.map&mode=map>
6666

6767

6868
!!! note
@@ -72,7 +72,7 @@ setup provided to you is actually working. The configuration file for Docker Com
7272
```bash
7373
docker compose up -d
7474
docker container ls # verify that the mapserver container is running
75-
# visit http://localhost:5000 in your browser
75+
# visit http://localhost:5002 in your browser
7676
docker logs --follow mapserver # view logs
7777
docker compose stop
7878
```

workshop/content/docs/mapfile/labels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ GEOMTRANSFORM (centerline(densify([shape], 0.1)))
4141

4242
!!! example
4343

44-
- Direct MapServer request: <http://localhost:5000/?map=/etc/mapserver/lakes.map&mode=map&layer=lakes&layer=lake-labels>
44+
- Direct MapServer request: <http://localhost:5002/?map=/etc/mapserver/lakes.map&mode=map&layer=lakes&layer=lake-labels>
4545
- Local OpenLayers example: <http://localhost:5001/lakes.html>
4646

4747
??? JavaScript "lakes.js"
@@ -76,4 +76,4 @@ GEOMTRANSFORM (centerline(densify([shape], 0.1)))
7676
7777
# workaround for https://github.com/MapServer/MapServer/issues/7058
7878
79-
-->
79+
-->

0 commit comments

Comments
 (0)