[Qgis-user] Creating polygons using bearing and distance
C Hamilton
adenaculture at gmail.com
Tue Aug 20 05:55:21 PDT 2019
I have a capability somewhat similar to what you are asking for in the
Shape Tools plugin. See
http://plugins.qgis.org/plugins/shapetools/
It is the "Azimuth distance sequence digitizer". If you start with a
polygon layer then it will create polygons. The way this tool works is that
you click on the map to define the starting point. You then enter a line at
a time, "azimuth distance" pairs and it creates the polygon. This tool was
created because older surveys were often defined this way.
I'm not sure if the initial clicking on the map works for you or not. I am
planning on adding the ability to interface with the QGIS snapping so once
I get that working which will be sometime this week then you could define
the points first and when you use the tool it will snap to the points and
then you add in the azimuth and distances.
If this is a standard use (meaning more than just one person) to take a
table or a point layer with the azimuth distance sequences, then I could
consider adding in a processing function to do this.
Calvin
On Tue, Aug 20, 2019 at 6:07 AM Dylan Copeland <nrmo at icloud.com> 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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190820/f2a7128f/attachment-0001.html>
More information about the Qgis-user
mailing list