[mapserver-users] PHP Mapscript styleObj implementation broken?
Nicol Hermann
mapserver at geoworld.de
Thu Jan 24 10:21:11 PST 2019
Hello,
I have huge difficulties to use the styleObj in PHP MapScript
(Mapserver 7.3-dev, PHP 7.1).
I am struggling with the setPattern() method and the linecap property.
If I am using
$styleObj-> setPattern( array( 8.0, 12.0) );
this gets translated to the following MapFile syntax
PATTERN
4620693217682128896.00 4622945017495814144.00
END
The attempt to set the linecap property
$styleObj-> set('linecap', 'butt' );
results in
LINECAP NONE
Specifying it as integer completely removes the property.
Can someone please advice if these are bugs or if I am doing something
wrong as this is not documented?
Thank you very much
Nicol
More information about the MapServer-users
mailing list