Great Alex! You might add a new page to the MapServer wiki for your steps: 
https://github.com/mapserver/mapserver/wiki

-Jeff

On Aug 13, 2014 3:08 PM, Alex Lopes <[email protected]> wrote:
>
> Thank you everybody who helped me. I'll study all the suggestions and post 
> here the complete source code of my solution.
>
> Alex
>
>
> 2014-08-13 9:34 GMT-04:00 Jeff McKenna <[email protected]>:
>>
>> Definitely leverage mapfile INCLUDEs 
>> (http://mapserver.org/mapfile/include.html). In your case, each LAYER could 
>> be an include, and you could have a mapfile template file that your shell 
>> script writes those include layers into.
>>
>> I recently saw a presentation at FOSS4G-Europe from PropertyShark, who 
>> manages thousands of layers, using includes, and generates them through 
>> custom Perl scripts (you can read about that discussion, or contact them, 
>> through the recent Google+ discussion 
>> https://plus.google.com/communities/103841604654304099367).
>>
>> -jeff
>>
>>
>> -- 
>> Jeff McKenna
>> MapServer Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>>
>>
>> On 2014-08-13 10:03 AM, Alex Lopes wrote:
>>>
>>> Hi Everybody,
>>>
>>>
>>> I need to create a script shell to build thousands of mapfiles based on
>>> postgis layers.
>>>
>>> Which is the best way to accomplish this task?
>>>
>>> Best regards,
>>> Alex
>>>
>>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to