2

I am trying to turns points into polygons, but I encounter this challenge :

My data set has 1000 entries. Each entry has 360 associated columns, each with a coordinate pair. When connected, these coordinate pairs should all draw a specific circle or circle-like shape. So, the end result I am looking for is 1000 polygons, one for each entry.

It's a fairly large set to work with, so I am trying to strategize the best approach. What would you do?

It doesn't seem feasible to use Display XY Data --> Point to Line --> Line to Point for each entry. I'm looking for a more elegant solution.

closed as off-topic by Vince, Andre Silva, PolyGeo Mar 24 '16 at 20:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – Vince, Andre Silva, PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    If you're looking for an arcpy solution, as your tags indicate, then please show us what you have tried so far and how it failed to accomplish your goal. – Tom Mar 24 '16 at 18:57
  • 1
    Are you saying you have 1000 records where each record includes 720 columns of X or Y coordinates that form a circle like shape? Or are there 360 columns? Or are there separate files? Your description of how your data is laid out is very vague. Ideally all coordinate pairs would be transposed from a single record into two columns of coordinate in the same order, all sharing the same ID of the original record in a column (i.e., 360,000 records with 1000 ID sets). Then the 3 steps you mentioned would create all 1000 lines all in one go. – Richard Fairhurst Mar 24 '16 at 19:00
  • 2
    A polygon is an ordered list of vertices. You need to preserve order OR use a convex hull function on a pointcluster. Don't forget to close the poly with the starting vertex. Policy here at GIS SE is for coding questions is to start with a good-faith effort at code; this allows our volunteers to help you without having to become a coding service. – Vince Mar 24 '16 at 19:03
  • 1
    Please edit the question in response to requests for clarification. The Tour gives details of how things work here. – Vince Mar 24 '16 at 19:05
  • 1
    You need to provide code before we can help you. The formal name is a Minimal, Complete and Verifiable Example (MCVE) – Vince Mar 24 '16 at 19:17
3

Convert each table record into 360 points

Calculate minimum spanning tree.

Dissolve 359 lines into one

Convert line vertices. to polygon

Proceed with next record

Yes it is script

Update

@Vince idea will work better, points to multipoint and convex hull of it. Convex hull is built-in method for arcpy geomety

Not the answer you're looking for? Browse other questions tagged or ask your own question.