As it sits now the path following text support is for raster output only. Perhaps Assefa ( the SVG support developer) could comment futher.
The path support currently available is highly dependent on GD so I'm not sure how well it will translate. Ideally SVG (or PDF) renderer would be able to do this sort of thing indendent of MapServer. That is, MapServer kicks out the shape and the label and leaves the rest to the client. As for source code, mapsvg.c contains all the necessary code. Mapgd.c and maplabel.c contains the path processing support for GD output. Steve >>> Roxana Sevciuc <[EMAIL PROTECTED]> 7/3/2006 11:04:01 AM >>> Hello list, I'm trying to display some road labels using a PostGIS database and the SVG output format file. It is mandatory for me that the labels follow the line (roads) curves, as well as the use of the SVG format. Until now, I managed to do this only with the PNG output format by using the "ANGLE follow" facility, as I'm using the latest version of MapServer. My question is: is there possible to get the same result for the "IMAGETYPE svg"? Is this option also available for the SVG? If YES, why's that my mapfile (extract attached bellow) act like an "ANGLE auto" setup? I have complex LINESTRING in my database, so MapServer should be able to compute, for mostly all roads, the necessary paths for labels. Is there someone able to link me to the source code which take into account the labeling position issue and the generation of the SVG file? Thanks a lot for helping me Roxana SEVCIUC
