Convert X/Y into lat/lon

Good morning,

I’d like to know how to easily pass from the ccordinates X/Y into lat/lon ?

One of my aim would be to convert all the points get with an algorithm into some polygons with
POLYGON ((-49.933544101870744 -61.562006795884024, -50.47523745170603 -62.19631714447857,
-51.30840310334998 -62.74436829617122, -52.402363695589024 -63.193239718632945,
-53.71744514171366 -63.52929101319845, -55.20448372867764 -63.73918220129877,
-56.80501178133849 -63.81033607448932, -58.45407077341958 -63.73249660561153,
-60.08283376349207 -63.497437815363845, -61.553462022392694 -63.119288099031316,
-62.75890625048867 -62.63347813223357, -63.683875119442945 -62.0650539408315,
-64.32229547888535 -61.43832781880707, -64.6735691525122 -60.77641345089132,
-64.74037802327634 -60.10090281007338, -64.52580228586893 -59.431524821013795,
-64.03294309150489 -58.786557715514256, -63.29933761690495 -58.20943276843938,
-62.38891904143167 -57.73424340691031, -61.336843587811 -57.36278723099138,
-60.17451083197244 -57.097794900318526, -58.92965042331549 -56.942506730469574,
-57.627365544262766 -56.90118962299554, -56.29045655983574 -56.978964510113556,
-54.940435959326344 -57.18211818659964, -53.65951553062331 -57.501418460324814,
-52.52391744968413 -57.91379808790023, -51.548466154048576 -58.40544560473826,
-50.75265616280176 -58.96245973153152, -50.16118462104741 -59.57114342399823,
-49.8035089272149 -60.2173584504152, -49.714418941894436 -60.88629584905644,
-49.933544101870744 -61.562006795884024))

Do I have to sort my set of point in order to create a circle like the example above ?

Thanks.

Hi @arossCLS,

What you have is a polygon geometry in the WKT format. Did you try one of the many converters from WKT to lat/long?

M

Do you want to get the lat/lon values for x/y pixel coordinates?
How do you get the x/y coordinates?
In the desktop application, you can draw a polygon. Afterwards, you can select from the context menu of the view ‘WKT from Geometry’

Could you describe your use-case and your intended workflow a bit more? It is difficult to give a suggestion without knowing what you want to do.

Good afternoon MCG & marco,

My goal is to convert POLYGON ((-49.933544101870744 -61.562006795884024, -50.47523745170603 -62.19631714447857,
-51.30840310334998 -62.74436829617122, -52.402363695589024 -63.193239718632945,
-53.71744514171366 -63.52929101319845, -55.20448372867764 -63.73918220129877,
-56.80501178133849 -63.81033607448932, -58.45407077341958 -63.73249660561153,
-60.08283376349207 -63.497437815363845, -61.553462022392694 -63.119288099031316,
-62.75890625048867 -62.63347813223357, -63.683875119442945 -62.0650539408315,
-64.32229547888535 -61.43832781880707, -64.6735691525122 -60.77641345089132,
-64.74037802327634 -60.10090281007338, -64.52580228586893 -59.431524821013795,
-64.03294309150489 -58.786557715514256, -63.29933761690495 -58.20943276843938,
-62.38891904143167 -57.73424340691031, -61.336843587811 -57.36278723099138,
-60.17451083197244 -57.097794900318526, -58.92965042331549 -56.942506730469574,
-57.627365544262766 -56.90118962299554, -56.29045655983574 -56.978964510113556,
-54.940435959326344 -57.18211818659964, -53.65951553062331 -57.501418460324814,
-52.52391744968413 -57.91379808790023, -51.548466154048576 -58.40544560473826,
-50.75265616280176 -58.96245973153152, -50.16118462104741 -59.57114342399823,
-49.8035089272149 -60.2173584504152, -49.714418941894436 -60.88629584905644,
-49.933544101870744 -61.562006795884024))

into some Polygon which contain the values of the positions of my pixels in X/Y (and vice-versa)
Indeed, I’d like to create a polygon with a set of point (known in X/Y = position in the matrix) in order to detect the edge of some specific areas.

I real goal it to create some area which contain an area in the image where there is no clouds (but not with a sharp pattern like the masks in the products)