|
Hi Blaise I have managed to get quite a long way down the road of extracting points and placing them, etc.- and I think its all going to work - however I have just been stumped by what seems to be to be a bug. I have managed to set up classes for each of the points that I wish to draw - and now want to set their styles so that the symbol (a VECTOR) symbol is rotated to the angle (which I have got from my geometry function). However, whenever I try to access styleObj->set("angle",45) it says that 'angle' doesn't exist in that object. However, I can dump out the mapfile and it is there set as 360. Any ideas whats going on? Thanks Stu Blaise wrote: Stu I don't know what output you want exactly, but yes, using mapscript, you can easily put an arrow on each segment of a polyline with a loop something like : for each polyline for each segment of polyline get start and stop point of segment calculate middle point of segment and angle create new annotation arrowThe geometry calculation is pretty straight forward, it's basic 2d geometry. Ask more if you need help on the mapscript functions and/or the geometry calculation. But maybe someone else on this list has got a better/different idea. Regards Blaise Le Vendredi 26 Mai 2006 16:41, vous avez écrit : -- Stuart Eve L - P : Archaeology [EMAIL PROTECTED] |
- Re: [UMN_MAPSERVER-USERS] Rotating Symbols Stuart Eve
- Re: [UMN_MAPSERVER-USERS] Rotating Symbols Blaise
- Re: [UMN_MAPSERVER-USERS] Rotating Symbols Stuart Eve
- Re: [UMN_MAPSERVER-USERS] Rotating Symbols Blaise
- Re: [UMN_MAPSERVER-USERS] Rotating Sym... Stuart Eve
- Re: [UMN_MAPSERVER-USERS] Rotatin... Stephen Woodbridge
- Re: [UMN_MAPSERVER-USERS] Rotatin... Stuart Eve
