I have a polygon shapefile that contains all the neighbourhoods in the Netherlands.
My aim is to export the neighbourhoods and coordinates to CSV file (KWT).
Without success I tried (with QGIS) these 'solutions':
It got me to the point where I have all the attributes (from my vector layer) in a CSV file. The problem lies in that I can't seem to find any geodata (coordinates) in them.
Where can I find the polygon coordinates to finally export them with the neighbourhoods out my shapefile to CSV?
code $polygon = geoPHP:load('POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))','wkt'); $area = $polygon->getArea(); $centroid = $polygon->getCentroid(); $centX = $centroid->getX(); $centY = $centroid->getY();What kind of formula would i need to apply in my field calculator to stay within the format of geophp? (Sorry, but adding spaces didn't give me linebrakes)
– user25765 Jan 16 '14 at 12:01