Closed letmaik closed 8 years ago
Yes, I think we should allow both forms. For one thing this will give easy compatibility with CF-NetCDF.
It would probably be worth explicitly highlighting this in the spec (and/or cookbook) if you haven't done so already, as this may be surprising (and hopefully welcome) for some GIS folk.
Added this.
Just so that we are aware of it...
Currently, the spec says:
This means that both
{ "start": 0, "stop": 10, "num": 5 }
and{ "start": 10, "stop": 0, "num": 5 }
are allowed. I just tested both in my JS libraries and both work. I think we should allow both forms, right? For latitude this is useful (the reverse way) as you can then write down your range array in natural order from top to bottom, corresponding to north -> south or how you would look at the pixels of a rendered (satellite) image.Any objection?