godber / gdal_pds

A GDAL wrapper for the PDS filetype in python
MIT License
1 stars 1 forks source link

Label Comments are lost #3

Closed godber closed 9 years ago

godber commented 10 years ago

The label comments are currently lost.

godber commented 10 years ago

They are now being overwritten rather than lost:

{
    "PDS_VERSION_ID": "PDS3", 
    "_emptyline": "True", 
    "_comment": "/* IMAGE HEADER DATA ELEMENTS */", 
    "RECORD_TYPE": "FIXED_LENGTH", 

Perhaps I should keep a number them, _comment_1, _comment_2 and so on? Same goes for emptylines.

godber commented 9 years ago

Closing, this will be resolved when I use the new ANTLR based PDS label parser.