Message 1 of 14
Deciphering the Layer State File (.las) and its Mapping?

Not applicable
08-06-2017
06:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been attempting to decipher the Layer State File (.las) format and mapping. These files are created when you export a Layer State. I have been unable to find any documentation.
I have written a tool to convert .las files to .csv for comparison purposes but without knowing what each value represents I am unable to completely trust my tool. Can anyone help with the mapping of these values?
Attached is a basic example of a .las file containing 3 layers (you can open it in any basic text editor):
0 # >>> Start of 'Header' LAYERSTATEDICTIONARY 0 # ??? LAYERSTATE 1 # ??? ExampleLAS # Name of Layer State 91 # ??? 2047 # ??? 301 # ??? # ??? 290 # ??? 0 # Current Layer when Layer State was saved 302 # ??? 0 # <<< End of 'Header' 8 # >>> Start of Attributes for First Layer; What does '8' mean/represent? C-ANNO # Layer Name 90 # ??? 8 # Layer 'State' as some sort of bitwise value?; ie Frozen/Thawed/On/Off/Locked/Unlocked/Plot/NoPlot 62 # ??? 2 # Color 370 # ??? -3 # Lineweight; -3 is 'Default' 6 # ??? Continuous # Linetype 2 # ??? Color_2 # Plot Style 440 # ??? 0 # <<< End of Attributes for First Layer; What does '0' mean/represent? 8 # Then Repeats, 14 lines per layer... (unless the color is stored as RGB, then it's 16 lines, ugh) Defpoints 90 2 62 9 370 -3 6 Continuous 2 Color_9 440 0 8 0 90 8 62 7 370 -3 6 Continuous 2 Color_7 440 0
Thanks.