Next part of the question on creating layers. What would be the best way to keep up with the list of layers and their respective properties? As I see it, there are 2 ways I can do this.
- Hard code all the layer information into the .Net DLL
- Keep an external file full of the information.
If I go with option 2, what is the best type of file to maintain? I'm thinking XML file or TXT file. XML has its advantages in that when editing, all the properties are delineated by the XML tags. If I use a TXT file, should I use comma delimited or tab delimited file? Ideas? Other pros or cons I haven't thought of?
Edit:
Hard coding has obvious disadvantages in that I have to redistribute the DLL everytime there is an update. Are there other disadvantages you can think of?