We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea564b8 commit b352808Copy full SHA for b352808
desktop/src/app/components/image/georeference/geotiff-import.ts
@@ -26,12 +26,11 @@ export async function getGeoreferenceFromGeotiff(buffer: Buffer): Promise<ImageG
26
}
27
28
29
-
30
function createGeoreference(boundingBox: any): ImageGeoreference {
31
32
return {
33
- topLeftCoordinates: [boundingBox[1], boundingBox[0]],
34
- topRightCoordinates: [boundingBox[1], boundingBox[2]],
35
- bottomLeftCoordinates: [boundingBox[3], boundingBox[0]]
+ topLeftCoordinates: [boundingBox[3], boundingBox[0]],
+ topRightCoordinates: [boundingBox[3], boundingBox[2]],
+ bottomLeftCoordinates: [boundingBox[1], boundingBox[0]]
36
};
37
0 commit comments