From: Mauro B. <mau...@ge...> - 2013-09-30 07:02:51
|
Hi Mihail, the correct answer probably depends on the way your route segments are available. Assuming you have them as a single LineString geometry where the end points are the first and last point of the LineString one way to show them would be to use the startPoint and/or endPoint functions inside a Geometry transformation. An example here: <PointSymbolizer> <Geometry> <ogc:Function name="startPoint"> <ogc:PropertyName>geometry</ogc:PropertyName> </ogc:Function> </Geometry> <Graphic> <Mark> <WellKnownName>circle</WellKnownName> <Fill> <CssParameter name="fill">#FF0000</CssParameter> </Fill> </Mark> <Size>12</Size> </Graphic> </PointSymbolizer> Can you try to explain in more detail how you store your route line segments and what is the final result you expect? Regards, Mauro Bartolomeoli 2013/9/29 Mihail Ivanchev <mih...@gm...> > Good day, GeoServer! > > I am doing some route visualization and had the idea of always showing the > end points, no matter if they are actually visible or not. This might give > the user additional info about the direction of the route, but the thing > is, how to do it? 1 idea is to draw the end points at the clipped > coordinates of the route line segments, in case they are getting clipped > explicitly at all. Any way to achieve this? Also, additional ideas are > welcome :) Thank you and have a nice Sunday evening. > > Regards, > Mihail > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |