Hi Dylan,

Not sure what you want to achieve exactly, but I guess you will need a python script for this in QGIS. Or export WKT from excel if that is easier for you.

But if it is just for visualization, you might be able to do this with a 'geometry generator' on a point layer with bearings in the attribute table.

Kind regards,
Raymond



On 20-08-19 12:00, Dylan Copeland wrote:
Hi All,

I have in the past created polygons by importing a csv as a wkt. I did this by 
in the csv creating all points of the polygon by coordinate (e.g. POLYGON 
((592540 6520776,592530 6520776,592530 6520766,592540 6520766,592540 6520776)). 
But what I really want to do this time is to create 10 metre square polygons by 
defining the initial point and then specifying the bearing and distance to the 
next point and so on.

I have tried many subtle variations on this theme: POLYGON ((592540 6520776 180 
10, 90 10, 360 10, 270 10)), where the starting point is identified, the 
bearing is defined, and the distance of 10 specified, but the closest that I 
seem to be able to get is a long, thin line that seems suspiciously close to 
6,520,776 metres long with a bearing of ~185.

Ultimately, what I am trying to do, is draw a polygon where the rotation is 
defined by the azimuth value from a photo point in the corner (ie, if the 
azimuth of the respective photo is 135 then I want that value to be the bearing 
from the photo point corner of the polygon to the corner diagonally opposite).

There’s a lot of polygons that I need to define this way (although at this 
point it might have been quicker just to draw them all individually), and I am 
much more comfortable slogging through a spreadsheet than dabbling in Python.

Any suggestions on how to make this work, or alternatives to achieve the same 
outcome, would be greatly received.

Thanks,
Dtlan

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to