Just to add a wee bit to this. I have a number of symbols that I would like to recreate in MapServer. I have an image of what they should look like and I have the arrays of polyline points. What I don't really know is the limitations of the MapServer vector points i.e. the maximum number of points that can be used and the highest positive/negative numbers that can be used. I believe that "-99" works as 'pen up' but does that mean that -98 and 98 are the maximum? Also, do the point values have to be integer values? If not, how many numbers after the point e.g. 1.12345 etc.
If I take the polyline points like the following then the server throws a CGI wobbly and needs restarting: SYMBOL NAME 'boulderGeometry' TYPE VECTOR FILLED FALSE 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 -99 -99 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 -99 -99 1.640 -0.804 1.620 -0.589 1.392 -0.388 1.122 -0.248 -99 -99 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 END # POINTS END # SYMBOL If I take just part of the above then it still doesn't work: SYMBOL NAME 'boulderGeometry' TYPE VECTOR FILLED FALSE POINTS -0.154 0.236 -0.111 0.365 -0.116 0.501 -0.165 0.616 -0.170 0.627 END # POINTS END # SYMBOL Any help most greatly appreciated. Regards, Donald -----Original Message----- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Donald Kerr Sent: 28 December 2008 21:39 To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] MapServer Symbol Conversion from Polyline Points 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 _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users