logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How can I convert a list of point coordinates into a polygon?
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful

Didger 4
Didger 4 has easily converts points to polylines and polygons (and vice versa). To do this:

  1. To convert points into polygons, first select the points you want to use by dragging the selection rectangle around the points or by selecting each point in the Data Manager while holding the Ctrl key.
  2. When you have the points selected go to Tools | Change Boundary Type | Points to Polyline.
  3. If you want to create a polygon, select the polyline you just created and go to Tools | Change Boundary Type | Polyline to Polygon.

Didger 3
Didger 3 does not have an automatic way to convert points to polygons. What you can do is convert your text file of point coordinates into a BLN file defining a polygon. Then import this BLN file into Didger as a vector file.

To create the BLN file, you could do this in any text editor program (like Excel, WordPad, or Notepad). A BLN file consists of a one-line header followed by a list of XY coordinates. The BLN header is just the number of data points that follow. For example, below would be a BLN file of a square with each side of a length of 3:

5 <--BLN header
0,0 <--first coordinate in your list
3,0
3,3
0,3
0,0 <--same coordinate as first coordinate to "close" the polygon.

Just save the file as a TXT file and then in Windows Explorer change the extension to a BLN file.

NOTE:
1. Be sure the first and last set of coordinates are the same so Didger recognizes the shape as a polygon (otherwise it would be a polyline).
2. The points must be listed in consecutive order in a BLN file, so that each point joins with the next point in the list.

Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Products