[mapserver-users] MapServer Symbol Conversion from Polyline Points

Donald Kerr donald.kerr at dkerr.co.uk
Sun Dec 28 13:38:53 PST 2008


I've been struggling with this problem all day and cannot make any progress.
I hope that someone can help.

I want to convert a polyline points array into a MapServer Symbol but keep
getting errors.

Here's the polyline array:

<polyline points='-0.154,0.236 -0.111,0.365 -0.116,0.501 -
0.165,0.616 -0.170,0.627 -0.264,0.724 -0.490,0.826 -0.682,0.889
-0.885,0.900 -1.083,0.858 -1.264,0.767 -1.415,0.631 -1.521,0.466
-1.558,0.199 -1.538,-0.071 -1.462,-0.329 -1.333,-0.566 -1.156,-
0.771' />
<polyline points='1.755,-0.819 1.534,-0.804 0.832,-0.857 0.129,-
0.824 -0.450,-0.769 -1.032,-0.767 -1.612,-0.819' />
<polyline points='1.640,-0.804 1.620,-0.589 1.392,-0.388 1.122,-
0.248' />
<polyline points='0.311,-0.526 0.520,-0.573 0.732,-0.554 0.930,-
0.472 1.093,-0.335 1.097,-0.329 1.101,-0.323 1.105,-0.317
1.108,-0.311 1.111,-0.304 1.113,-0.298 1.115,-0.291 1.117,-0.284
1.118,-0.277 1.118,-0.270 1.119,-0.263 1.118,-0.256 1.118,-0.249
1.117,-0.242 1.115,-0.235 1.113,-0.229 1.111,-0.222 1.108,-0.216
1.105,-0.209 1.101,-0.203 1.097,-0.198 1.093,-0.192 1.088,-0.187
1.083,-0.182 1.078,-0.177 1.073,-0.173 1.067,-0.169 1.061,-0.165
1.054,-0.162 0.637,0.198 0.393,0.388 0.118,0.530 -0.165,0.616 -
0.178,0.619' />

And here's a depiction of the symbol I need to create:

http://www.dkerr.co.uk/boulderGeography.gif

Many thanks.

Regards,

Donald




More information about the MapServer-users mailing list