Closed tfilppula closed 6 months ago
Given that we are modifying this part, would it make sense to also add an example in case of unprojected coordinates (geographic)?
Given that we are modifying this part, would it make sense to also add an example in case of unprojected coordinates (geographic)?
Why? Even if you use a non-projected grid, you have to specify the "approximateGridResolution" in meters. The attribute type is "real" so it would be something like "7.12345". In my opinion, the only meaningful modification would be to change "5" to "5.0" to clarify that you can enter decimal numbers.
@tfilppula What's your opinion?
If the coordinates are geographic, is it expected to have 2 or 1 approximateGridResolution values? Along the N-S axis, how is the suggested approximated value calculated? E.g., it could be the maximum value, the average value. In @RohdeBSH's example ("7.12345"), should such a value be truncated or rounded to a significant digit (e.g., "7.123")? These are 3 aspects that look unclear/undefined to me in the current formulation of the attribute.
@giumas @RohdeBSH Multiplicity is 1..2 and in the remarks it says:
A single value may be provided when all axes have a common resolution.
For multiple value provision, use axis order as specified in dataset.
So either one value if the ground resolution is the same (approximately) for both axes or two values if they are different. I think the standard is quite clear here.
As the name suggests this is an approximate value - I don't think it is necessary to go for millimetre level. For geographic grids I personally would probably use the mean value for (longitude) resolution but someone else might use something else. If there is a big difference in resolution (north-south), it might be worth considering splitting the dataset to two or more datasets or using UTM projection to minimise scale error.
Bottom line: I wouldn't change it.
@tfilppula, I still believe that an additional example for geographic grids would be useful.
Remove sentence May be approximate for ungeorectified data (not applicable to this edition of S-102).
NOTE: If the grid cell size varies over the extent of the grid, an approximated value based on model parameters or production metadata should be used.