I got it working with sld attachet but is has become really slow. Geoserver starts to make heavy use of HD with apparently no reason. If I remove both points styling it works speedy Would you please give me some hints? The layer is actualy a view on a postgres DB
Thanks - Antonio On 14 January 2013 09:55, Antonio Parrotta <antonioparro...@gmail.com>wrote: > Morning Mauro, > > it worked as you suggested. Appreciate. I added a second point and now the > "prog" attribute is not displayed over the arrow (linestring). Second > question is that now it is really slow. With this mixed points styling it > is really unusable, navigate/zooming takes 10-20 seconds the layer to be > displayed. Is there anything I can do to improve performance? > > Thanks > - Antonio > > > On 14 January 2013 09:17, Mauro Bartolomeoli < > mauro.bartolome...@geo-solutions.it> wrote: > >> Hi Antonio, >> I think you should specify the geometry to use not only on LineSymbolizer >> and PointSymbolizer, but also on TextSymbolizer(s), to let GeoServer know >> where to put the label, which geometry to use as a center point. >> >> Thanks. >> >> >> 2013/1/14 Antonio Parrotta <antonioparro...@gmail.com> >> >>> Hi, >>> >>> I have a layer with a linestring and point columns. I need to style a >>> linestring with an attribute "prog" and an arrow (following line). In the >>> same layer I have to render the point as well that is in a separate column >>> with attribute "label_closer" and the_geom_closer geometry. >>> >>> >>> I followed suggestion from >>> >>> http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/mixed-geometries.html >>> >>> >>> here is the result. >>> >>> [image: Inline images 2] >>> >>> the label near the arrow is not the "prog" attribute (that is missing) >>> but the label_closer that should be rendered on point instead. Attached the >>> full sld. >>> >>> thanks >>> - Antonio >>> >>> >>> ------------------------------------------------------------------------------ >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. SALE $99.99 this month only -- learn more at: >>> http://p.sf.net/sfu/learnmore_122412 >>> _______________________________________________ >>> Geoserver-users mailing list >>> Geoserver-users@lists.sourceforge.net >>> 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 >> >> ------------------------------------------------------- >> > >
<<image.png>>
multi.sld
Description: Binary data
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users