-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hello everyone, I want to ask if there is other way to create a polygon besides using an array.
In the present, i need to create a polygon in this way:

My problem is that my input is a big string that contains a lot of points, and to get each point i parse my string and set it to the above "Coord" array' and afterward I add it to the polygon.
Is there a way to set the string as is into the polygon without parse it?
Because what if I have a string that contains 20,000 points ? In the current way I will need to build an array with 20,000 cells and add it one by one, and in the end add it to the polygon as the example above.
If there isn't a way in the current version, can you add this ability to the next elastic API version, Please?
Best regards,
Oren Noy
GIS SoftWare Developer