I'm trying to extract the coordinates of the Points/Vertices of a Shape in python. Using 1.6.2 Pro
I can access the individual shape (Polygon). From here, I'm not sure how to get useful data from this.
In [119]: chunk.shapes.shapes[0].vertex_ids
Out[119]: 2020-04-15 17:34:31 Shape.Vertices([95, 96, 97, 98, 99, 100, 101, 102])
In [120]: chunk.shapes.shapes[0].vertices
In [121]:
What do I do with the vertex id to access the data in that vertex?
My goal is to be able to draw a bounding rectangle around the shapes that I drew in. So I need to get the contents of my shape and be able to pull the values. I know there is the exportShape option that will then export it as geoJson which I can later read, but I'd rather skip that in between step.