I am trying to find a way to draw an mapbox vector layer with linestrings
(traffic flow data), via openlayers (4.2.0) with different line offset per
zoomlevel. As far as I know Openlayers does not have any option to set an
offset for lines. The mapbox layer is created by using a Geoserver (2.11.1 +
plugin), which already filters which lines to draw in which zoom level. This
SLD also has the attribute

 <PerpendicularOffset>4</PerpendicularOffset>

set without any effect to the vector data.

My Question is: Is there any way to solve this Issue on GeoServer side?

On Client side I use a ol.source.VectorTile with the "ol.format.MVT()"
format and it seems I am not able to get any geocoordinates from the
openlayers features, which I could then transform
(feature.getGeometry().getCoordinates() is undefinded). By line offset I
mean not a X and Y pixel, it is (one value) based on the line orientation /
direction.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Openlayers-Geoserver-Mapbox-Vector-Tiles-line-offset-tp5330964.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to