[Qgis-user] Oriented Points

Huesmann, Michaela michaela.huesmann at Stadt-Steinfurt.de
Mon Nov 27 23:00:23 PST 2023


Hello,

the last two suggestions are very promising. Thank you!


Von: Ujaval Gandhi <ujaval at spatialthoughts.com>
Gesendet: Dienstag, 28. November 2023 07:47
An: Huesmann, Michaela <michaela.huesmann at Stadt-Steinfurt.de>
Cc: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] Oriented Points

If you want to add the angle of the underlying road automatically, this is doable using aggregate() expression to obtain the intersecting road sement and then obtaining the angle of the line using angle_at_vertex() function. You can set it up so it gets filled automatically as soon as you add the point. See the example at https://courses.spatialthoughts.com/advanced-qgis.html#auto-populate-field-values<https://mailtrack.io/link/feb25ae438375010ca500c6e9f8ac548258a5f24?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl&url=https%3A%2F%2Fcourses.spatialthoughts.com%2Fadvanced-qgis.html%23auto-populate-field-values&userId=8747767&signature=5f152cff5c7d6c42>

---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com<https://mailtrack.io/link/af54bb078ed4c217497b3e9254ca31f7413ccad4?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=f51b0b0b5e0138b8>



[Das Bild wurde vom Absender entfernt.]
On Mon, Nov 27, 2023 at 7:21 PM Huesmann, Michaela via QGIS-User <qgis-user at lists.osgeo.org> wrote:
Thank you, Ujaval Gandhi. 'Measure Angle' is a good idea. I didn’t know that tool!
I would like to have the points oriented tot he underlaying road.

Von: Ujaval Gandhi <ujaval at spatialthoughts.com<mailto:ujaval at spatialthoughts.com>>
Gesendet: Montag, 27. November 2023 14:47
An: Huesmann, Michaela <michaela.huesmann at Stadt-Steinfurt.de>
Cc: qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>
Betreff: Re: [Qgis-user] Oriented Points

I see. If the angle is from a fixed reference point, you can add an expression using azimuth() function in the Attribute Form that sets the default value of the attribute to the angle between the current point and the target point. If your reference point is not fixed but you need to select it manually, you can add the angle after digitizing. Use the 'Measure Angle' tool from the toolbar and measure the angle between the target point and reference point. Make sure to enable snapping so you get the exact point coordinates. Copy/Paste the result into the attribute table.
---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com<https://mailtrack.io/link/dbc52f97fbd5b94c024193e16e621de86373b32e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=498c91d372ea82a6>



[Das Bild wurde vom Absender entfernt.]
On Mon, Nov 27, 2023 at 6:04 PM Huesmann, Michaela via QGIS-User <qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>> wrote:
Hello,

Thanks for pointing out that I can capture an attribute using rotation. I already know that I can use the angle attribute to rotate the symbol. But it is very difficult to determine the respective angle. If I type in the value manually, I have to correct it 5 times until it is exactly as it should. This is extremely unproductive. Rotating  doesn't work with the "Rotate Object" tool.

From Geomedia, I'm used to the fact that when recording, you first click on the position point and then record the direction using the mouse position. That's what I was looking for in QGIS.
Best regards,
Michaela



Von: Ujaval Gandhi <ujaval at spatialthoughts.com<mailto:ujaval at spatialthoughts.com>>
Gesendet: Montag, 27. November 2023 12:32
An: Huesmann, Michaela <michaela.huesmann at Stadt-Steinfurt.de>
Cc: qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>
Betreff: Re: [Qgis-user] Oriented Points

Just add an attribute for the rotation/orientation. You can visualize them using the technique shown here https://www.communityhealthmaps.org/blog/2019/02/21/mapping-field-photos-in-qgis<https://mailtrack.io/link/24fbc2e171ace0e065dca7ad8a988e33440db9bf?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl&url=https%3A%2F%2Fwww.communityhealthmaps.org%2Fblog%2F2019%2F02%2F21%2Fmapping-field-photos-in-qgis&userId=8747767&signature=218b5ea232016f3e>
---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com<https://mailtrack.io/link/40f7fc9598c4280f3ffd3d282723fc66c1f08f7e?w=bWljaGFlbGEuaHVlc21hbm5Ac3RhZHQtc3RlaW5mdXJ0LmRl&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=2980740ac02388fd>



[Das Bild wurde vom Absender entfernt.]
On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User <qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>> wrote:
Hello QGIS group,

how can I digitize oriented points in QGIS? I probably have to provide information when creating the geometry type fort he object class so that the rotation can be recorded.
Must be easy I guess but didn’t found out yet.

Best regards,
Michaela

[Kreisstadt Steinfurt]<http://www.steinfurt.de>

 - 48565 Steinfurt
www.steinfurt.de<http://www.steinfurt.de>



Mit freundlichen Grüßen
im Auftrag
Michaela Huesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: michaela.huesmann at Stadt-Steinfurt.de<mailto:michaela.huesmann at Stadt-Steinfurt.de>


Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.
_______________________________________________
QGIS-User mailing list
QGIS-User at lists.osgeo.org<mailto: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
_______________________________________________
QGIS-User mailing list
QGIS-User at lists.osgeo.org<mailto: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
_______________________________________________
QGIS-User mailing list
QGIS-User at lists.osgeo.org<mailto: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/20231128/e6abc44b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231128/e6abc44b/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 406 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231128/e6abc44b/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 5292 bytes
Desc: image002.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231128/e6abc44b/attachment-0005.jpg>


More information about the QGIS-User mailing list