Frederic Leclercq ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=626ba442a32183006f25d3ab
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZmZjNDMzYWEyNTkwNDE1Yjg0MGUzYmU1ZmU2MzBhZGMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10477?atlOrigin=eyJpIjoiZmZjNDMzYWEyNTkwNDE1Yjg0MGUzYmU1ZmU2MzBhZGMiLCJwIjoiaiJ9
 ) GEOS-10477 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10477?atlOrigin=eyJpIjoiZmZjNDMzYWEyNTkwNDE1Yjg0MGUzYmU1ZmU2MzBhZGMiLCJwIjoiaiJ9
 ) SLD - Validation error on Normalize-node ( 
https://osgeo-org.atlassian.net/browse/GEOS-10477?atlOrigin=eyJpIjoiZmZjNDMzYWEyNTkwNDE1Yjg0MGUzYmU1ZmU2MzBhZGMiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.20.4 Assignee: Unassigned Components: 
Validation Created: 29/Apr/22 10:42 AM Priority: Medium Reporter: Frederic 
Leclercq ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=626ba442a32183006f25d3ab
 )

According to the documentation I could you use this node in the SLD:

<ContrastEnhancement>
<Normalize>
<VendorOption name="algorithm">StretchToMinimumMaximum</VendorOption>
<VendorOption name="minValue">50</VendorOption>
<VendorOption name="maxValue">100</VendorOption>
</Normalize>
</ContrastEnhancement>

Unfortunately it doesn't seems to validate:

line: cvc-complex-type.2.1: Element 'Normalize' must have no character
or element information item [children], because the type's content type
is empty.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10477#add-comment?atlOrigin=eyJpIjoiZmZjNDMzYWEyNTkwNDE1Yjg0MGUzYmU1ZmU2MzBhZGMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10477#add-comment?atlOrigin=eyJpIjoiZmZjNDMzYWEyNTkwNDE1Yjg0MGUzYmU1ZmU2MzBhZGMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198- 
sha1:0065a29 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to