[Qgis-user] Create polygons with attributes from csv-file

Andre Joost andre+joost at nurfuerspam.de
Thu May 21 07:51:29 PDT 2015


Am 21.05.2015 um 15:08 schrieb Nicole Stoffels:
> Dear QGIS-users,
>
> I have a csv-file containing the corner coordinates of different forests
> with different heights. The file is structured like this:
>
> FID,forest_id,point_id,X,Y,height
> 1,forest1,point1,10.915763,54.137004,25
> 2,forest1,point2,10.917392,54.138734,25
> 3,forest1,point3,10.915822,54.140197,25
> 4,forest1,point4,10.913504,54.140824,25
> 5,forest1,point5,10.913541,54.138637,25
> 6,forest2,point1,10.897562,54.150324,20
> 7,forest2,point2,10.897907,54.149662,20
> 8,forest2,point3,10.900432,54.148912,20
> 9,forest2,point4,10.901194,54.149092,20
>
> Now I want to make two polygons from the two different forests
> containing the attribute height.

You can get the polygons easily with the MMQGIS plugin -> Import/Export 
-> Geometry Import from CSV file.

It lets you select the common ID column, X, Y and geometry type.

Only height is not imported.

HTH,
André Joost





More information about the Qgis-user mailing list