Hello!!
I'm trying to use a vendor option called labelObstacle to avoid overlaping
my "External Graphic" with labels.
I was found this example in the official documentations:
http://docs.geoserver.org/2.2.4/user/styling/sld-extensions/label-obstacles.html
but it doesn't work..
Validation failed with error:
ine 20: cvc-complex-type.2.4.d: Invalid content was found starting with
element 'VendorOption'. No child element is expected at this point.
code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>123</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource
xlink:type="simple"
xlink:href="smileyface.png" />
<Format>image/png</Format>
</ExternalGraphic>
<Size>32</Size>
</Graphic>
<VendorOption name="labelObstacle">true</VendorOption>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Could you help me, please?? What i'm doing wrong?
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Worth asking - does it actually work on the map rendering?
The Validation engine seems to be very different from the actual map renderer. What works in one may not in the other and vice-versa.
On 28 January 2013 18:04, ZvezdDochka <zvezddochka@anonymised.com> wrote:
Hello!!
I’m trying to use a vendor option called labelObstacle to avoid overlaping
my “External Graphic” with labels.
I was found this example in the official documentations:
http://docs.geoserver.org/2.2.4/user/styling/sld-extensions/label-obstacles.html
but it doesn’t work…
Validation failed with error:
ine 20: cvc-complex-type.2.4.d: Invalid content was found starting with
element ‘VendorOption’. No child element is expected at this point.
code:
<?xml version="1.0" encoding="ISO-8859-1"?>
123
image/png
32
true
Could you help me, please?? What i’m doing wrong?
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED 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.
Oh, thanks a lot!!!
It’s really work !!!
Now i know that It’s not worth hoping only to the validation…
···
2013/1/28 Jonathan Moules-2 [via OSGeo.org] <[hidden email]>
Worth asking - does it actually work on the map rendering?
The Validation engine seems to be very different from the actual map renderer. What works in one may not in the other and vice-versa.
On 28 January 2013 18:04, ZvezdDochka <[hidden email]> wrote:
Hello!!
I’m trying to use a vendor option called labelObstacle to avoid overlaping
my “External Graphic” with labels.
I was found this example in the official documentations:
http://docs.geoserver.org/2.2.4/user/styling/sld-extensions/label-obstacles.html
but it doesn’t work…
Validation failed with error:
ine 20: cvc-complex-type.2.4.d: Invalid content was found starting with
element ‘VendorOption’. No child element is expected at this point.
code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version =“1.0.0” xmlns=“http://www.opengis.net/sld”
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:xlink=“http://www.w3.org/1999/xlink”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=“http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd”>
123
image/png
32
true
Could you help me, please?? What i’m doing wrong?
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED 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.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361p5030362.html
To unsubscribe from Validation failed with “labelObstacle” (PointSymbolizer), click here.
NAML
No problem. Might be worth reporting as a bug on Jira (http://jira.codehaus.org/browse/GEOS) as this doesn’t seem like desirable behaviour.
···
2013/1/28 Jonathan Moules-2 [via OSGeo.org] <[hidden email]>
Worth asking - does it actually work on the map rendering?
The Validation engine seems to be very different from the actual map renderer. What works in one may not in the other and vice-versa.
On 28 January 2013 18:04, ZvezdDochka <[hidden email]> wrote:
Hello!!
I’m trying to use a vendor option called labelObstacle to avoid overlaping
my “External Graphic” with labels.
I was found this example in the official documentations:
http://docs.geoserver.org/2.2.4/user/styling/sld-extensions/label-obstacles.html
but it doesn’t work…
Validation failed with error:
ine 20: cvc-complex-type.2.4.d: Invalid content was found starting with
element ‘VendorOption’. No child element is expected at this point.
code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version =“1.0.0” xmlns=“http://www.opengis.net/sld”
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:xlink=“http://www.w3.org/1999/xlink”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=“http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd”>
123
image/png
32
true
Could you help me, please?? What i’m doing wrong?
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED 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.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.n6.nabble.com/Validation-failed-with-labelObstacle-PointSymbolizer-tp5030361p5030362.html
To unsubscribe from Validation failed with “labelObstacle” (PointSymbolizer), click here.
NAML
Hi all,
I am having a problem accessing the WMS service on the GWC that is packaged with Geoserver 2.2, but I think the issue is more general…
My WMS requests are being forwarded by a proxy rewrite rule from the main web server.
Unfortunately in doing this it seems that basic authentication header information (the ldap credentials in this case) are being passed on as well.
In the authentication settings in geoserver, ‘basic’ ,by default, is higher up the list than ‘anonymous’, so the credentials that are provided are tested and fail even though I don’t really want any authentication test for a map tile!
The symptom is that if a GWC/WMS (and probably a WMS) request are made directly to the geoserver, the tile(s) are supplied no problem.
As soon as the request is redirected via the proxy rule on my website server, the authentication fails (unless of course, by sheer conincidence, there happens to be a geoserver account with identical credentials)
I think the easiest thing to do would be to remove basic from the REST and GWC request chain, or at least move it below anonymous, but I cannot save any change that I make to these settings via the web interface. No changes are retained when I click on save.
Is there a way I can configure this via the XML instead or am I barking up the wrong tree entirely?
Help!
Neil
Hi Neil
I know about this issues and you will see a complete new GUI concerning chains in 2.3 (you can download beta1 and test).
The improvements will not find their way into 2.2 series. You can try to edit
<geoserverdatadir>/security/config.xml directly.
Christian
Zitat von Neil Jakeman <neil_jakeman@anonymised.com>:
Hi all,
I am having a problem accessing the WMS service on the GWC that is packaged with Geoserver 2.2, but I think the issue is more general...
My WMS requests are being forwarded by a proxy rewrite rule from the main web server.Unfortunately in doing this it seems that basic authentication header information (the ldap credentials in this case) are being passed on as well.
In the authentication settings in geoserver, 'basic' ,by default, is higher up the list than 'anonymous', so the credentials that are provided are tested and fail even though I don't really want any authentication test for a map tile!
The symptom is that if a GWC/WMS (and probably a WMS) request are made directly to the geoserver, the tile(s) are supplied no problem.As soon as the request is redirected via the proxy rule on my website server, the authentication fails (unless of course, by sheer conincidence, there happens to be a geoserver account with identical credentials)
I think the easiest thing to do would be to remove basic from the REST and GWC request chain, or at least move it below anonymous, but I cannot save any change that I make to these settings via the web interface. No changes are retained when I click on save.
Is there a way I can configure this via the XML instead or am I barking up the wrong tree entirely?
Help!
Neil
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.