Hello list,
I am trying to make specific line pattern with SLD – offsetting triangle from base line.
The result i got is in the following image: http://img42.com/Zvd1q
It looks ok for horizontal segments (green area), but not for others (in red).
After trying to google I found that such patern can‘t be generated with default SLD capabilities or geoserver extensions.
Also found that point symbols can have a space around to fill the polygon (http://docs.geoserver.org/latest/en/user/styling/sld-extensions/margins.html).
Would it be very hard to implement a space around for mark symbols in GraficStroke of LineSymbolizer?
The idea of margins is in the following Picture: http://img42.com/ASV61
Maybe such capability (or similar) to achieve such result is aready available?
p.s. the SLD I tried with offset:
0
#000000
0.05
#000000
geometry
0
-0.25
triangle
#000000
#000000
0.05
0.5
-180
0 2.25 0.5 0.25
0
Sincerely,
Paul
On Tue, Oct 15, 2013 at 11:01 AM, Paulius Litvinas <paulius@anonymised.com>wrote:
Hello list,****
** **
I am trying to make specific line pattern with SLD – offsetting triangle
from base line.****
** **
The result i got is in the following image: http://img42.com/Zvd1q****
It looks ok for horizontal segments (green area), but not for others (in
red).****
** **
After trying to google I found that such patern can‘t be generated with
default SLD capabilities or geoserver extensions.****
** **
Also found that point symbols can have a space around to fill the polygon (
http://docs.geoserver.org/latest/en/user/styling/sld-extensions/margins.html
).****
** **
Would it be very hard to implement a space around for mark symbols in
GraficStroke of LineSymbolizer?****
The idea of margins is in the following Picture: http://img42.com/ASV61 **
**
** **
Maybe such capability (or similar) to achieve such result is aready
available?
It is not, but I'm going to build support for true offset lines in the next
few weeks,
if all goes well it should be available in the GeoServer stable in 2-3
months
(new features have to stay on the development branch for a month without
causing trouble
before they can be backported to the stable branch)
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------