Harry Haroldinio ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ed0d0a5730ec90c19a0e378 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMDVjZTZmMTFjZWU2NDNiYWExZjYyYmRhNmUwODNlMDgiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-9640?atlOrigin=eyJpIjoiMDVjZTZmMTFjZWU2NDNiYWExZjYyYmRhNmUwODNlMDgiLCJwIjoiaiJ9 ) GEOS-9640 ( https://osgeo-org.atlassian.net/browse/GEOS-9640?atlOrigin=eyJpIjoiMDVjZTZmMTFjZWU2NDNiYWExZjYyYmRhNmUwODNlMDgiLCJwIjoiaiJ9 ) Function PointN doesn't work in YSLD ( https://osgeo-org.atlassian.net/browse/GEOS-9640?atlOrigin=eyJpIjoiMDVjZTZmMTFjZWU2NDNiYWExZjYyYmRhNmUwODNlMDgiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.16.2, 2.16.3, 2.17.1 Assignee: Unassigned Components: YSLD Created: 04/Jun/20 9:38 AM Priority: High Reporter: Harry Haroldinio ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ed0d0a5730ec90c19a0e378 ) YSLD example below doesn't display any label like the pointN function doesn't return any value: name: style feature-styles: - name: style rules: - name: style symbolizers: - text: uom: metre geometry: ${pointN(geometry,1)} label: ${geometryType(geometry)} placement: point fill-color: '#000088' font-family: Tahoma font-size: 0.5 Change the geometry and label part to display geometry type also won't display any label: geometry: ${geometry} label: ${toWKT(pointN(geometry,1))} But changing label to ${getX(pointN(geometry,1))} will display always 0.0 regardless of number of point we enter: geometry: ${geometry} label: ${getX(pointN(geometry,1))} Issue reported also by me at: https://gis.stackexchange.com/questions/363382/geoserver-function-pointn-doesnt-work-in-ysld ( http://example.com ) ( https://osgeo-org.atlassian.net/browse/GEOS-9640#add-comment?atlOrigin=eyJpIjoiMDVjZTZmMTFjZWU2NDNiYWExZjYyYmRhNmUwODNlMDgiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9640#add-comment?atlOrigin=eyJpIjoiMDVjZTZmMTFjZWU2NDNiYWExZjYyYmRhNmUwODNlMDgiLCJwIjoiaiJ9 ) 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#100128- sha1:e736ab1 )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
