I have a problem with conversion from SqlGeography to IGeometryObject (use method - MsSqlSpatialConvert.ToGeoJSONGeometry).
At the entrance I submit Longitude, Latitude, and the output is a sequence contrary Latitude, Longitude.
May be bug at line 63,70 SqlGeographyGeoJSONSink.cs ?
Thanks for reporting the issue @develtos !
There was effectively a misorder in lat/lon parameters. This is now fixed.
@jbattermann could you push to nuget ?
Hi guys!
I have a problem with conversion from SqlGeography to IGeometryObject (use method -
MsSqlSpatialConvert.ToGeoJSONGeometry
). At the entrance I submit Longitude, Latitude, and the output is a sequence contrary Latitude, Longitude.May be bug at line 63,70 SqlGeographyGeoJSONSink.cs ?
Thanks.