Hi all
I’m creating an SLD file using QGIS 2.2, but when I try to validate it in Geoserver I get the following error message:
I’m trying to use simple markers along a line. The excerpt from the SLD file is below:
</se:Rule>
se:Rule
se:NameOne Way Street</se:Name>
se:Description
se:TitleOne Way Street</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc=“http://www.opengis.net/ogc”>
ogc:PropertyIsEqualTo
ogc:PropertyNameOrder_type</ogc:PropertyName>
ogc:LiteralOne Way Street</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
se:LineSymbolizer
se:Stroke
se:GraphicStroke
se:Graphic
se:Mark
se:WellKnownNamefilled_arrowhead</se:WellKnownName>
se:Fill
<se:SvgParameter name=“fill”>#55aaff</se:SvgParameter>
</se:Fill>
se:Stroke
<se:SvgParameter name=“stroke”>#000000</se:SvgParameter>
</se:Stroke>
</se:Mark>
se:Size4</se:Size>
</se:Graphic>
se:Gap
Line 756 <ogc:Filter xmlns:ogc=“http://www.opengis.net/ogc”>
Line 757 ogc:Literal5</ogc:Literal>
</ogc:Filter>
</se:Gap>
</se:GraphicStroke>
</se:Stroke>
</se:LineSymbolizer>
</se:Rule>
Any help is greatly appreciated.
Thanks in advance
Steve
Steve Campbell | GIS Manager
Corporate Strategy and Communications
Borough of Poole | Civic Centre | Poole BH15 2RU
Tel: 01202 633 362
Email: s.campbell@anonymised.com
Website:www.boroughofpoole.com
Think Green! Please Recycle
Hi Steve,
I suspect that GeoServer doesn’t implement the function (a quick google of the docs can’t find it).
Support in GeoServer for the SLD 1.1 specification is limited and doesn’t appear to be in the 1.0 spec so…
Try this instead:
http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#spaced-graphic-symbols
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
Cheers,
Jonathan
On 24 April 2014 14:14, Steven Campbell <s.campbell@anonymised.com> wrote:
Hi all
I’m creating an SLD file using QGIS 2.2, but when I try to validate it in Geoserver I get the following error message:
I’m trying to use simple markers along a line. The excerpt from the SLD file is below:
</se:Rule>
se:Rule
se:NameOne Way Street</se:Name>
se:Description
se:TitleOne Way Street</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc=“http://www.opengis.net/ogc”>
ogc:PropertyIsEqualTo
ogc:PropertyNameOrder_type</ogc:PropertyName>
ogc:LiteralOne Way Street</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
se:LineSymbolizer
se:Stroke
se:GraphicStroke
se:Graphic
se:Mark
se:WellKnownNamefilled_arrowhead</se:WellKnownName>
se:Fill
<se:SvgParameter name=“fill”>#55aaff</se:SvgParameter>
</se:Fill>
se:Stroke
<se:SvgParameter name=“stroke”>#000000</se:SvgParameter>
</se:Stroke>
</se:Mark>
se:Size4</se:Size>
</se:Graphic>
se:Gap
Line 756 <ogc:Filter xmlns:ogc=“http://www.opengis.net/ogc”>
Line 757 ogc:Literal5</ogc:Literal>
</ogc:Filter>
</se:Gap>
</se:GraphicStroke>
</se:Stroke>
</se:LineSymbolizer>
</se:Rule>
Any help is greatly appreciated.
Thanks in advance
Steve
Steve Campbell | GIS Manager
Corporate Strategy and Communications
Borough of Poole | Civic Centre | Poole BH15 2RU
Tel: 01202 633 362
Email: s.campbell@anonymised.com
Website:www.boroughofpoole.com
Think Green! Please Recycle
DISCLAIMER: This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. The copyright in all documentation is the property of the Borough of Poole and this email and any documentation must not be copied or used other than as strictly necessary for the purpose of this email, without prior written consent which may be subject to conditions. Any view or opinions presented are solely those of the author and do not necessarily represent those of the Borough of Poole. The Borough of Poole reserves the right to inspect incoming and outgoing emails. If you have received this email in error please contact the sender by return and confirm that its contents have been destroyed. Telephone enquiries should be directed to the Borough switchboard on 01202 633633.’
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks Jonathan I'll give that a go!
Steve
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-style-error-in-Geoserver-tp5136900p5136936.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
It will not work either, because the “filled_arrowhead” is not a standard
well known mark, it’s something qgis made up instead (GeoServer
has its own list of out of standard well known names, but there
is no alignment between the two projects on these “vendor” provided
names).
Try triangle maybe, that’s a standard name.
Cheers
Andrea
···
On Thu, Apr 24, 2014 at 5:48 PM, Steve Campbell <s.campbell@anonymised.com607…> wrote:
Thanks Jonathan I’ll give that a go!
Steve
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-style-error-in-Geoserver-tp5136900p5136936.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
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