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

Reply via email to