i am working on studyproject on swamps and i want to give some Meta-Data a spatial Context. Would it be possible to seperate these information and give it a value. There is the information ;/;//;/// which contains the hight of the earth layer. And the Name e.g. og-Hn which is the substrate-typ.
Is that possible. Do i need a plug-in for that ? or is it possible to do it by good list-management. There are over thousand items so i really need to have a definition for that.
are " \ " and " / " both equally (randomly) used as separators for different depths? or do they have a particular meaning depending on how they are oriented?
also, is the " - " symbol used to define the presence of a mix of different types of substrates together at same depth?
the thing of having the very same symbol / with different meaning depending on how many times it’s used, implies the “search” must be done according to an order, where /// comes first, then //, and finally /
same thing for values like " Hn " having a meaning, then " H " having a different meaning: Hn must be searched first
could you please provide the internalized full-set value list (this)
together with a full list of symbols and their meaning?
for instance, if we replace all instances of “H” with “Torf” , it will also find an H in “og-Hn”, which will become “OG-Torfn”, so simple find and replace can’t be used directly unless very careful considerations are done first
Conditional evaluation/analysis of strings is arguably simpler in textual programming languages. In Python you could use e.g. regular expressions, but a simple switch statement (i.e. a long if-else statement) like this one where we check if a string contains a substring will likely also do the trick (and is easier to read/understand):