[mapserver-users] Pyhton mapscript and "styleitem auto"
Jelmer Baas
baas at speerit.nl
Fri Mar 25 04:51:02 PDT 2011
Tamas,
Thanks for the reply. This setting does indeed work, however: you still need to define a (empty) class for the layer, otherwise it’s simply invisible. Might I suggest documenting this?
Thanks again,
Regards,
Jelmer
From: Tamas Szekeres [mailto:szekerest at gmail.com]
Sent: woensdag 23 maart 2011 19:05
To: Jelmer Baas
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Pyhton mapscript and "styleitem auto"
Hi,
If you set the styleitem property of the layerObj to the string 'AUTO' that should be equivalent to the same setting in the mapfile.
Best regards,
Tamas
2011/3/23 Jelmer Baas <baas at speerit.nl<mailto:baas at speerit.nl>>
Hi all,
I've managed to build my first Python project and use mapscript to open tab files and render an image.
The styling still remains, though. Since I use OGR to open MapInfo TAB files, I'd like to use mapscript equivalent of styleitem "auto", if possible. Can someone please point me in the right direction?
Regards,
Jelmer Baas
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110325/3c41dfbf/attachment.htm>
More information about the MapServer-users
mailing list