Re: [Qgis-user] Windows BATCH-File Start
Hi Asmus, I think on Windows 10 you need to prefix your command with "C:\Windows\System32\cmd.exe". Hope this helps. Regards Burghardt Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Asmus Harder Gesendet: Freitag, 23. April 2021 13:41 An: qgis-user@lists.osgeo.org Betreff: [Qgis-user] Windows BATCH-File Start Hi there, I tried to use in QGIS 3.16 on Windows10 a old layer-action from QGIS 2.18. If I cklick on one object the action should start an BATCH-file and gives some attributes as parameter to the batch-file. But it doesn't work, nothing happens. In QGIS2.18 it works fine. If I use "Open" as type and only the BATCH-File without parameter than the BATCH opens. If I add an parameter than nothing happens. For example this work: "d:\Test_Batch_Aufruf.bat" but this doesn't work: "d:\Test_Batch_Aufruf.bat" "Hello" If I use a exe-file it works with a parameter. For example this work fine: "c:\Program Files\IrfanView\i_view64.exe" "D:\50342_col.tif" Any idea why the BATCH-file doesn't start with parameter? greetings Asmus ___ 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
Re: [Qgis-user] GPX group, add field "name" from track layer to attribut table point layer
Dear Greg, thank you for your kindly answer! Meanwhile I found a solution for my problem. I can use the menu "Extract Vertices" to solve my problem. This creates a usable point layer with the needed "name" field. The "tracklogs" you mentioned are GPS-Tracks from a GPS-Device? I use the same for my map. But anyway, I'll check your remarks about the bounding boxes! Kind regards Piet Axel Am 25.04.21 um 16:32 schrieb Greg Troxel: APM writes: if I import a gpx file via "Data source manager", I get a group with two layers: 1. "track_points" as PointZ layer 2. "tracks" as MultiLineStringZ The "tracks" layer contains a field "name" in the attribute table. This field is not in the "track_points layer". I have also been loading GPX of tracks, but in my case they are actual tracklogs rather than trail geometries. I'm not sure which you have. Generally, I have loaded tracks and not loaded trackpoints. This has seemed like a good choice except for brief tracks at fixed locations (as a form of position averaging to get a more reliable/accurate position for a point). But for tracks that represent trails, I find that the trackpoints just cause clutter and I don't find them useful. They are implicitly present as vertices of the multilinestring. I wonder if you are rendering track points, and if so why (you probably understand something I don't; that's not meant to be "don't do that"). As for labeling, it seems pretty normal to have name labels on multilinestrings, as that's basically how roads are, and it seems labeling attempts to avoid overlap anyway. I wonder if your svg object is somehow bigger than its bounding box, so qgis thinks it doesn't overlap but yet it does? Greg ___ 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
Re: [Qgis-user] GPX group, add field "name" from track layer to attribut table point layer
APM writes: > if I import a gpx file via "Data source manager", I get a group with > two layers: > > 1. "track_points" as PointZ layer > > 2. "tracks" as MultiLineStringZ > > The "tracks" layer contains a field "name" in the attribute table. > > This field is not in the "track_points layer". I have also been loading GPX of tracks, but in my case they are actual tracklogs rather than trail geometries. I'm not sure which you have. Generally, I have loaded tracks and not loaded trackpoints. This has seemed like a good choice except for brief tracks at fixed locations (as a form of position averaging to get a more reliable/accurate position for a point). But for tracks that represent trails, I find that the trackpoints just cause clutter and I don't find them useful. They are implicitly present as vertices of the multilinestring. I wonder if you are rendering track points, and if so why (you probably understand something I don't; that's not meant to be "don't do that"). As for labeling, it seems pretty normal to have name labels on multilinestrings, as that's basically how roads are, and it seems labeling attempts to avoid overlap anyway. I wonder if your svg object is somehow bigger than its bounding box, so qgis thinks it doesn't overlap but yet it does? Greg signature.asc Description: PGP signature ___ 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] GPX group, add field "name" from track layer to attribut table point layer
Dear List, if I import a gpx file via "Data source manager", I get a group with two layers: 1. "track_points" as PointZ layer 2. "tracks" as MultiLineStringZ The "tracks" layer contains a field "name" in the attribute table. This field is not in the "track_points layer". Is there a way to add the field "name" in the "track_point" layer, so that every point has the track name which he belongs to? I need this to create a map with hiking signs of the tracks. I use the field "name" to get the relation between hiking signs and the tracks. Basically it works, but I have overlapping SVG signs in the map. To avoid this overlapping, I try to use the "point displacement" in the "Symbology" menu. But I'm not sure if it will work. Maybe there is a better way to avoid the overlapping. Thank you for you help! KR Piet ___ 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