Wolfgang,

I keep saying this because it's important. You still need to go over my first 
reply that gave you more info as to what you should do from here. If you need 
any more help with anything specific then please ask.

Regards,

Miles


Wolfgang Wasserburger wrote:
> Miles,
>
> sorry, I never found that explanations in the documentation ;-)
>
> Now the SLD is valid, but the bug still resides ;-)
>
> Hope the newly attached file helps.
>
> CU Wolfgang
>
> -----Original Message----- From: Miles Jordan
> [mailto:[email protected]] Sent: Friday, February 25, 2011 3:11
> AM
> To: 'Wolfgang Wasserburger'; 'Andrea Aime' Cc:
> [email protected] Subject: RE: [Geoserver-users]
> 2.1
> RC2 - wrong order within sld [SEC=Unclassified]
>
> Yep, looking at the SLD specification, you have some elements called
> "Name" in the wrong place (among other things). The spec says, for Rule:
>
> <xs:element name="Rule">
>         <xs:complexType>
>                 <xs:sequence>
>                         <xs:element ref="sld:Name" minOccurs="0"/>
>                         <xs:element ref="sld:Title" minOccurs="0"/>
>                         <xs:element ref="sld:Abstract" minOccurs="0"/>
>                         <xs:element ref="sld:LegendGraphic"
>                         minOccurs="0"/> <xs:choice minOccurs="0">
>                                 <xs:element ref="ogc:Filter"/>
>                                 <xs:element ref="sld:ElseFilter"/>
>                         </xs:choice> <xs:element
>                         ref="sld:MinScaleDenominator" minOccurs="0"/>
>                         <xs:element ref="sld:MaxScaleDenominator"
>                         minOccurs="0"/> <xs:choice minOccurs="0"
> maxOccurs="unbounded">
>                                 <xs:element ref="sld:LineSymbolizer"/>
>                                 <xs:element
>                                 ref="sld:PolygonSymbolizer"/>
>                                 <xs:element ref="sld:PointSymbolizer"/>
>                                 <xs:element ref="sld:TextSymbolizer"/>
>                                 <xs:element
> ref="sld:RasterSymbolizer"/>
>                         </xs:choice>
>                 </xs:sequence>
>         </xs:complexType>
> </xs:element>
>
> That shows that MinScaleDenominator and MaxScaleDenominator must come
> after Name, Title, Abstract and Filter.
>
> You also have two cases of a <CssParameter name="fill"> inside of a
> <Graphic> which is not allowed (again, check the spec to validate what
> you are trying to do -
> http://portal.opengeospatial.org/files/index.php?artifact_id=1188).
>
> Please also take into consideration the other things that I've noted -
> you really must do this before a bug can be filed. To have it working
> in previous versions does not mean that was working correctly. But we
> can help you to make it work.
>
> Regards,
>
> Miles
>
>
> Wolfgang Wasserburger wrote:
>> Miles,
>>
>> the point is, that it worked with 2.0.x branch.
>>
>> Yes, I now also saw, that the validator found some errors, but I have
>> no clue, what they mean:
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'CssParameter'. One of
>> '{"http://www.opengis.net/sld":ExternalGraphic,
>> "http://www.opengis.net/sld":Mark,
>> "http://www.opengis.net/sld":Opacity,
>> "http://www.opengis.net/sld":Size,
>> "http://www.opengis.net/sld":Rotation}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'CssParameter'. One of
>> '{"http://www.opengis.net/sld":ExternalGraphic,
>> "http://www.opengis.net/sld":Mark,
>> "http://www.opengis.net/sld":Opacity,
>> "http://www.opengis.net/sld":Size,
>> "http://www.opengis.net/sld":Rotation}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>     * org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'Name'. One of
>> '{"http://www.opengis.net/sld":Symbolizer}' is expected.
>>
>>
>>
>> Can someone interprete that?
>>
>>
>>
>> Thx in advance
>>
>>
>>
>> Wolfgang
>>
>>
>>
>>
>>
>> From: Miles Jordan [mailto:[email protected]] Sent: Friday,
>> February 25, 2011 2:45 AM To: 'Wolfgang Wasserburger'; 'Andrea Aime'
>> Cc: [email protected] Subject: RE:
>> [Geoserver-users] 2.1 RC2 - wrong order within sld [SEC=Unclassified]
>>
>>
>>
>> You really need to fix your SLD before this can be considered a bug.
>> Please check my last email – and make sure your SLD passes validation
>> on the styles page of your Geoserver instance.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Miles
>>
>>
>>
>> From: Wolfgang Wasserburger [mailto:[email protected]] Sent:
>> Friday,
>> 25 February 2011 12:31 PM To: 'Andrea Aime' Cc:
>> [email protected] Subject: Re: [Geoserver-users]
>> 2.1
>> RC2 - wrong order within sld [SEC=Unclassified]
>>
>>
>>
>> Andrea,
>>
>>
>>
>> I could cut down the problem to a minimalistic postgis table which I
>> exported to sql, which I send with this eMail (OSM CC-BA-Licence)
>>
>>
>>
>> I send you also the SLD which causes the problem.
>>
>>
>>
>> The result looks like
>>
>> http://a.plan.at/wms?LAYERS=map:mlr1_geos_20&FORMAT=image%2Fpng&SERVI
>> C
>>
>> E=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fv
>> n
>>
>> d.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=1819716.8519975792,6144218.09
>> 0
>> 2787775,1824799.9142915208,6149301.152572823&WIDTH=256&HEIGHT=256
>>
>> All peaces should show the same picture symbolizing some bridges.
>>
>>
>>
>> Hope it is possible to reconstruct the bug now. Hope also that I do
>> not have included simple mistakes in the sld.
>>
>>
>>
>> Greetings
>>
>>
>>
>> Wolfgang
>>
>>
>>
>> From: [email protected] [mailto:[email protected]] On Behalf
>> Of Andrea Aime
>> Sent: Thursday, February 24, 2011 4:37 AM
>> To: Wolfgang Wasserburger
>> Cc: [email protected]
>> Subject: Re: [Geoserver-users] 2.1 RC2 - wrong order within sld
>>
>>
>>
>> On Wed, Feb 23, 2011 at 6:24 PM, Wolfgang Wasserburger
>> <[email protected]> wrote:
>>
>> Andrea,
>>
>>
>>
>> the data is based on the planet.osm, which is packed in our own
>> structure in a PostGIS database with approx. 700 GB. The rendering is
>> based on 32 layers in a layer group. The problematic layers within
>> are those representing bridges where every line is drawn 4 times.
>>
>> I could send you the group.xml and the several slds per PM, if that
>> could help.
>>
>> The application is running with SUN JVM within Tomcat6.
>>
>> This rendering problem wasn’t present in Release 2.0.x, which was
>> unstable for other reasons. When we updated now, we found these
>> artefacts.
>>
>>
>>
>> Hope that the situation is more clear now and you can find out the
>> reason.
>>
>>
>>
>>
>>
>> Unlikely... I can't reproduce it with my local data and if I can't
>> reproduce I cannot debug it.
>>
>> If you can extract a small subset of data and the styles then I can
>> have a look, otherwise I'll have
>>
>> to wait for someone to have it reproducable on a dataset that can be
>> shared.
>>
>>
>>
>> Cheers
>>
>> Andrea
>>
>>
>
>
>
> Regards,
>
> Miles
>


___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the
intended recipient, you are notified that use or dissemination of this 
communication is
strictly prohibited by Commonwealth law. If you have received this transmission 
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to