qgis

QGIS: add polygon by inputting coordinates


Simple question, I want to edit a layer to add a square:

x,y
10,10
10,20
20,20
20,10

But I don't want to put it into a csv/txt file, I just want to input the coordinates one at time and construct the polygon, any ideas?


Solution

  • not entirely sure what you mean, but you can create a well-known text file with coords:

    "id","st_astext" 3,"POLYGON((380021.900198576 277004.918072763,380001.683890889 276942.789907678,380057.895087871

    and then import the csv?