[Mapit-de] Mapit modification

Frank Koormann frank.koormann at intevation.de
Mon Mar 29 13:18:59 CEST 2004


[added list again]

Hi Rob,

* Rob Hageman <rob at hagemann.nl> [040329 11:58]:
> Hi Frank.
> 
> Thanks for the fast reply, you understood it correct.
> I want to work with seperate markerdefs files per user, but before
> making any modifications, I was wondering if Mapit is able to support
> multiple users at the same time.
> Next challenge is how to modify. I have markersdefs files in
> userdirectories.
> I have to look into python, I suppose to start in common.py
> 
> Are there any examples of such a modification?

No, I don't know of such examples. However, common.py is a good starter:
Have a look at the Parameters.__init__ method which processes the cgi
parameters and generates the MarkerInfo Object from
mapconfig.marker_locations and other parameters. Should be sufficient to 
make this variable. However, this has some side restrictions: A new 
CGI-parameter 'marker_locations' must be processed (and MarkerInfo
available) before the 'marker' parameter is processed. Should be taken
some care about this.

Best regards,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)




More information about the Mapit-de mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)