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

---
Ujaval Gandhi
Spatial Thoughts



On Mon, Nov 27, 2023 at 7:21 PM Huesmann, Michaela via QGIS-User <qgis-user@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 <uja...@spatialthoughts.com>
Gesendet: Montag, 27. November 2023 14:47
An: Huesmann, Michaela <michaela.huesmann@Stadt-Steinfurt.de>
Cc: qgis-user@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

 

 


Das Bild wurde vom Absender entfernt.

On Mon, Nov 27, 2023 at 6:04 PM Huesmann, Michaela via QGIS-User <qgis-user@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 <uja...@spatialthoughts.com>
Gesendet: Montag, 27. November 2023 12:32
An: Huesmann, Michaela <michaela.huesmann@Stadt-Steinfurt.de>
Cc: qgis-user@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

---

Ujaval Gandhi

Spatial Thoughts

 

 


Das Bild wurde vom Absender entfernt.

On Mon, Nov 27, 2023 at 4:18 PM Huesmann, Michaela via QGIS-User <qgis-user@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

 - 48565 Steinfurt
www.steinfurt.de



Mit freundlichen Grüßen

im Auftrag
Michaela Huesmann 
IT
Fachdienst Tiefbau
 
Tel.: +49 2552 925 219
Fax:
E-Mail: michaela.huesmann@Stadt-Steinfurt.de


Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.

_______________________________________________
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

_______________________________________________
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