Hi all,
I've encountered a case of an image near (but not crossing) the antimeridian where the KML footprint output contains coordinates that are both wrapped and unwrapped.
Is this expected behaviour? My expectation is that values would be trimmed to the range [-180, 180]. Skimming through some KML specifications, it doesn't seem to be explicitly forbidden for LineStrings (confusingly, it's forbidden for some geometry types but not others), but it is still a slightly surprising result.
I've attached an example KML and copied an excerpt showing the coordinates below.
Cheers,
Daniel
<coordinates> 181.407,70.9866,0
[...]
181.5,71.003,0
-178.493,71.0043,0
[...]
-178.324,70.9832,0
181.481,70.9477,0
181.488,70.949,0
181.495,70.9502,0
-178.498,70.9515,0
[...]
-178.329,70.9818,0
181.407,70.9866,0
[...]
181.495,70.9854,0
-178.495,70.9853,0
[...]
-178.331,70.9829,0
181.481,70.9477,0
181.486,70.9504,0
181.49,70.9531,0
181.494,70.9557,0
181.499,70.9584,0
-178.497,70.9611,0
[...]
-178.399,71.0194,0
</coordinates>