[Geoserver-devel] [JIRA] (GEOS-8343) MBStyle error with zoom-and-property function

Torben Barsballe created an issue

GeoServer / BugGEOS-8343

MBStyle error with zoom-and-property function

Issue Type:

BugBug

Assignee:

Unassigned

Created:

13/Oct/17 11:30 PM

Priority:

MediumMedium

Reporter:

Torben Barsballe

The following style:

    {
        "version": 8,
        "name": "places",
        "layers": [
            {
                "id": "places-circle",
                "source-layer": "ne_50m_populated_places",
                "minzoom": 2,
                "filter": ["!=", "ADM0CAP", 1],
                "type": "circle",
                "paint": {
                    "circle-color": "#333333",
                    "circle-radius": {
  						"property": "POP_MAX",
                        "type": "exponential",
                        "stops": [
                            [{"zoom": 0, "value": 0}, 3],
                            [{"zoom": 0, "value": 40000000}, 3]
                            [{"zoom": 3, "value": 0}, 3],
                            [{"zoom": 3, "value": 40000000}, 5]
                        ]
					}
                }
            }
        ]
    }

Produces an

{IllegalStateException: Layer places-circle:Reduce zoom and property function prior to use.}

Looks like some part of the circle layer conversion is not calling reduce before converting the function

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#100065-sha1:15f419c)

Atlassian logo