You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BoundingBox struct encodes and decodes northwest and southeast coordinates, in that order, whereas the GeoJSON specification expects southwest and northeast coordinates:
If an application decodes GeoJSON, the in-memory representation is incorrect. If an application creates a BoundingBox programmatically and encodes it to GeoJSON, the GeoJSON is incorrect.
The
BoundingBox
struct encodes and decodes northwest and southeast coordinates, in that order, whereas the GeoJSON specification expects southwest and northeast coordinates:turf-swift/Sources/Turf/BoundingBox.swift
Lines 48 to 49 in bd5227e
If an application decodes GeoJSON, the in-memory representation is incorrect. If an application creates a
BoundingBox
programmatically and encodes it to GeoJSON, the GeoJSON is incorrect.BoundingBox
was probably copied from MapboxDirections’CoordinateBounds
type, which was fixed in mapbox/mapbox-directions-swift#348./cc @mapbox/navigation-ios @frederoni
The text was updated successfully, but these errors were encountered: