[Geoserver-devel] [JIRA] (GEOS-9354) problem using expression for external graphics url

Tobias Warneke created an issue

GeoServer / BugGEOS-9354

problem using expression for external graphics url

Issue Type:

BugBug

Affects Versions:

2.14.3

Assignee:

Unassigned

Components:

YSLD

Created:

01/Oct/19 3:48 PM

Priority:

MediumMedium

Reporter:

Tobias Warneke

I want to choose different external images depending on some property. Using this kind of expression I was able to set values for fill, stroke and so on. Somehow I am not able to do this with an external graphics,

{{- rules:

  • title: FNZ_FP_GRUEN
    filter: $ {tabelle=‘FNZ_FP_GRUEN’}

    symbolizers:

  • polygon:
    stroke-width: 0.5
    stroke-color: ‘#000000
    fill-color: ‘#00e408

  • point:
    size: 30
    symbols:

  • external:
    url:
    $ {recode(fnt_fp_gruen_zweckbestimmung, 1200, ‘xplanung/planzeichen/svg/F_xplanFP_Gruen_xplanzweckbestimmung_1200_corrected.svg’)}

    format: image/svg+xml}}

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#100111-sha1:5bdb5ce)

Atlassian logo