[mapserver-users] how to create symbol on the START and END of aline

thomas bonfort thomas.bonfort at gmail.com
Wed Mar 30 08:34:11 EDT 2011


Juan,
If there was a simple and efficient way of rendering start and end
points before version 5.4, we probably would not have gone to the
trouble of implementing the GEOTRANSFORM stuff.

So no, there no other way aside from upgrading or creating a second layer.

--
thomas

On Wed, Mar 30, 2011 at 14:23, Juan Carlos Monestel <juanzito at univali.br> wrote:
> Hi Ludwig
> Today I do this, I create a layer with the line and then create another
> layer with the points (start and end) using SQL.
> But I would do this without need to create 2 layers using the same SQL
> causing decrease the rendering time.
>
>
> Any other Idea?
>
>
> Thx
> Juan
>
> -----Original Message-----
> From: Ludwig Kniprath [mailto:ludwig at kni-online.de]
> Sent: Tue 3/29/2011 4:57 PM
> To: mapserver-users at lists.osgeo.org
> Cc: mapserver-users-request at lists.osgeo.org; Juan Carlos Monestel
> Subject: Re: [mapserver-users] how to create symbol on the START and END of
> aline
>
> Hi,
> perhaps a workaround for your problem:
> If you use database-driven-layers, f. e. postgis, you can create two
> spatial queries that return the start- end endpoints of your lines
> (postgis-functions ST_StartPoint and ST_EndPoint), each of them for a
> new point-layer for start and end-symbolization.
>
> hth
> Ludwig
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list