orbitusii / loki-bms-csharp

Battle Management Scope for DCS World (and maybe others?), this time in C#!
MIT License
2 stars 0 forks source link

O2KML Issue - Some Gometry not showing correctly #28

Closed orbitusii closed 11 months ago

orbitusii commented 11 months ago

image

Not sure what's going on here, need to go through the KML files and see if there's any formatting weirdness that would confuse O2KML, or if it's just a problem within LOKI.

In the included image, Normandy is too narrow E-W, there shouldn't be a map in China (I think that's probably Nevada?), and the Falklands are nowhere to be seen (maybe the weird line off the east coast of Africa?). I suspect negative numbers aren't being parsed properly.

orbitusii commented 11 months ago

Dug into the Regex in O2KML, discovered there's a definite lack of handling for negative numbers! Dunno how I missed that, updating the nuget package and shipping it...

orbitusii commented 11 months ago

image Fixed in O2Kml 0.1.3, updated package and error is resolved.