[mapserver-users] symbol at start and end of polyline ?

Oliver Christen oliver.christen at camptocamp.com
Tue Jan 19 05:59:00 EST 2010


it makes sens, but how do I do that ?
do line segment get automaticaly an id ?
or how to get (or set) the id of the line segment?
  ----- Original Message ----- 
  From: thomas bonfort 
  To: Oliver Christen 
  Cc: mapserver-users at lists.osgeo.org 
  Sent: Tuesday, January 19, 2010 10:50 AM
  Subject: Re: [mapserver-users] symbol at start and end of polyline ?


  well, if you want only one line segment to have start markers, you must  tell mapserver which segment that is.


  On Tue, Jan 19, 2010 at 10:48, Oliver Christen <oliver.christen at camptocamp.com> wrote:

    thx Thomas, but im not sure I understand what you are telling me here.
    do line segments have id ?
      ----- Original Message ----- 
      From: thomas bonfort 
      To: Oliver Christen 
      Cc: mapserver-users at lists.osgeo.org 
      Sent: Tuesday, January 19, 2010 10:30 AM
      Subject: Re: [mapserver-users] symbol at start and end of polyline ?


      hi,

      class
        expression ([id]=321)
        style
          geomtransform end
          ...
        end
      end
      class
        style
          ... #all the others
        end
      end


      On Tue, Jan 19, 2010 at 10:14, Oliver Christen <oliver.christen at camptocamp.com> wrote:

        hello

        I would like to add a symbol at the start and end of a polyline.

        I tried using GEOMTRANSFORM with "start" and "end" in a style block in the layer but sadely this will add a symbol to all start and end of every vertex of the polyline, which is not the result wanted :/

        is there any way to do that, beside creating a new point layer ?

        thanks in advance
        Oliver 
        _______________________________________________
        mapserver-users mailing list
        mapserver-users at lists.osgeo.org
        http://lists.osgeo.org/mailman/listinfo/mapserver-users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100119/11f72cb5/attachment.html


More information about the mapserver-users mailing list