geopython/pygeometa

use of json arays in yaml

pvgenuchten opened this issue · 2 comments

for keywords and bounding box the json syntax is used inside yaml

- bbox: [-141,42,-52,84]

This presents challenges for example in case I use yaml.dump to serialise a python object to disk as yaml

I wonder why the array are not encoded as yaml, eg

    - bbox: 
      - -8.0333333
      - 49.233343899999994
      - 2.8333224999999995
      - 59.8333333

@pvgenuchten what are the resulting issues/challenges? Either approach is valid YAML, AFAICT.

ok clear, no further issues identified, just for clarification

so closing...