Hiya,

Have come up with a recipe before to create a table that contains only 1 border 
for every two polygons. Check out my earlier posting to the postgis mailing 
list: http://comments.gmane.org/gmane.comp.gis.postgis/24646

HTH

Edward

Date: Mon, 2 Jan 2012 18:35:22 +0100
From: andrea.a...@geo-solutions.it
To: z...@probesys.com
CC: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD Question

On Mon, Jan 2, 2012 at 5:29 PM, zorg <z...@probesys.com> wrote:

Hello

I have polygon using this sld

<sld:PolygonSymbolizer>

<sld:Stroke>

<CssParameter name="stroke">#FF0000</CssParameter>

<CssParameter name="stroke-width">2</CssParameter>

<CssParameter name="stroke-dasharray">2 4 16 4 16 4</CssParameter>

</sld:Stroke>

</sld:PolygonSymbolizer>



The problem is that when border are overlapping, it give a mixed of the

two dash line (can be continue or strange dash line )



Is there a way to have dash border when border overlap

Not in SLD. I guess you'll have to pre-process your data with some external 
tool and extract a linear network out of the borders that does
not have overlapping segments, then paint that new layer as a linelayer.
I guess some fiddling with postgis spatial extensions might be ableto generate 
that, but never tried so I don't have a recipe.

CheersAndrea
-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187

55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT

http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

Please take note that GeoSolutions will be closed for Christmas holidays from 
27/12 to 30/12


-------------------------------------------------------


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users                    
                  
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to