[mapserver-users] python mapscript - creating vector symbols on the fly?
Umberto Nicoletti
umberto.nicoletti at gmail.com
Wed Sep 24 23:46:43 PDT 2008
David,
after a quick look it seems that the API is there, although I am not
entirely sure whether it is stable or tested.
in pseudocode:
symbol=new symbolObj()
//set attributes of symbol
map->symbolset.append(symbol)
Regards,
Umberto
On Wed, Sep 24, 2008 at 10:09 PM, Fawcett, David
<David.Fawcett at state.mn.us> wrote:
> In Python mapscript, is it possible to construct a vector symbol, like a
> circle, without referencing a mapfile or a symbolset file?
>
> Essentially, build this in code:
>
> SYMBOL
> NAME 'circle'
> TYPE ELLIPSE
> POINTS 1 1 END
> FILLED TRUE
> END
>
> If so, a few lines of code would be greatly appreciated...
>
> David.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list