Skip to main content

Hello,


Can i plot multipolygon by simply pasting the code in the popup?


I’m trying to plot a line using :{“type”:“Polygon”,“coordinates”:oor99.78736,3.84262],899.8001972,3.83161]]]}

and a dot using: {“type”:“Polygon”,“coordinates”:ygo99.8001972,3.83161]]]}

It works when i plot one or the other, but i have no clue how to plot both of them.


Idea is to pinpoint the position of a ship in the below photo:


apps.sentinel-hub.com
4818d5180d6e814a7098bd19c793964fc6feade9.jpg

Sentinel-hub EO-Browser3



Sentinel-2 L2A imagery taken on January 6, 2022







Hi it sounds like you are trying to plot a point and also a polyline in the same file? If using a geojson I don’t think this is possible, it either has to be a polyline or a point. You generally can’t mix the two datatypes together. In EO Browser you can either upload polygons or create points of interest with the tools in the top right of the application window:



If I have misunderstood what you’re trying to do, please let me know!


Hello,


Thank you. You understand me correctly. I’m trying to plot a point and a line.

I do understand that you can’t mix the types, so i try to plot them as polygons and it works.

Issue is that i want to be able to see both of them at the same time, but i can only achieve one at a time (see below screenshots)


line {“type”:“Polygon”,“coordinates”:co99.78736,3.84262],.100.12268,3.55313]]]}


Dot: {“type”:“Polygon”,“coordinates”:oly99.80011,3.83161]]]}


apps.sentinel-hub.com
d1a75e2faa557bee3ced96f6c23e3f6d9fee488d.jpg

Sentinel-hub EO-Browser3



Sentinel-2 L2A imagery taken on January 6, 2022










OK think I understand, I would recommend using something like Wicket to generate your polygons then copy the WKT into EO Browser. The example works well for me.


Thank you. This is exactly what i was trying to achieve.

I don’t understand how i couldn’t find the proper syntax for MULTIPOLYGON.

Tried now MULTIPOLYGON (((99.78736 3.84262 , 100.12268 3.55313)),((99.80011 3.83161 , 99.80311 3.83461))) and it worked perfectly (uses my coordinates + some magic numbers)


Reply