Hello,
I'm trying to apply a PerpendicularOffset to a stroke, but it is not being
applied.
Here is my code:
<se:Rule>
<se:Name>test</se:Name>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:Function name="dimension">
<ogc:PropertyName>geom</ogc:PropertyName>
</ogc:Function>
<ogc:Literal>1</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:LineSymbolizer>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">1</se:SvgParameter>
<se:SvgParameter name="stroke-dasharray">38 0</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">0</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
<se:LineSymbolizer>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">1</se:SvgParameter>
<se:SvgParameter name="stroke-dasharray">2 36</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">0</se:SvgParameter>
</se:Stroke>
<se:PerpendicularOffset>10</se:PerpendicularOffset>
</se:LineSymbolizer>
<se:LineSymbolizer>
<se:Stroke>
<se:GraphicStroke>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple" xlink:href="emrail01.svg"/>
<se:Format>image/svg+xml</se:Format>
</se:ExternalGraphic>
<se:Size>12</se:Size>
<se:Displacement>
<se:DisplacementX>0</se:DisplacementX>
<se:DisplacementY>-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name="stroke-dasharray">2 36</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">10</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
<se:LineSymbolizer>
<se:Stroke>
<se:GraphicStroke>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple" xlink:href="emrail01.svg"/>
<se:Format>image/svg+xml</se:Format>
</se:ExternalGraphic>
<se:Size>12</se:Size>
<se:Rotation>180</se:Rotation>
<se:Displacement>
<se:DisplacementX>0</se:DisplacementX>
<se:DisplacementY>-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name="stroke-dasharray">2 36</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">10</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
<se:LineSymbolizer>
<se:Stroke>
<se:GraphicStroke>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple" xlink:href="emrail01.svg"/>
<se:Format>image/svg+xml</se:Format>
</se:ExternalGraphic>
<se:Size>12</se:Size>
<se:Displacement>
<se:DisplacementX>0</se:DisplacementX>
<se:DisplacementY>-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name="stroke-dasharray">2 36</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">29</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
<se:LineSymbolizer>
<se:Stroke>
<se:GraphicStroke>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple" xlink:href="emrail01.svg"/>
<se:Format>image/svg+xml</se:Format>
</se:ExternalGraphic>
<se:Size>12</se:Size>
<se:Rotation>180</se:Rotation>
<se:Displacement>
<se:DisplacementX>0</se:DisplacementX>
<se:DisplacementY>-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name="stroke-dasharray">2 36</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">29</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
</se:Rule>
This is the result I have:
<http://osgeo-org.1560.x6.nabble.com/file/n5265216/xfELJ2K.png>
This is what I want:
<http://osgeo-org.1560.x6.nabble.com/file/n5265216/xXZ3Qqg.png>
So as you can see, I would like to have this little dash on the top and I
try to add it with this line of code and perpendicularoffset:
<se:LineSymbolizer>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">1</se:SvgParameter>
<se:SvgParameter name="stroke-dasharray">2 36</se:SvgParameter>
<se:SvgParameter name="stroke-dashoffset">0</se:SvgParameter>
</se:Stroke>
<se:PerpendicularOffset>10</se:PerpendicularOffset>
</se:LineSymbolizer>
But it's just not working.
This piece of code has no effect.
thank you
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/PerpendicularOffset-not-working-tp5265216.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Geoffrey,
I did not check the SLD yet, but wondering which version of GeoServer you are using, you’ll
need at least version 2.9.x in order to get support for perpendicular offset, older versions
just don’t know how to compute it.
There is now out 2.9-RC2 (http://blog.geoserver.org/2016/05/03/geoserver-2-9-rc1-released/ ) but
the announcement is not citing the new features, which are instead listed in the 2.9-beta announcement:
http://blog.geoserver.org/2016/03/01/geoserver-2-9-beta-released/
Cheers
Andrea
···
On Sun, May 8, 2016 at 4:00 PM, Geoffrey <balmeg@…84…> wrote:
Hello,
I’m trying to apply a PerpendicularOffset to a stroke, but it is not being
applied.
Here is my code:
se:Rule
se:Nametest</se:Name>
ogc:Filter
ogc:PropertyIsEqualTo
<ogc:Function name=“dimension”>
ogc:PropertyNamegeom</ogc:PropertyName>
</ogc:Function>
ogc:Literal1</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
se:LineSymbolizer
se:Stroke
<se:SvgParameter name=“stroke”>#000000</se:SvgParameter>
<se:SvgParameter name=“stroke-width”>1</se:SvgParameter>
<se:SvgParameter name=“stroke-dasharray”>38 0</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>0</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
se:LineSymbolizer
se:Stroke
<se:SvgParameter name=“stroke”>#000000</se:SvgParameter>
<se:SvgParameter name=“stroke-width”>1</se:SvgParameter>
<se:SvgParameter name=“stroke-dasharray”>2 36</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>0</se:SvgParameter>
</se:Stroke>
se:PerpendicularOffset10</se:PerpendicularOffset>
</se:LineSymbolizer>
se:LineSymbolizer
se:Stroke
se:GraphicStroke
se:Graphic
se:ExternalGraphic
<se:OnlineResource xlink:type=“simple” xlink:href=“emrail01.svg”/>
se:Formatimage/svg+xml</se:Format>
</se:ExternalGraphic>
se:Size12</se:Size>
se:Displacement
se:DisplacementX0</se:DisplacementX>
se:DisplacementY-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name=“stroke-dasharray”>2 36</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>10</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
se:LineSymbolizer
se:Stroke
se:GraphicStroke
se:Graphic
se:ExternalGraphic
<se:OnlineResource xlink:type=“simple” xlink:href=“emrail01.svg”/>
se:Formatimage/svg+xml</se:Format>
</se:ExternalGraphic>
se:Size12</se:Size>
se:Rotation180</se:Rotation>
se:Displacement
se:DisplacementX0</se:DisplacementX>
se:DisplacementY-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name=“stroke-dasharray”>2 36</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>10</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
se:LineSymbolizer
se:Stroke
se:GraphicStroke
se:Graphic
se:ExternalGraphic
<se:OnlineResource xlink:type=“simple” xlink:href=“emrail01.svg”/>
se:Formatimage/svg+xml</se:Format>
</se:ExternalGraphic>
se:Size12</se:Size>
se:Displacement
se:DisplacementX0</se:DisplacementX>
se:DisplacementY-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name=“stroke-dasharray”>2 36</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>29</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
se:LineSymbolizer
se:Stroke
se:GraphicStroke
se:Graphic
se:ExternalGraphic
<se:OnlineResource xlink:type=“simple” xlink:href=“emrail01.svg”/>
se:Formatimage/svg+xml</se:Format>
</se:ExternalGraphic>
se:Size12</se:Size>
se:Rotation180</se:Rotation>
se:Displacement
se:DisplacementX0</se:DisplacementX>
se:DisplacementY-1</se:DisplacementY>
</se:Displacement>
</se:Graphic>
</se:GraphicStroke>
<se:SvgParameter name=“stroke-dasharray”>2 36</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>29</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
</se:Rule>
This is the result I have:
<http://osgeo-org.1560.x6.nabble.com/file/n5265216/xfELJ2K.png>
This is what I want:
<http://osgeo-org.1560.x6.nabble.com/file/n5265216/xXZ3Qqg.png>
So as you can see, I would like to have this little dash on the top and I
try to add it with this line of code and perpendicularoffset:
se:LineSymbolizer
se:Stroke
<se:SvgParameter name=“stroke”>#000000</se:SvgParameter>
<se:SvgParameter name=“stroke-width”>1</se:SvgParameter>
<se:SvgParameter name=“stroke-dasharray”>2 36</se:SvgParameter>
<se:SvgParameter name=“stroke-dashoffset”>0</se:SvgParameter>
</se:Stroke>
se:PerpendicularOffset10</se:PerpendicularOffset>
</se:LineSymbolizer>
But it’s just not working.
This piece of code has no effect.
thank you
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/PerpendicularOffset-not-working-tp5265216.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
==
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.
Thanks Andrea,
The problem is that I've Geoserver 2.8 installed because I installed OpenGeo
Suite 4.8 on my laptop.
How can I install Geoserver 2.9 without breaking all my OpenGeo Suite setup
? (I have also postGIS installed etc...)
thank you
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/PerpendicularOffset-not-working-tp5265216p5265233.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
You would need to ask boundless (assuming you have a support contract), we can only advise on GeoServer issues.
Ian
On 8 May 2016 18:26, “Geoffrey” <balmeg@anonymised.com> wrote:
Thanks Andrea,
The problem is that I’ve Geoserver 2.8 installed because I installed OpenGeo
Suite 4.8 on my laptop.
How can I install Geoserver 2.9 without breaking all my OpenGeo Suite setup
? (I have also postGIS installed etc…)
thank you
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/PerpendicularOffset-not-working-tp5265216p5265233.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
I don’t use the Opengeo Suite so I don’t have any idea, sorry… Maybe someone from Boundless can chime in and give you directions…
Cheers
Andrea
Il 08 mag 2016 8:33 PM, “Geoffrey” <balmeg@anonymised.com> ha scritto:
Thanks Andrea,
The problem is that I’ve Geoserver 2.8 installed because I installed OpenGeo
Suite 4.8 on my laptop.
How can I install Geoserver 2.9 without breaking all my OpenGeo Suite setup
? (I have also postGIS installed etc…)
thank you
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/PerpendicularOffset-not-working-tp5265216p5265233.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users