Hello Seth,
you are right. I am using PHP MapScript rather than then SWIG bindings.
Actually the question where the setPattern method belongs to was my
first question to the dev List.
http://osgeo-org.1560.x6.nabble.com/setPattern-in-symbolObj-in-PHP-MapScript-td5389111.html
As it is at least
Hi Nicol,
Not sure if this helps but in the Python MapScript bindings the API changed at
some point, and now uses:
symbol.pattern = [0, 1]
https://github.com/mapserver/mapserver/blob/418e15cda5109e3a47c6691567e3e3e62e964187/mapscript/python/tests/cases/symbol_test.py#L135
This however is
Hello,
after looking closer into the source code I was able to resolve the
issue of setting the 'linecap' property. The property expects
constants. It works if you are specifying one of them:
MS_CJC_NONE (0)
MS_CJC_BEVEL (1)
MS_CJC_BUTT (2)
MS_CJC_MITER (3)
MS_CJC_ROUND (4)
MS_CJC_SQUARE (5)
I have only tried using shp2img to test my map file.
I will try running from the PHP command line as well.
One thing that I have noticed is that restarting httpd fixes the problem for
a little while, and then, a while later, the problem crops up again. So I
think it is a httpd/php/mapserver
Yes, I'm using brackets
[fstatus]
Thanks :)
Sebastiano Laini
Web Developer
Buchanan Computing
From: Sebastiano Laini
Sent: 25 January 2019 08:34
To: 'mapserver-users@lists.osgeo.org'
Subject: reserved words
Hello,
Is there some reserved words for the xml template that you can't use as a
Hello Sebastiano,
yes:
https://mapserver.org/mapfile/template.html#file-reference
but:
the keywords only should be replaced, if you use the brackets []
and I don't know, if it is possible to escape the brackets.
Regards, Jörg
Am 25.01.19 um 09:34 schrieb Sebastiano Laini:
> Hello,
>
>
>
>
Hello,
Is there some reserved words for the xml template that you can't use as a field?
Yesterday in a XML template to have back data from the database there was a
field called LEGEND, and that instead of giving back the column LEGEND from the
database was populate with a linux path followed