Harry Haroldinio (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ed0d0a5730ec90c19a0e378
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGQ2MDc0YjI1NmMzNGUxZmExMjFhMmYwNWY4YTBlMWEiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-9662?atlOrigin=eyJpIjoiZGQ2MDc0YjI1NmMzNGUxZmExMjFhMmYwNWY4YTBlMWEiLCJwIjoiaiJ9
) GEOS-9662 (
https://osgeo-org.atlassian.net/browse/GEOS-9662?atlOrigin=eyJpIjoiZGQ2MDc0YjI1NmMzNGUxZmExMjFhMmYwNWY4YTBlMWEiLCJwIjoiaiJ9
) GeoServer displacement property ignores rotation of point symbolizers mark
symbols in YSLD (
https://osgeo-org.atlassian.net/browse/GEOS-9662?atlOrigin=eyJpIjoiZGQ2MDc0YjI1NmMzNGUxZmExMjFhMmYwNWY4YTBlMWEiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.16.3, 2.17.1 Assignee: Unassigned
Attachments: fig1.jpg, fig2.jpg Created: 25/Jun/20 10:17 AM Priority: Medium
Reporter: Harry Haroldinio (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ed0d0a5730ec90c19a0e378
)
Displacement property is supported for point symbolizer in YSLD. It's working
well with no rotation. Below example is SVG black simple vertically oriented
arrow, green square and red circle. All of them are rotated by 45 degrees
(fig1.jpg):
( https://osgeo-org.atlassian.net/secure/attachment/33509/33509_fig1.jpg )
name: style
feature-styles:
- name: style
rules:
- name: style
symbolizers:
- point:
uom: metre
size: 4
rotation: 45
displacement: [0,0]
symbols:
- external:
url: "./znaki_poziome/P-8a_2.svg"
format: image/svg+xml
- point:
uom: metre
size: 1.5
rotation: 45
symbols:
- mark:
shape: square
stroke-color: '#3d8035'
stroke-width: 0.1
- point:
uom: metre
size: 0.25
rotation: 45
displacement: [0,0]
symbols:
- mark:
shape: circle
stroke-color: '#ff0000'
stroke-width: 0.1
When I change the displacement property to [0,0.5] for arrow and circle, the
SVG arrow symbol is displacement correctly but the circle and any other mark
symbol will be shifted as if rotation were ignored (fig2.jpg):
( https://osgeo-org.atlassian.net/secure/attachment/33508/33508_fig2.jpg )
name: style
feature-styles:
- name: style
rules:
- name: style
symbolizers:
- point:
uom: metre
size: 4
rotation: 45
displacement: [0,0.5]
symbols:
- external:
url: "./znaki_poziome/P-8a_2.svg"
format: image/svg+xml
- point:
uom: metre
size: 1.5
rotation: 45
symbols:
- mark:
shape: square
stroke-color: '#3d8035'
stroke-width: 0.1
- point:
uom: metre
size: 0.25
rotation: 45
displacement: [0,0.5]
symbols:
- mark:
shape: circle
stroke-color: '#ff0000'
stroke-width: 0.1
I would like the displacement property to work from mark symbols as for svg
symbols, including the rotation of the symbols.
Issue reported also by me at:
https://gis.stackexchange.com/questions/362494/geoserver-displacement-property-shifted-rotation-ignored-position-of-point-sym
(
https://osgeo-org.atlassian.net/browse/GEOS-9662#add-comment?atlOrigin=eyJpIjoiZGQ2MDc0YjI1NmMzNGUxZmExMjFhMmYwNWY4YTBlMWEiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-9662#add-comment?atlOrigin=eyJpIjoiZGQ2MDc0YjI1NmMzNGUxZmExMjFhMmYwNWY4YTBlMWEiLCJwIjoiaiJ9
)
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#100130-
sha1:74b7c6b )_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel