Skip to content

Commit 78f5b59

Browse files
committed
Add possible errors and change exercise
1 parent 900eaa7 commit 78f5b59

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

workshop/content/docs/mapfile/points.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,24 @@ END
8181

8282
## Exercises
8383

84-
1. Edit the `workshop/exercises/app/js/points.js` to hide the OpenStreetMap base layer. You need to set the `visible: true` to `visible: false`.
84+
1. Edit the `workshop/exercises/app/js/points.js` to show the OpenStreetMap base layer. You need to set the `visible: false` to `visible: true`.
8585
2. Change the default `CLASS` to use larger points in a more visible colour.
8686
3. Add another class to display another point type. Choose an appropriate symbol from the list at <http://localhost:5001/fonts.html>. Some example attribute types include `fast_food`, `monument`, and `post_box`. The source dataset is `workshop/exercises/mapfiles/data/osm/pois.fgb` - this can be opened in QGIS to view all available attributes and values.
8787

8888
<!--
8989
90+
If a symbol name doesn't exist:
91+
92+
msDrawMap(): Image handling error. Failed to draw layer named 'pois'. msLoadMSRasterBufferFromFile(): General error message. unable to open file /etc/mapserver/new for reading
93+
94+
E.g.
95+
96+
STYLE
97+
SYMBOL "new"
98+
SIZE 50
99+
COLOR 0 0 0
100+
END
101+
90102
A symbol can also point to a SVG image file on disk as in the example below:
91103
92104
```scala

0 commit comments

Comments
 (0)