[Geoserver-devel] [JIRA] (GEOS-11017) MBStyle produces error in OGC API Styles if it contains complex functions

Markus Heber created an issue

GeoServer / BugGEOS-11017

MBStyle produces error in OGC API Styles if it contains complex functions

Issue Type:

BugBug

Affects Versions:

2.23.1

Assignee:

Unassigned

Components:

styling

Created:

06/Jun/23 1:40 PM

Priority:

MediumMedium

Reporter:

Markus Heber

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 .

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225-sha1:3b7cdab)

Atlassian logo