Hi Armin, It's interesting... in addition, we can generate the map file using other application so the INCLUDE part would be very helpful...
Cheers, Serge On Fri, Dec 9, 2011 at 11:26 AM, Armin Burger <armin.bur...@gmx.net> wrote: > nothing directly available like that. Also to me it would not make much > of sense adding a shape-based layer to the application without > specifying some layer details (classes & legend, field names for > identify, definition of category, search functions for the new layer, etc). > > One possibility to reduce the amount of interaction of an administrator > would be to try to define everything in the map file, without the > necessity of modifying the XML config file. It is e.g. not necessary to > define the layers/groups and categories in the XML file. The categories > can be defined as well in the map file using the METADATA tag > "CATEGORY" "cat_admin" > or > "CATEGORY" "cat_admin:Administrative Data" > if you directly want to define the descriptive name visible in the > application in the map file. > > You could define the layers in separate files and just reference them to > the map file using the INCLUDE tag for adding a newly defined one, like > > INCLUDE "/home/pmapper/myapp/country.lyr" > INCLUDE "/home/pmapper/myapp/cities.lyr" > > see http://mapserver.org/mapfile/Include.html > > Doing this could also be mainly automated with some scripting (PHP, > Perl, Python, Unix shell, etc), and would require to run an update > script once that checks for new layer definition files and add them to > the map file. > > Armin > > On 09/12/2011 16:37, George Owusu wrote: > > Hello, > > > > Is there pmapper administrative interface that an administrator can use > to > > upload shape files and it will automatically be displayed for clients to > > view them? > > > > Thanks, > > > > George > > > ------------------------------------------------------------------------------ > > Cloud Services Checklist: Pricing and Packaging Optimization > > This white paper is intended to serve as a reference, checklist and > point of > > discussion for anyone considering optimizing the pricing and packaging > model > > of a cloud services business. Read Now! > > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > > _______________________________________________ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point > of > discussion for anyone considering optimizing the pricing and packaging > model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > -- Serge ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users