[Mapserver-users] For MapScript + Zope users, ZMapServer 0.3
Sean Gillies
sgillies at frii.com
Tue Jan 28 08:48:05 PST 2003
J.F.,
Your understanding of ZMapServer and mapObjs is correct. On the
management
side of Zope, users can make edits to a permanent mapObj which is stored
in the Zope database. On the public side, applications interact with a
temporary mapObj that is cloned from the permanent mapObj and stored in
Zope session data. Instead of passing extents to a drawing method, one
changes the extent of the session mapObj and then calls it's draw
method.
I'm not sure how well this will scale, but performance so far has been
fine.
What have been your issues with the Python MapScript? Mine have not
been
so much with threading, but with the way the SWIGged mapserver objects
resist pickling, and lack of means for removing layers and classes from
a mapObj.
cheers,
Sean
On Tuesday, January 28, 2003, at 08:48 AM,
Jean-Francois.Doyon at ccrs.nrcan.gc.ca wrote:
> Sean,
>
> As a Zope and MapServer user, this is great news to me, unfortunately I
> personally don't have time to play with this yet, and Pyton/MapScript
> isn't
> rock solid enough yet for my needs, but I hope this effort is well
> received,
> as it has a LOT of potential.
>
> In fact I recall telling Dave at DM this would be a fantastic way to do
> things
> :)
>
> I take it when an object is created, the MapFile is loaded into a
> MapScript
> MapObject, and this object is stored in Zope? (Since I see from the
> screen
> shots there is an "export" function, suggesting the product doesn't
> interact
> directly with a mapfile on the filesystem).
>
> Now all I need is a rock solid, fully thread safe, non memory leaking
> mapserver/python MapScript (Not that it leaks memory, I dunno, I'm just
> saying, I'm not feeling confident about loading python mapscript into
> a long
> running process just yet).
>
> But I'm definitely going to have to look at this ... If this can be
> properly
> integrated into the CMF, wow, You just solved a LOT of issues for us :)
>
> Cheers,
> J.F.
>
> -----Original Message-----
> From: Sean Gillies [mailto:sgillies at frii.com]
> Sent: Monday, January 27, 2003 6:09 PM
> To: Mapserver Users
> Subject: [Mapserver-users] For MapScript + Zope users, ZMapServer 0.3
>
>
> Greetings,
>
> Those that downloaded the earlier release of ZMapServer and found
> it at all interesting will want to see the newest release. There
> are Zope wrappers for the layer and class objects and better
> methods for editing map, layer, and class properties through the
> Zope management interface. I've made the choice to build ZMapServer
> on the development MapServer (3.7) and have dropped support for
> 3.6. To complicate things a bit further, you'll either need to
> download and build the most recent MapScript (one new function
> in mapscript.i) from CVS or patch mapscript.i, adding the new method
> cleanPens():
>
> extend mapObj {
> ....
> void cleanPens() {
> msClearPenValues(self);
> }
> ....
>
> The release, more info, and screenshots for those who haven't
> access to a ZServer are available at:
> http://www.frii.com/~sgillies/projects/zmapserver/
>
> cheers,
> Sean
>
>
> --
> Sean Gillies
> sgillies at frii.com
> http://www.frii.com/~sgillies
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list