[mapserver-users] how to create symbol on the START and END of aline
Juan Carlos Monestel
juanzito at univali.br
Wed Mar 30 05:23:53 PDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110330/357ab084/attachment.htm>
More information about the MapServer-users
mailing list