Markus Heber ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A9a3b86c1-6296-4ccd-a28e-e8c07ea1a02a
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZWYxZGZiMzVkNjZkNDhmMzgyYWEzOWI1Njg0NmMxY2YiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-11017?atlOrigin=eyJpIjoiZWYxZGZiMzVkNjZkNDhmMzgyYWEzOWI1Njg0NmMxY2YiLCJwIjoiaiJ9
 ) GEOS-11017 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11017?atlOrigin=eyJpIjoiZWYxZGZiMzVkNjZkNDhmMzgyYWEzOWI1Njg0NmMxY2YiLCJwIjoiaiJ9
 ) MBStyle produces error in OGC API Styles if it contains complex functions ( 
https://osgeo-org.atlassian.net/browse/GEOS-11017?atlOrigin=eyJpIjoiZWYxZGZiMzVkNjZkNDhmMzgyYWEzOWI1Njg0NmMxY2YiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.23.1 Assignee: Unassigned Components: 
styling Created: 06/Jun/23 1:40 PM Priority: Medium Reporter: Markus Heber ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A9a3b86c1-6296-4ccd-a28e-e8c07ea1a02a
 )

If a mapbox gl style contains complex expressions like e.g.

"line-width": ["interpolate",["linear"],["zoom"],0,0,14,6]

this style produces an error if requested over OGC API Styles (by calling 
/geoserver/ogc/styles/v1/styles/test:mbteststyle/metadata?f=html )

The result is:

{
   "type": "NoApplicableCode",
   "title": "org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 
Premature end of file.\nPremature end of file."
}

I can imaging that not all MBStyles can be auto-converted to SLD-styles, but it 
would be nice if also complex MB-styles would be delivered 1:1 .

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

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#100225- 
sha1:3b7cdab )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to