Re: [Geoserver-users] Polygon SVG stroke

2016-03-11 Thread Jonathan Moules
Hi Geoffrey,
The output definitely looks squiffy, and that's even having split up the SLD? 
Looking at it, it apears GeoServer isn't anticipating the size of the symbol 
and is thus "overflowing" the length of the line.

Have you tried using a Custom WKT symbol for the style instead? - 
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html#custom-wkt-shapes
 - I believe they're new in 2.7, so you'll need to be using that version or 
later. I have no idea if that'll work (I suspect not) but may be worth trying.

Cheers,
Jonathan




 On Thu, 10 Mar 2016 19:45:55 + Geoffrey wrote 
 

Example SVG pattern: 
; 
 
Example generic polygon: 
; 
 
The pattern applied to the stroke of the polygon produce overflows: 
; 
 
 
Is there any way to avoid the overflow of the pattern and keep the good 
shape of the polygon ? 
 
I also tried to separate the symbols from the pattern, so I create a SVG 
symbol for the anchor, and a SVG symbol for the triangle, but I am not able 
to produce what I want. 
 
Thank you 
 
 
 
 
-- 
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Polygon-SVG-stroke-tp5255618p5255695.html 
Sent from the GeoServer - User mailing list archive at Nabble.com. 
 
-- 
Transform Data into Opportunity. 
Accelerate data analysis in your applications with 
Intel Data Analytics Acceleration Library. 
Click to learn more. 
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 
___ 
Geoserver-users mailing list 
Geoserver-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/geoserver-users 




--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Polygon SVG stroke

2016-03-10 Thread Geoffrey
Example SVG pattern:
 

Example generic polygon:
 

The pattern applied to the stroke of the polygon produce overflows:
 


Is there any way to avoid the overflow of the pattern and keep the good
shape of the polygon ?

I also tried to separate the symbols from the pattern, so I create a SVG
symbol for the anchor, and a SVG symbol for the triangle, but I am not able
to produce what I want.

Thank you




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Polygon-SVG-stroke-tp5255618p5255695.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Polygon SVG stroke

2016-03-10 Thread Andrea Aime
On Thu, Mar 10, 2016 at 3:16 PM, Geoffrey  wrote:

> Hello,
>
> I'm trying to style the stroke of a polygon with a SVG pattern.
> If I only have one simple SVG symbol, this displays correctly, but if the
> SVG is a composed from 2 or 3 different symbols, then when I try to render
> a
> complex polygon with this stroke, the layout is broken as it overflows and
> show the whole pattern on the small lines that composed the polygon.
> I hope I'm clear enough.
>

A screenshot would help.

Cheers
Andrea



-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Polygon SVG stroke

2016-03-10 Thread Geoffrey
Hello,

I'm trying to style the stroke of a polygon with a SVG pattern.
If I only have one simple SVG symbol, this displays correctly, but if the
SVG is a composed from 2 or 3 different symbols, then when I try to render a
complex polygon with this stroke, the layout is broken as it overflows and
show the whole pattern on the small lines that composed the polygon.
I hope I'm clear enough.

Is there a way to render a polygon with a complex SVG stroke ?

I also tried to cut the pattern and to use 2 or 3 different rules in the SLD
with the symbols that compose the pattern, but I can't make it work.

I would like for example to have the pattern :  SVG1 - SVG1 - SVG2 - SVG1
knowing that the size of SVG2 is bigger than SVG1.

How ??

Thank you



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Polygon-SVG-stroke-tp5255618.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users