How to avoide HUGE .map files {Scanned}
Michael Scharber
mscharber at UCSD.EDU
Mon Mar 13 09:13:00 PST 2006
Zoltan (,Ed M. and Bart),
Thanks for the quick response despite my obvious neglect for the list
archives on this occasion. The preprocessor route sounds close to
perfect, and no doubt will work just fine for us.
Cheers,
Michael
*******************************************************
Michael Scharber
Scripps Institution of Oceanography
Institute of Geophysics and Planetary Physics
8785 Biological Grade
IGPP Room 4212
La Jolla, CA 92037
mscharber at gpsmail.ucsd.edu
(858)534-1750
*******************************************************
On Thu, 9 Mar 2006, Siki Zoltan wrote:
> Hi,
>
> You can use cpp (c preprocessor) havind #include directives.
> The only withdraw you have to escape map file comments using ## or \#
>
> Zoltan
>
> On Thu, 9 Mar 2006, Michael Scharber wrote:
>
>> Ed,
>>
>> Though I'm not looking for an editor, per se, I would like to know how to
>> reuse chunks of mapfile config (100s of lines) across multiple mapfiles
>> with little or no replication. Is there a way to "include" mapfile
>> fragments into other mapfiles?
>>
>> Michael
>>
>>
>> On Thu, 9 Mar 2006, Ed Dowding wrote:
>>
>>> Does anyone have any advice on how to avoid huge .map files?
>>>
>>> We have a flash interface to our mapserver app, and we have mapping for the
>>> whole or europe (and much of america) down to building outline level.
>>>
>>> Our interface makes it possible to scroll the map from country to country,
>>> and zoom in/out, so really all styling has to be in the one file.
>>>
>>> But...
>>>
>>> 1) Does it all have to be in that file? Am I right about this?
>>>
>>> 2) any tips on managing and styling them? I'm currently using jedit since it
>>> has nice code folding. I'm yet to find a GUI that exports .map files in a
>>> format that is immediately usable.
>>>
>>> 3) any other tips from anyone?
>>>
>>> Thanks in advance,
>>>
>>> Ed
>>>
>>
>
More information about the MapServer-users
mailing list