[Qgis-user] qgis browser hangs while opening big shapefile
Hi, I downloaded the latest shapefile of OSM for Belgium. When I open QGIS browser and point to the buildings.shp (size : 325959kB) the application hangs, so I can't change the CRM. I also tried clipping the buildings.shp with a polygon shape of a town but that resulted in the same unresponsive behavior. I'm using QGIS 2.16.1. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] qgis browser hangs while opening big shapefile
Hi Tyler, The shape can be downloaded from this link: http://download.geofabrik.de/europe/belgium.html I used Belgium-latest.shp Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Tyler Veinot [mailto:tylerkvei...@gmail.com] Verzonden: dinsdag 30 augustus 2016 13:53 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] qgis browser hangs while opening big shapefile Reginald; Can you send the shape? Tyler On Tue, Aug 30, 2016 at 6:40 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Hi, I downloaded the latest shapefile of OSM for Belgium. When I open QGIS browser and point to the buildings.shp (size : 325959kB) the application hangs, so I can’t change the CRM. I also tried clipping the buildings.shp with a polygon shape of a town but that resulted in the same unresponsive behavior. I’m using QGIS 2.16.1. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] qgis browser hangs while opening big shapefile
Tyler, I downloaded belgium-latest.shp.zip Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Tyler Veinot [mailto:tylerkvei...@gmail.com] Verzonden: dinsdag 30 augustus 2016 15:06 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] qgis browser hangs while opening big shapefile Reginald; There are 2 download options, I would like to test the one you downloaded. Which one did you download, latest of latest free? Tyler On Tue, Aug 30, 2016 at 9:23 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Hi Tyler, The shape can be downloaded from this link: http://download.geofabrik.de/europe/belgium.html I used Belgium-latest.shp Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Tyler Veinot [mailto:tylerkvei...@gmail.com<mailto:tylerkvei...@gmail.com>] Verzonden: dinsdag 30 augustus 2016 13:53 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] qgis browser hangs while opening big shapefile Reginald; Can you send the shape? Tyler On Tue, Aug 30, 2016 at 6:40 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Hi, I downloaded the latest shapefile of OSM for Belgium. When I open QGIS browser and point to the buildings.shp (size : 325959kB) the application hangs, so I can’t change the CRM. I also tried clipping the buildings.shp with a polygon shape of a town but that resulted in the same unresponsive behavior. I’m using QGIS 2.16.1. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] qgis browser hangs while opening big shapefile
Tyler; I tried to clip without adding to the project. It took about 20 seconds to complete. When I opened the resulting shapefile it was empty. The algorithm gave a warning that the two shapefiles were in a different CRS. So maybe this is the problem. I will try to put them in the same CRS. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Tyler Veinot [mailto:tylerkvei...@gmail.com] Verzonden: dinsdag 30 augustus 2016 15:49 Aan: Reginald Carlier; qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] qgis browser hangs while opening big shapefile Reginald; I am on 2.14.5 (thought I had also installed 2.16.x but I guess I skipped it). The first thing I noticed is when opening the file my memory usage doubled and qgis-ltr-bin.exe moved right to the top of the processes list. I didn't get any hang-ups but I feel I may have gotten close. Did you try using the clip function without adding the layers to the project? My machine did the clip faster and the result didn't not come in sluggish and I clipped it by about 1/3. Tyler On Tue, Aug 30, 2016 at 10:08 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Tyler, I downloaded belgium-latest.shp.zip Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Tyler Veinot [mailto:tylerkvei...@gmail.com<mailto:tylerkvei...@gmail.com>] Verzonden: dinsdag 30 augustus 2016 15:06 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Onderwerp: Re: [Qgis-user] qgis browser hangs while opening big shapefile Reginald; There are 2 download options, I would like to test the one you downloaded. Which one did you download, latest of latest free? Tyler On Tue, Aug 30, 2016 at 9:23 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Hi Tyler, The shape can be downloaded from this link: http://download.geofabrik.de/europe/belgium.html I used Belgium-latest.shp Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Tyler Veinot [mailto:tylerkvei...@gmail.com<mailto:tylerkvei...@gmail.com>] Verzonden: dinsdag 30 augustus 2016 13:53 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] qgis browser hangs while opening big shapefile Reginald; Can you send the shape? Tyler On Tue, Aug 30, 2016 at 6:40 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Hi, I downloaded the latest shapefile of OSM for Belgium. When I open QGIS browser and point to the buildings.shp (size : 325959kB) the application hangs, so I can’t change the CRM. I also tried clipping the buildings.shp with a polygon shape of a town but that resulted in the same unresponsive behavior. I’m using QGIS 2.16.1. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.
[Qgis-user] clip still not working on osm shape
Hi Nicolas, I changed the CRS of the shapefiles so they match (EPSG 4326). It takes about 30 seconds before the algorithm (Vector > Geoprocessing > Clippen) finisches. Then it loads the resulting shapefile in QGIS but the attributetable is empty and the resulting shp is 1 kB. It looks as the Clip function doesn't work. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] clip still not working on osm shape
Hi, I found that the problem was the conversion of the CRS. When I select the shape of the town (Lambert 72) in QGIS Browser and choose WGS 84 as CRS the extent is still in Lambert coordinates. I tried the same in ArcMap and there I got the same result. Then I tried a function in the toolbox under Data Management > Projections and Transformations > Project where you can choose the CRS and also the transformation algorithm. Then the shape of the town was shown in the right spot. I wonder if there is such a tool in QGIS. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 13:36 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Are you running the latest Qgis 2.16? If so, vector tool should be in the processing toolbox and not in the vector menu. I have only worked one day with 2.16 but it was long enough to see that it needed a complete removal of all previous versions as the menu had a mixe of the old and the new version. After that, vector tools disappeared from the vector menu and reappeared in the new processing menu. I had read about this in a French blog so I was expecting it. Could this be the cause of your problem? If not, make sure both layers are in the same CRS (like you did) but that they also align properly when the "CRS on the fly" is not activated. Try loading only those two layers. You could test to see if it's the osm file format that is giving you problems by testing the two .shp file. Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 05:33, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi Nicolas, I changed the CRS of the shapefiles so they match (EPSG 4326). It takes about 30 seconds before the algorithm (Vector > Geoprocessing > Clippen) finisches. Then it loads the resulting shapefile in QGIS but the attributetable is empty and the resulting shp is 1 kB. It looks as the Clip function doesn’t work. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] clip still not working on osm shape
Hi, No as I used QGIS Browser there is no option to save the changes. Also it would be great if there was an option to copy, paste or delete a shape. I guess I have to load the shape in QGIS and change the CRS and then use ‘save as’, but when I do that the saved shp shows in the same place as the unchanged shp. How can I adjust the extent so that it shows in the right location? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 14:50 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Did you resave the file in a new projection or just specified the layer projection by clicking on the layer in the layer manager? You need to save the file for the changes to be permanent. There are also more complex reprojection tools in Qgis. Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 08:35, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, I found that the problem was the conversion of the CRS. When I select the shape of the town (Lambert 72) in QGIS Browser and choose WGS 84 as CRS the extent is still in Lambert coordinates. I tried the same in ArcMap and there I got the same result. Then I tried a function in the toolbox under Data Management > Projections and Transformations > Project where you can choose the CRS and also the transformation algorithm. Then the shape of the town was shown in the right spot. I wonder if there is such a tool in QGIS. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 13:36 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Are you running the latest Qgis 2.16? If so, vector tool should be in the processing toolbox and not in the vector menu. I have only worked one day with 2.16 but it was long enough to see that it needed a complete removal of all previous versions as the menu had a mixe of the old and the new version. After that, vector tools disappeared from the vector menu and reappeared in the new processing menu. I had read about this in a French blog so I was expecting it. Could this be the cause of your problem? If not, make sure both layers are in the same CRS (like you did) but that they also align properly when the "CRS on the fly" is not activated. Try loading only those two layers. You could test to see if it's the osm file format that is giving you problems by testing the two .shp file. Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 05:33, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi Nicolas, I changed the CRS of the shapefiles so they match (EPSG 4326). It takes about 30 seconds before the algorithm (Vector > Geoprocessing > Clippen) finisches. Then it loads the resulting shapefile in QGIS but the attributetable is empty and the resulting shp is 1 kB. It looks as the Clip function doesn’t work. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] clip still not working on osm shape
Hi Nicolas, I’m a little lost here. I use QGIS 2.16.1. When I right click next to the toolbars I see no plugin that changes the CRS. When I save a file there is no option to choose the input CRS and output CRS. You can choose the CRS and there’s a checkbox to choose the extent which is not checked by default. So I don’t know what to do if I want to change the extent to the new CRS. Which of the 111 geo algorithms should I use to change the CRS and reproject the extent? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 15:24 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org Onderwerp: Re: clip still not working on osm shape Hi, To modify the shape files, you need to activate the toolbars by right clicking next to a toolbar. You will find a number of plugins also to help modify object. When you save a file, I think you have a input CRS and a output CRS. Make sure the add both. If it's not there, look in the processing toolbar for Qgis reprojection tools. What version of Qgis are you working with? Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 09:11, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, No as I used QGIS Browser there is no option to save the changes. Also it would be great if there was an option to copy, paste or delete a shape. I guess I have to load the shape in QGIS and change the CRS and then use ‘save as’, but when I do that the saved shp shows in the same place as the unchanged shp. How can I adjust the extent so that it shows in the right location? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 14:50 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Did you resave the file in a new projection or just specified the layer projection by clicking on the layer in the layer manager? You need to save the file for the changes to be permanent. There are also more complex reprojection tools in Qgis. Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 08:35, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, I found that the problem was the conversion of the CRS. When I select the shape of the town (Lambert 72) in QGIS Browser and choose WGS 84 as CRS the extent is still in Lambert coordinates. I tried the same in ArcMap and there I got the same result. Then I tried a function in the toolbox under Data Management > Projections and Transformations > Project where you can choose the CRS and also the transformation algorithm. Then the shape of the town was shown in the right spot. I wonder if there is such a tool in QGIS. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 13:36 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Are you running the latest Qgis 2.16? If so, vector tool should be in the processing toolbox and not in the vector menu. I have only worked one day with 2.16 but it was long enough to
Re: [Qgis-user] clip still not working on osm shape
Hi, This procedure changes the CRS but the extent remains the same. The question is how to reproject the extent of the shape. Thanks, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: DelazJ [mailto:del...@gmail.com] Verzonden: donderdag 1 september 2016 15:32 Aan: Reginald Carlier CC: Nicolas Cadieux; qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] clip still not working on osm shape Hi, Reginald, in QGIS, Layer menu --> Save As ... (or simply a right-click on the layer) helps you create a reproject the layer in another projection. This is an easy way you could (actually) change the crs of your layers. Once done, the clip process should have succeeded. Changing the projection in the layer properties is not the way to do it. 2016-09-01 14:35 GMT+02:00 Reginald Carlier mailto:reginald.carl...@ingelmunster.be>>: Hi, I found that the problem was the conversion of the CRS. When I select the shape of the town (Lambert 72) in QGIS Browser and choose WGS 84 as CRS the extent is still in Lambert coordinates. I tried the same in ArcMap and there I got the same result. Then I tried a function in the toolbox under Data Management > Projections and Transformations > Project where you can choose the CRS and also the transformation algorithm. Then the shape of the town was shown in the right spot. I wonder if there is such a tool in QGIS. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca<mailto:nicolas.cadi...@archeotec.ca>] Verzonden: donderdag 1 september 2016 13:36 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Are you running the latest Qgis 2.16? If so, vector tool should be in the processing toolbox and not in the vector menu. I have only worked one day with 2.16 but it was long enough to see that it needed a complete removal of all previous versions as the menu had a mixe of the old and the new version. After that, vector tools disappeared from the vector menu and reappeared in the new processing menu. I had read about this in a French blog so I was expecting it. Could this be the cause of your problem? If not, make sure both layers are in the same CRS (like you did) but that they also align properly when the "CRS on the fly" is not activated. Try loading only those two layers. You could test to see if it's the osm file format that is giving you problems by testing the two .shp file. Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 05:33, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi Nicolas, I changed the CRS of the shapefiles so they match (EPSG 4326). It takes about 30 seconds before the algorithm (Vector > Geoprocessing > Clippen) finisches. Then it loads the resulting shapefile in QGIS but the attributetable is empty and the resulting shp is 1 kB. It looks as the Clip function doesn’t work. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: h
Re: [Qgis-user] clip still not working on osm shape
Hi, I tried the Reprojection layer tool but that doesn’t change the extent. The reprojected layer appears in the same spot as the old layer. Reginald, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 16:31 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org Onderwerp: Re: clip still not working on osm shape Hi, You are correct. Sorry, I was working from memory. Try Qgis geoalgorithms, Reprojection layer. You can search the processing plugin with"reprojection". The right click is to activate toolbars for the "digitizing"and "advanced digitizing toolbars." Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 09:57, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi Nicolas, I’m a little lost here. I use QGIS 2.16.1. When I right click next to the toolbars I see no plugin that changes the CRS. When I save a file there is no option to choose the input CRS and output CRS. You can choose the CRS and there’s a checkbox to choose the extent which is not checked by default. So I don’t know what to do if I want to change the extent to the new CRS. Which of the 111 geo algorithms should I use to change the CRS and reproject the extent? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 15:24 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Onderwerp: Re: clip still not working on osm shape Hi, To modify the shape files, you need to activate the toolbars by right clicking next to a toolbar. You will find a number of plugins also to help modify object. When you save a file, I think you have a input CRS and a output CRS. Make sure the add both. If it's not there, look in the processing toolbar for Qgis reprojection tools. What version of Qgis are you working with? Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 09:11, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, No as I used QGIS Browser there is no option to save the changes. Also it would be great if there was an option to copy, paste or delete a shape. I guess I have to load the shape in QGIS and change the CRS and then use ‘save as’, but when I do that the saved shp shows in the same place as the unchanged shp. How can I adjust the extent so that it shows in the right location? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 14:50 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, Did you resave the file in a new projection or just specified the layer projection by clicking on the layer in the layer manager? You need to save the file for the changes to be permanent. There are also more complex reprojection tools in Qgis. Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 08:35, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, I found that the problem was the conversion of the CRS. When I select the shape of the town
Re: [Qgis-user] clip still not working on osm shape
Hi, I guess you are right. When I turn off OTF (CRS transformation), the lambert 72 shape shows in the right spot on the WGS 84 map. I have been working too much with ArcMap I guess. Sorry for your lost time. It made me a lot wiser. Thanks, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: vrijdag 2 september 2016 14:17 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, By "extent", I now understand the you mean that the layer is not in the correct spot. (In my mind, extent only changes once the clipping is done.). The coordinates may not change much depending on the type of transformation you are asking. The idea is to get both layer to overlap in the right spot. Then to clip the layers using the clipping tools. For both layers (clipping and osm), ask yourself the following: Are both layers overlapping? Are both in the correct CRS? Are both correctly georeferenced? If so, then you should be able to clip them. If the layers overlap, then does the clipping tool work? Try with a simple file and test with different files formats. It may be that the osm file format is giving you problems. The OSM is a vector file? Make sure you turn off the "on the fly CRS". If it's activated, the layer will be reprojected on the fly using the project CRS that you see in the lower right corner of the screen. I usually use a wms server as a background to help georeferenced things. Nicolas Envoyé de mon iPad Le 2 sept. 2016 à 02:20, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, I tried the Reprojection layer tool but that doesn’t change the extent. The reprojected layer appears in the same spot as the old layer. Reginald, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 16:31 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Onderwerp: Re: clip still not working on osm shape Hi, You are correct. Sorry, I was working from memory. Try Qgis geoalgorithms, Reprojection layer. You can search the processing plugin with"reprojection". The right click is to activate toolbars for the "digitizing"and "advanced digitizing toolbars." Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 09:57, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi Nicolas, I’m a little lost here. I use QGIS 2.16.1. When I right click next to the toolbars I see no plugin that changes the CRS. When I save a file there is no option to choose the input CRS and output CRS. You can choose the CRS and there’s a checkbox to choose the extent which is not checked by default. So I don’t know what to do if I want to change the extent to the new CRS. Which of the 111 geo algorithms should I use to change the CRS and reproject the extent? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 15:24 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Onderwerp: Re:
Re: [Qgis-user] clip is working but CRS transformation not
Hi, The clip function is working properly. The problem is the fact that by changing the CRS the extend is not transformed. In ArcMap the same happens except if you use the tools available in the toolbox (under Data Management). In this projection tool you can choose a transform parameter which places the changed shapefile in the right location. So far I did not find this transformation options in QGIS and whatever I try, after changing a Lambert 72 shape to WGS 84, the file is not placed in the right spot. I used the QMS Service and added Mapsurfer OSM Roads. The osm shapefile shows in the right place but the shape of the town is not transformed to this WGS 84 coordinates and is placed far above the place where the osm shapefile is placed. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: vrijdag 2 september 2016 14:17 Aan: Reginald Carlier Onderwerp: Re: clip still not working on osm shape Hi, By "extent", I now understand the you mean that the layer is not in the correct spot. (In my mind, extent only changes once the clipping is done.). The coordinates may not change much depending on the type of transformation you are asking. The idea is to get both layer to overlap in the right spot. Then to clip the layers using the clipping tools. For both layers (clipping and osm), ask yourself the following: Are both layers overlapping? Are both in the correct CRS? Are both correctly georeferenced? If so, then you should be able to clip them. If the layers overlap, then does the clipping tool work? Try with a simple file and test with different files formats. It may be that the osm file format is giving you problems. The OSM is a vector file? Make sure you turn off the "on the fly CRS". If it's activated, the layer will be reprojected on the fly using the project CRS that you see in the lower right corner of the screen. I usually use a wms server as a background to help georeferenced things. Nicolas Envoyé de mon iPad Le 2 sept. 2016 à 02:20, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi, I tried the Reprojection layer tool but that doesn’t change the extent. The reprojected layer appears in the same spot as the old layer. Reginald, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Nicolas Cadieux [mailto:nicolas.cadi...@archeotec.ca] Verzonden: donderdag 1 september 2016 16:31 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Onderwerp: Re: clip still not working on osm shape Hi, You are correct. Sorry, I was working from memory. Try Qgis geoalgorithms, Reprojection layer. You can search the processing plugin with"reprojection". The right click is to activate toolbars for the "digitizing"and "advanced digitizing toolbars." Nicolas Envoyé de mon iPad Le 1 sept. 2016 à 09:57, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> a écrit : Hi Nicolas, I’m a little lost here. I use QGIS 2.16.1. When I right click next to the toolbars I see no plugin that changes the CRS. When I save a file there is no option to choose the input CRS and output CRS. You can choose the CRS and there’s a checkbox to choose the extent which is not checked by default. So I don’t know what to do if I want to change the extent to the new CRS. Which of the 111 geo algorithms should I use to change the CRS and reproject the extent? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http:
[Qgis-user] qlrbrowser not working anymore
Hi, Here is some additional information I found in the log panel: Processing Tab: 2016-09-06T15:36:48 2Probleem met installatie van OTB: OTB werd niet gevonden of is niet correct geïnstalleerd Seems like Orfeo Toolbox is used by some plugin and is not installed Python warnings: 2016-09-06T15:36:45 1 warning:C:\OSGEO4~1\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py:844: PendingDeprecationWarning: This method will be removed in future versions. Use 'elem.iter()' or 'list(elem.iter())' instead. for include in elem.getiterator("include"): traceback: File "", line 1, in File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 333, in startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/reginaldc/.qgis2/python/plugins\QlrBrowser\__init__.py", line 34, in classFactory from .qlrbrowser import QlrBrowser File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/reginaldc/.qgis2/python/plugins\QlrBrowser\qlrbrowser.py", line 32, in from .ui.dockwidget import DockWidget File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/reginaldc/.qgis2/python/plugins\QlrBrowser\ui\dockwidget.py", line 31, in os.path.dirname(__file__), 'dockwidget.ui')) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\PyQt4\uic\__init__.py", line 210, in loadUiType winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, resource_suffix) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\PyQt4\uic\Compiler\compiler.py", line 139, in compileUi w = self.parse(input_stream, resource_suffix) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 933, in parse actor(elem) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 844, in readResources for include in elem.getiterator("include"): Plugins: 2016-09-06T15:36:440 Geladen GPS-gereedschap (Pad: C:/OSGEO4~1/apps/qgis/plugins/gpsimporterplugin.dll) 2016-09-06T15:36:440 Geladen AutoFields (package: AutoFields) 2016-09-06T15:36:450 Geladen geopunt4Qgis (package: geopunt4Qgis) 2016-09-06T15:36:450 Geladen go2streetview (package: go2streetview) 2016-09-06T15:36:450 Geladen Instant Print (package: instantprint) 2016-09-06T15:36:450 Geladen Layer List (package: layerList) 2016-09-06T15:36:450 Geladen Qlr Browser (package: QlrBrowser) 2016-09-06T15:36:450 Geladen QTiles (package: qtiles) 2016-09-06T15:36:470 Geladen QuickOSM (package: QuickOSM) 2016-09-06T15:36:470 Geladen QuickMapServices (package: quick_map_services) 2016-09-06T15:36:470 Geladen DB Manager (package: db_manager) 2016-09-06T15:36:470 Geladen GdalTools (package: GdalTools) 2016-09-06T15:36:470 Geladen MetaSearch Catalogue Client (package: MetaSearch) 2016-09-06T15:36:490 Geladen Processing (package: processing) Userexpressions: 2016-09-06T15:36:441 De gebruikersexpressie adressen is niet geldig Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis/./python\qgis\user.py", line 48, in load_user_expressions __import__("expressions.{0}".format(name), locals(), globals()) File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/reginaldc/.qgis2/python\expressions\adressen.py", line 12 Function FindLabel ( [GEBOUWNR] ) ^ IndentationError: unexpected indent I used the expressions tool for a layer of addresses. Because I copied the expression from ArcMap it was not working, so I removed the layer. Somewhere the system must have kept track of this erroneous expression. Where can I remove it? Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.
[Qgis-user] qlr browser not working anymore
Hi, I'm using QGIS 2.16.1. When I add a layer from qlr browser the layer is placed in the layer panel but it isn't showing on the map. In the OGR tab of the log panel there is a notion saying: Datasource is not valid Last week everything was still working. The qlr files I added that were based on a WMS still render but those that are based on shape files don't render. Is this a bug? Reginald, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [Septima/qgis-qlrbrowser] qlr layers based on shapefiles give a datasource is not valid error (#59)
Hi Anders, Thanks. That solved it ☺ Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> Van: Anders Barfod [mailto:notificati...@github.com] Verzonden: donderdag 8 september 2016 9:27 Aan: Septima/qgis-qlrbrowser CC: Reginald Carlier; Mention Onderwerp: Re: [Septima/qgis-qlrbrowser] qlr layers based on shapefiles give a datasource is not valid error (#59) @reginaldc<https://github.com/reginaldc> Try setting your path to absolute in Project Properties (Ctrl+Shift+P) and save the qlr again. [https://cloud.githubusercontent.com/assets/7534153/18340588/1865bca8-75a6-11e6-8d2f-9de34f5430ea.png]<https://cloud.githubusercontent.com/assets/7534153/18340588/1865bca8-75a6-11e6-8d2f-9de34f5430ea.png> Hope it works — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<https://github.com/Septima/qgis-qlrbrowser/issues/59#issuecomment-245515723>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVDDF6N3jU9y_egwdvbtIwK-3NJov3n3ks5qn7i6gaJpZM4J3r29>. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QField error data source is not valid
Hi, I'm testing QField. On my desktop I made a project with a shape point layer made to inventarise streetbenches. Then I put this project in the storage folder (DCIM) of my android phone. On my phone I open QField and I browse to the project and I open it. In stead of a map I see only a point marker in QField. The error message I see is: OGR Data source is invalid() What am I doing wrong? Also I could not find any documentation on QField. Any pointers in this direction? Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QField error data source is not valid
Tyler, What is a OGR dataset? I’m using a aereal photo raster and a shapefile in my project. There are no date fields in the shapefile. The documentation gives a 404 error. Who is the developer of this app? Where can I find his mail address so I can give a notice about the broken website. Regards, Van: Tyler Veinot [mailto:tylerkvei...@gmail.com] Verzonden: woensdag 14 september 2016 14:28 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] QField error data source is not valid Reginald; I have been having problems with OGR datasets that have an assigned vertical datum. I suspect Matthias is correct but if that doesn't solve the issue and you are using a vertical datum that might be the issue. On the documentation site http://www.qfield.org/ there was amention about some possible issues with OGR datasets but I get a 404 error now so I cannot reference the specific passage under the supported data formats. Hope that helps some; Tyler On Wed, Sep 14, 2016 at 4:41 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: Hi, I’m testing QField. On my desktop I made a project with a shape point layer made to inventarise streetbenches. Then I put this project in the storage folder (DCIM) of my android phone. On my phone I open QField and I browse to the project and I open it. In stead of a map I see only a point marker in QField. The error message I see is: OGR Data source is invalid() What am I doing wrong? Also I could not find any documentation on QField. Any pointers in this direction? Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QField doesn't see my data
Hi, Thanks Matthias for pointing me to the URL of the correct documentation. I have a folder with my project and data files and I placed it in /Android/data/ch.opengis.qfield/files as the documentation suggested. When I open QField and try to open a project I get a dialog to browse to this folder but QField doesn't see this new folder. I also tried to copy the contents of my folder to the documents folder inside /Android/data/ch.opengis.qfield/files but when I browse to this documents folder to open a project QField finds nothing inside. In the filebrowser on my phone I see the files are there (also the folder I copied previously is shown). Am I missing something? Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QField
Hi Erwan, You can look in the list of last week where I posted a couple of questions about qfield and was pointed to the right website for documentation. I succeeded to publish a map on my phone but the aereal photo which was published as a gpkg file doesn't render. When I use the raster.gpkg on my desktop it renders but very slow. The gpkg file was created from a 90 MB jp2 file. Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QField
Thanks Andreas, Creating a Geotiff with pyramids did the trick. The only disadvantage is that it created a file of about 1.7 GB (the original was 90 MB). Now I am ready to test the app ☺. Regards, Van: Neumann, Andreas [mailto:a.neum...@carto.net] Verzonden: woensdag 21 september 2016 16:19 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] QField Hi Reginald, Did you create pyramids in the gpkg rasters? Generally, Geotiff should be well supported - definitely more tested than gpkg rasters. I had a 1GB geotiff on qfield (on SD-Card) and it displays fast. I haven't tested vrt files with geotiffs - if it works as well? Andreas On 2016-09-21 15:44, Reginald Carlier wrote: Hi Erwan, You can look in the list of last week where I posted a couple of questions about qfield and was pointed to the right website for documentation. I succeeded to publish a map on my phone but the aereal photo which was published as a gpkg file doesn’t render. When I use the raster.gpkg on my desktop it renders but very slow. The gpkg file was created from a 90 MB jp2 file. Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QField
Thanks Fabrice, I will certainly try mbtiles. Regards, Van: F T [mailto:ouk...@gmail.com] Verzonden: vrijdag 23 september 2016 11:20 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] QField Hello I'm also disapointed with gptk raster : too slow, not easy to prepare For QField, we rather use .mbtiles format, created from QGis and the QTiles extension. All formats that QGis uses can be converted in .mbtiles, it's very very easy to prepare. QField uses .mbtiles raster very well, it's fast to display Tested with a 4Go .mbtiles Fabrice 2016-09-22 9:32 GMT+02:00 Reginald Carlier mailto:reginald.carl...@ingelmunster.be>>: Thanks Andreas, Creating a Geotiff with pyramids did the trick. The only disadvantage is that it created a file of about 1.7 GB (the original was 90 MB). Now I am ready to test the app ☺. Regards, Van: Neumann, Andreas [mailto:a.neum...@carto.net<mailto:a.neum...@carto.net>] Verzonden: woensdag 21 september 2016 16:19 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] QField Hi Reginald, Did you create pyramids in the gpkg rasters? Generally, Geotiff should be well supported - definitely more tested than gpkg rasters. I had a 1GB geotiff on qfield (on SD-Card) and it displays fast. I haven't tested vrt files with geotiffs - if it works as well? Andreas On 2016-09-21 15:44, Reginald Carlier wrote: Hi Erwan, You can look in the list of last week where I posted a couple of questions about qfield and was pointed to the right website for documentation. I succeeded to publish a map on my phone but the aereal photo which was published as a gpkg file doesn’t render. When I use the raster.gpkg on my desktop it renders but very slow. The gpkg file was created from a 90 MB jp2 file. Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QField documentation
Hi Steve, The documentation can be assessed from this URL: http://www.qfield.org/docs/index.html Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] scale dependent drawing of symbol with point displacement option
Hi, I'm looking for a way to stop drawing symbols for a feature when a certain scale is passed, using the point displacement option. I am trying to label addresses of buildings but when I zoom out those concentric circles keep growing and give the map a weird view. So I think it would be good if those circles had a maximum proportion or if those adrespoints would stop showing up after a certain scale is passed. In the style tab of the layer properties I can't see any option to do that. I'm using QGIS 16.3. Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] plugin doesn't find exiftool executable
Hi Alexander, I installed the plugin in QGIS 2.16.3. When I run the 'Import photos' tool I point the ExifTool Config browse button to the exiftool(-k).exe that I have downloaded from http://www.sno.phy.queensu.ca/~phil/exiftool/index.html I installed the windows executable. When running the 'Import photos' tool it gives following error: Can't locate exiftool executable! Make sure it is installed and available in PATH or alternatively specify path to binary in plugin settings (which is what I did I think?) Is there another place where I can set the plugin settings? Should I rename exiftool(-k).exe to exiftool? Regards, ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin doesn't find exiftool executable
Hi Alexander, The tool doesn't accept the folder as entry. Where should I change the settings? Regards, -Oorspronkelijk bericht- Van: Alexander Bruy [mailto:alexander.b...@gmail.com] Verzonden: dinsdag 4 oktober 2016 15:08 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org Onderwerp: Re: plugin doesn't find exiftool executable Hi Richard, you should specify just directory where exiftool.exe located, not full path to th executable file. Hope this helps. 2016-10-04 15:42 GMT+03:00 Reginald Carlier : > Hi Alexander, > > > > I installed the plugin in QGIS 2.16.3. > > When I run the ‘Import photos’ tool I point the ExifTool Config browse > button to the exiftool(-k).exe that I have downloaded from > > http://www.sno.phy.queensu.ca/~phil/exiftool/index.html > > I installed the windows executable. > > When running the ‘Import photos’ tool it gives following error: > > Can’t locate exiftool executable! Make sure it is installed and > available in PATH or alternatively specify path to binary in plugin > settings (which is what I did I think?) > > Is there another place where I can set the plugin settings? Should I > rename exiftool(-k).exe to exiftool? > > > > Regards, > > > > -- Alexander Bruy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin doesn't find exiftool executable
Thanks Alexander, I couldn't find the documentation because in the plugin manager the links point to locations which are not available. Maybe you can edit these links. :-) Regards, -Oorspronkelijk bericht- Van: Alexander Bruy [mailto:alexander.b...@gmail.com] Verzonden: dinsdag 4 oktober 2016 15:41 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org Onderwerp: Re: plugin doesn't find exiftool executable It does. Now I see, you just do it wrong and without reading documentation :-). "ExifTool Config" field used to specify custom config file, not executable. Path to executable file should be configured in plugin settings. Please check documentation at https://github.com/NaturalGIS/geotag_and_import_photos/wiki Hope this helps 2016-10-04 16:28 GMT+03:00 Reginald Carlier : > Hi Alexander, > > The tool doesn't accept the folder as entry. > Where should I change the settings? > > Regards, > > -Oorspronkelijk bericht- > Van: Alexander Bruy [mailto:alexander.b...@gmail.com] > Verzonden: dinsdag 4 oktober 2016 15:08 > Aan: Reginald Carlier > CC: qgis-user@lists.osgeo.org > Onderwerp: Re: plugin doesn't find exiftool executable > > Hi Richard, > > you should specify just directory where exiftool.exe located, not full path > to th executable file. > > Hope this helps. > > 2016-10-04 15:42 GMT+03:00 Reginald Carlier > : >> Hi Alexander, >> >> >> >> I installed the plugin in QGIS 2.16.3. >> >> When I run the ‘Import photos’ tool I point the ExifTool Config >> browse button to the exiftool(-k).exe that I have downloaded from >> >> http://www.sno.phy.queensu.ca/~phil/exiftool/index.html >> >> I installed the windows executable. >> >> When running the ‘Import photos’ tool it gives following error: >> >> Can’t locate exiftool executable! Make sure it is installed and >> available in PATH or alternatively specify path to binary in plugin >> settings (which is what I did I think?) >> >> Is there another place where I can set the plugin settings? Should I >> rename exiftool(-k).exe to exiftool? >> >> >> >> Regards, >> >> >> >> > > > > -- > Alexander Bruy -- Alexander Bruy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] repeat arrow every kilometer
Hi, I have a linefeature representing a route and I want to symbolize it using an arrowhead that repeats on every km along the line. I can repeat the arrowhead on every vertex but that is not what I want. Is there a way to do this in qgis? Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] keeping error message visible
Hi, Is there a way to keep the errormessage that pops up at the top of the maparea visible? It is really annoying when the message disappears before you can read it. Putting a close button next to it could solve this. Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] one feature doesn't show when zooming in to a normal level
Hi, I used the 'Check validity' tool to repair the shapefile. Now everything shows up normal. Thanks, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] show vertexes during editing session
Hi, Is there a similar way as in ArcMap to visualize the vertexes of a polygon? In ArcMap, by pressing 'v' I can see the vertexes during an edit session, so I know where to snap to. How can I visualize the vertexes in QGIS during an edit session? Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ 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] show vertexes during editing session
Hi, My question was not very clear I guess. I have a layer with parcels. I have an other layer with parcels that are suitable as building site. When I draw features of this layer I want to snap to the parcels layer. I can do this with automatic tracing. Every couple of years the parcels shape change, so I have to manualy adjust the parcels that are suited as building site. I use the node tool, but I want to visualize the new vertexes of the underlying parcels features. I’m also looking for the same functionality as the ‘replace sketch’ menu item that exists in ArcMap. That function allows to create new features by taking over the shape of the underlying feature of another layer. Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] Van: DelazJ [mailto:del...@gmail.com] Verzonden: woensdag 1 februari 2017 11:08 Aan: Neumann, Andreas CC: Reginald Carlier; qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] show vertexes during editing session Hi, Using the automatic tracing<http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#automatic-tracing> option, you wouldn't need to visualize them. QGIS will snap to vertices as you move the mouse close to them. Harrissou 2017-02-01 11:00 GMT+01:00 Neumann, Andreas mailto:a.neum...@carto.net>>: Hi Reginald, See Settings --> Options --> Tabs "Digitizing". Perhaps for some reasons the markes are set to "none". You can also choose to display markers only for selected polygons. I don't know about a shortcut to toggle visibility of the markers - sounds useful. Andreas On 2017-02-01 10:51, Reginald Carlier wrote: Hi, Is there a similar way as in ArcMap to visualize the vertexes of a polygon? In ArcMap, by pressing ‘v’ I can see the vertexes during an edit session, so I know where to snap to. How can I visualize the vertexes in QGIS during an edit session? Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto: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<mailto: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] show vertexes during editing session
Hi, I was able to snap to the vertexes of the underlying layer thanks to an xml style that was sent to me by Morgan David. It styled the parcels and showed every vertex marked by an 'x'. The 'reshape features' tool didn't work as I wanted. I think I could try copying one feature from the underlying layer and paste it into my editing layer? Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ 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] FW: Wrong value for parameter 'map GRASS7'
Reginald Carlier Deskundige GIS -Oorspronkelijk bericht- Van: Reginald Carlier Verzonden: woensdag 22 februari 2017 10:59 Aan: 'Philip Barlow' Onderwerp: RE: [Qgis-user] Wrong value for parameter 'map GRASS7' Thanks Philip, That did the trick :-) Reginald Carlier Deskundige GIS -Oorspronkelijk bericht- Van: Philip Barlow [mailto:phil...@pembrokeshirecoast.org.uk] Verzonden: woensdag 22 februari 2017 10:47 Aan: Reginald Carlier Onderwerp: RE: [Qgis-user] Wrong value for parameter 'map GRASS7' Hi, Got to "processing" from the top menu bar, click options and expand the "providers" list, find GRASS and double click where the file path is. You'll see a button appear at the end with three periods in, click that and navigate to your alternative path for GRASS. Phil -Original Message- From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Reginald Sent: 22 February 2017 09:06 To: qgis-user@lists.osgeo.org Subject: [Qgis-user] Wrong value for parameter 'map GRASS7' Hi, <http://osgeo-org.1560.x6.nabble.com/file/n5308987/grass_fout.png> When I try to activate the tools for LIDAR I get this errormessage which prevents me from going further. How can I adjust the path to the grass executable? How can I install the tools for LiDAR? Regards, -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Wrong-value-for-parameter-map-GRASS7-tp5308987.html Sent from the QGIS - User mailing list archive at Nabble.com. ___ 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 Mae r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg The Authority is happy to communicate in Welsh or English Website www.pembrokeshirecoast.org.uk Follow us on Twitter Join us on Facebook Watch us on Youtube Look at us on Flickr This email and any attached files should only be read by those persons to whom they are addressed and be used by them only for their intended purpose. If you are not the intended recipient please destroy all copies and inform the sender by return email. Please note that the contents of this email may be subject to public disclosure under the Freedom of Information Act 2000 and therefore the confidentiality of this message and any reply cannot be guaranteed. For further information on the PCNPA please visit our website at www.pembrokeshirecoast.org.uk Please consider the environment before printing this e-mail. Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw ffeiliau sydd ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y diben y bwriadwyd hwy. Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal dinistrio pob copi a rhoi gwybod i r anfonwr gyda throad yr e-bost. Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei ddatgelu i r cyhoedd o dan Ddeddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu cyfrinachedd y neges hon nac unrhyw ateb. Am ragor o wybodaeth am APCAP ymwelwch n gwefan ar www.pembrokeshirecoast.org.uk Ystyrier yr amgylchedd cyn argraffu r e-bost hwn os gwelwch yn dda. ___ 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] python error
Hi, I am using qgis 18.4. Lately I get a python error when I open qgis: 2017-03-22T08:08:27 1 Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 308, in loadPlugin __import__(packageName) File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py", line 29, in from processing.tools.general import * # NOQA File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py", line 31, in from processing.core.Processing import Processing File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", line 42, in from processing.script.ScriptUtils import ScriptUtils File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\script\ScriptUtils.py", line 30, in from processing.script.ScriptAlgorithm import ScriptAlgorithm File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\script\ScriptAlgorithm.py", line 34, in from processing.gui.Help2Html import getHtmlFromHelpFile File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\gui\__init__.py", line 1, in from qgis.PyQt import uic ImportError: cannot import name uic Apparantly there is something wrong with utils.py? Or python cannot find uic? What can I do to correct this? Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ 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] Bug copying features
Hello, I am using QGIS 2.18.6 on Windows 7 (OSGEO). I am encountering a bug everytime I want to copy features from one layer to another. Some fields of layer 1 are the same in layer 2. As I add the layers to the project, I then set the two layers editable. Then I open the attribute table of layer 1 and select all the features. Then I copy all the features. Then I select layer2 and I paste all the features. As a result the features are copied to layer 2 but in the attribute table I can only see null values. The solution for this problem is to save the project and reopen the project and then do the steps mentioned here above again. Then the features are copied in a correct way. Regards, Reginald Carlier Deskundige GIS [logo Ingelmunster] ___ 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] Bug copying features
Hi Richard, Yes my second shape has a subset of attributes of the first. In fact only one fieldname matches with the first shape. In fact the first shape is a modelshape from the digirup project (Belgium) and the second is a modelshape from the DSI project. If I find the time I will test it on linux. Maybe it is a bug in windows only. Regards, Reginald Carlier Deskundige GIS -Oorspronkelijk bericht- Van: Richard Duivenvoorde [mailto:rdmaili...@duif.net] Verzonden: donderdag 20 april 2017 14:42 Aan: Reginald Carlier; 'qgis-user@lists.osgeo.org' Onderwerp: Re: [Qgis-user] Bug copying features On 20-04-17 09:26, Reginald Carlier wrote: > Hello, > > > > I am using QGIS 2.18.6 on Windows 7 (OSGEO). > > I am encountering a bug everytime I want to copy features from one > layer to another. Some fields of layer 1 are the same in layer 2. > > As I add the layers to the project, I then set the two layers editable. > Then I open the attribute table of layer 1 and select all the features. > Then I copy all the features. Then I select layer2 and I paste all the > features. As a result the features are copied to layer 2 but in the > attribute table I can only see null values. > > The solution for this problem is to save the project and reopen the > project and then do the steps mentioned here above again. Then the > features are copied in a correct way. Hi Reginald, I tried to reproduce your problem here with 2.18.6 (on Debian though). And I cannot reproduce it. I: - opened a dataset and saved it as a 2nd shape - removed all features from the 2nd shape (to have a shape with exact the same attributes) - openend both shapes in QGIS - copied one feature from 1 to 2 - stopped editing of both layers - note: still not a saved project - and see the right features in 2... So question: is your second dataset maybe ANOTHER shape with a subset of the attributes of the first one? Anyway, this looks like an issue, feel free to create an issue for it, BUT make it as reproducable as possible: add small datasets to it. Because as you can see it's not easy to reproduce apparently :-( Regards, Richard Duivenvoorde ___ 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] qad measure command
Hi, I am trying to implement the measure command in order to show points along a line with the QAD plugin. Somehow it fails to work. I have selected my point layer (editable). I have a line layer (editable). I click on the measure command. I have to select the object to measure, so I try to select the line to measure which is only possible if I select the line layer. When I push on enter it says that only a point layer can be used Can anyone help me with this plugin? Is there an English tutorial or help function? Thanks, Reginald Carlier Deskundige GIS Gemeente Ingelmunster , Oostrozebekestraat 4 , 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be Raadpleeg onze disclaimer ___ 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] features visible in attribute table but not identifiable
Hi, I am using QGIS 2.18.11. When editing a shapefile I noticed a specific error. Some features I added where not styled after adding but did show up in the attribute table. When I zoom to the selected feature in the attribute table the parcel shows up. When I try to identify them with the identify tool the features are missing. Anyone has an explanation or similar experience? Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster , Oostrozebekestraat 4 , 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be Raadpleeg onze disclaimer ___ 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] Calculate age in years with expressionbuilder
Thanks Stefan, I finally got the age by using this code: (2017 - year(to_date("GDate"))) Year(to_date(now()) seems to fail as there are missing brackets but I can't figure out where. Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer -Oorspronkelijk bericht- Van: Stefan Giese (WhereGroup) [mailto:stefan.gi...@wheregroup.com] Verzonden: dinsdag 19 december 2017 8:58 Aan: Reginald Carlier CC: qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] Calculate age in years with expressionbuilder I forgot: and as a workaround you can use: year(todate(now()) - year(todate("GDate")) which will produce correct ages, or you can use your own python function (expression builder->functions->new file): from qgis.core import * from qgis.gui import * from datetime import datetime from dateutil.relativedelta import relativedelta @qgsfunction(args=2, group='Python') def GetAge(values,feature,parent): ''' call this function GetAge("fromdate","todate") in years ''' d1 =datetime.strptime(values[0],"%Y-%m-%d") d2 =datetime.strptime(values[1],"%Y-%m-%d") difference = relativedelta(d2, d1) return difference Am 2017-12-19 07:48, schrieb Stefan Giese (WhereGroup): > it seems, that this is a bug, see: > https://issues.qgis.org/issues/17681 > > best regards > Stefan > > > Am 2017-12-18 15:26, schrieb Reginald: >> hello, >> >> I am calculating the age of persons with the expression builder. >> My formulae looks like this: >> year(age( to_date(now()) , "GDate" )) The result looks alright for >> people who are younger than 68 years. >> People who are born in 1949 or before get negative ages and the age >> goes from -68 to -31 (for someone born in 1913) What is wrong with my >> formulae? >> >> Regards, >> >> >> >> >> >> >> -- >> Sent from: >> http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html >> ___ >> 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
Re: [Qgis-user] unable to deploy pythonscript
Hi Frank, The problem is that the system administrator prefers just one version of QGIS without installing OSGEO4W on every PC. So I'm stuck with this version of QGIS. Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer -Oorspronkelijk bericht- Van: Frank Broniewski [mailto:ha...@frankbroniewski.com] Verzonden: donderdag 5 april 2018 9:34 Aan: Reginald Carlier; qgis-user@lists.osgeo.org Onderwerp: AW: [Qgis-user] unable to deploy pythonscript Hi Reginald, pip and setuptools are both available through the OSGeo4W installer. You might as well try to use the OSGeo4W-Shell and not the default Windows CMD to install further python modules through pip or setuptools. Using the OSGeo4W-Shell takes care for setting up the right environment for Python. HTH Frank Dipl. Geogr. Frank Broniewski Waldhölzbacher Str. 51 66679 Losheim am See 06872 509 068 4 0176 611 26 9 2 6 www.frankbroniewski.com -Ursprüngliche Nachricht- Von: Qgis-user Im Auftrag von Reginald Gesendet: Donnerstag, 5. April 2018 08:26 An: qgis-user@lists.osgeo.org Betreff: [Qgis-user] unable to deploy pythonscript Hi, Maybe this question should be posted to the development mailinglist but as I am not subscribed there I post it here. I have written a python script that depends on external python packages (python-docx, pymssq, and others). When I am trying to deploy it on other computers, where there is a standalone installation of QGIS-OSGeo4W-2.18.17-1-Setup-x86_64.exe on Windows 7 and where I have opened a cmd window as administrator, executed a bat file that sets the path right for the python environment of the installed qgis, I get an error when I try to execute pip commands. I execute them as : python -m pip install python-docx Then I get a mentioning of setuptools that are not installed. I tried to install setuptools with pip but then I got a mentioning of there not being a version of setuptools. The python version is 2.75. I downloaded setuptools and unzipped it and executed easy_install.py but then I got a mentioning that I might have no rights to write to this directory. As I am administrator this can not be the case. How can I install setuptools or use pip to download external python packages for the qgis python installation? Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ 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] unable to install external packages
Hi, It's not an option to install a virtualbox or other virtual machine on the PC's of the users. Besides that the script wouldn't work in a virtual environment because it has no access then to the resources it needs. Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer ___ 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] no python console in QGIS 3 Ubuntu 17.10
Hi Luke, I have this repo installed: https://qgis.org/debian-nightly-release/ What is the repo for 3.01? I can’t seem to find it on the qgis website. Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer Van: Luke Pinner [mailto:lukepinne...@gmail.com] Verzonden: vrijdag 13 april 2018 12:29 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] no python console in QGIS 3 Ubuntu 17.10 Completely uninstall testing, remove testing repo and add the release repo and install 3.01 and it should work fine. I have 3.01 installed on multiple ubuntu 1710 pcs with no python problems. https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu On Fri., 13 Apr. 2018, 20:00 Reginald, mailto:reginald.carl...@ingelmunster.be>> wrote: Hi, On ubuntu 17.10 I added the nightly release to sources.list. I got to install QGIS 3, but I noticed there is no python console. I get an error of Qt 5.10 not being available. In synaptic I see that Qt 5.09 is used everywhere. I tried to install two snap versions of QGIS but every time that failed. When will python support be added to QGIS 3 on ubuntu? Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto: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
Re: [Qgis-user] no python console in QGIS 3 Ubuntu 17.10
Thanks Luke ☺ Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer Van: Luke Pinner [mailto:lukepinne...@gmail.com] Verzonden: vrijdag 13 april 2018 12:48 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] no python console in QGIS 3 Ubuntu 17.10 It's the 1st one in the list - https://qgis.org/debian Luke On Fri., 13 Apr. 2018, 20:42 Reginald Carlier, mailto:reginald.carl...@ingelmunster.be>> wrote: Hi Luke, I have this repo installed: https://qgis.org/debian-nightly-release/ What is the repo for 3.01? I can’t seem to find it on the qgis website. Regards, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif]<https://www.ingelmunster.be/> Gemeente Ingelmunster , Oostrozebekestraat 4 , 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be/> [Facebook]<https://www.facebook.com/Ingelmunster/> [instagram]<https://www.instagram.com/ingelmunster/> [pinterest]<https://www.pinterest.com/ingelmunster/> [twitter]<https://twitter.com/ingelmunster> Raadpleeg onze disclaimer <http://www.ingelmunster.be/email-disclaimer.html> Van: Luke Pinner [mailto:lukepinne...@gmail.com<mailto:lukepinne...@gmail.com>] Verzonden: vrijdag 13 april 2018 12:29 Aan: Reginald Carlier Onderwerp: Re: [Qgis-user] no python console in QGIS 3 Ubuntu 17.10 Completely uninstall testing, remove testing repo and add the release repo and install 3.01 and it should work fine. I have 3.01 installed on multiple ubuntu 1710 pcs with no python problems. https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu On Fri., 13 Apr. 2018, 20:00 Reginald, mailto:reginald.carl...@ingelmunster.be>> wrote: Hi, On ubuntu 17.10 I added the nightly release to sources.list. I got to install QGIS 3, but I noticed there is no python console. I get an error of Qt 5.10 not being available. In synaptic I see that Qt 5.09 is used everywhere. I tried to install two snap versions of QGIS but every time that failed. When will python support be added to QGIS 3 on ubuntu? Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto: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
Re: [Qgis-user] localisation of date fails in QGIS 3.2
Hi Nyall, Somehow my post shows the code but my previous post doesn't. Anyway this is how the code looks: vandaag = datetime.now() dag = vandaag.day maand = vandaag.strftime("%B") jaar = vandaag.year datum = str(dag) + " " + maand + " " + str(jaar) I suspect that maybe strftime changed in python 3.6? Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer -Oorspronkelijk bericht- Van: Nyall Dawson [mailto:nyall.daw...@gmail.com] Verzonden: donderdag 9 augustus 2018 8:36 Aan: Reginald Carlier CC: qgis-user Onderwerp: Re: [Qgis-user] localisation of date fails in QGIS 3.2 On Mon, 30 Jul 2018 at 19:22, Reginald wrote: > > Hi, > > I have a script that was adapted to python 3.6 and runs fine on QGIS 3.2. > The problem I'm having is that the date shows up in english. > Under Extra > Options > Algemeen i have: > Vertaling gebruikers-interface --> Nederlands > Locale Dutch Belgium (nl_BE) > > Also if I choose for "Systeemlocale negeren" (ignore system locale) I still > get the date in english. > My code looks like this and works fine in QGIS 2.18: > > I think you forgot to include the code? Can you re-share? Nyall ___ 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] localisation of date fails in QGIS 3.2
I forgot to mention that I import datetime as follows: from datetime import datetime In the console I get the same result as from my script. Maybe I should use QCoreApplication.translate or some other explicit way to tell python to translate a string from English to Dutch? Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer Van: Nyall Dawson [via OSGeo.org] [mailto:ml+s1560n5373899...@n6.nabble.com] Verzonden: donderdag 9 augustus 2018 8:43 Aan: Reginald Carlier Onderwerp: Re: localisation of date fails in QGIS 3.2 On Thu, 9 Aug 2018 at 16:39, Reginald Carlier <[hidden email]> wrote: > > Hi Nyall, > > Somehow my post shows the code but my previous post doesn't. > Anyway this is how the code looks: > > vandaag = datetime.now() > dag = vandaag.day > maand = vandaag.strftime("%B") > jaar = vandaag.year > datum = str(dag) + " " + maand + " " + str(jaar) > > I suspect that maybe strftime changed in python 3.6? Do you see the same from a standalone python console? (I'm not sure that this issue is related to QGIS at all or whether it's a Python specific thing). Nyall ___ Qgis-user mailing list [hidden email] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user If you reply to this email, your message will be added to the discussion below: http://osgeo-org.1560.x6.nabble.com/localisation-of-date-fails-in-QGIS-3-2-tp5372703p5373899.html To start a new topic under QGIS - User, email ml+s1560n4125267...@n6.nabble.com To unsubscribe from QGIS, click here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4099105&code=UmVnaW5hbGQuQ2FybGllckBpbmdlbG11bnN0ZXIuYmV8NDA5OTEwNXw3OTAxNjMzMzQ=>. NAML<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ___ 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] localisation of date fails in QGIS 3.2
Thanks a lot Alessandro, That works perfectly. Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer Van: Alessandro Pasotti [mailto:apaso...@gmail.com] Verzonden: donderdag 9 augustus 2018 9:10 Aan: Reginald Carlier CC: Nyall Dawson [via OSGeo.org]; qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] localisation of date fails in QGIS 3.2 Reginald, Using QT: locale = QLocale(QLocale.Japanese) locale.toString(QDate.currentDate()) And, if you want to use the same settings that you set in QGIS, just use the default locale: locale = QLocale() # Default locale from QGIS options/settings locale.toString(QDate.currentDate()) On Thu, Aug 9, 2018 at 8:54 AM, Reginald Carlier mailto:reginald.carl...@ingelmunster.be>> wrote: I forgot to mention that I import datetime as follows: from datetime import datetime In the console I get the same result as from my script. Maybe I should use QCoreApplication.translate or some other explicit way to tell python to translate a string from English to Dutch? Regards, Reginald Carlier Deskundige GIS Fout! Bestandsnaam niet opgegeven.<https://www.ingelmunster.be/> Gemeente Ingelmunster , Oostrozebekestraat 4 , 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be/> Fout! Bestandsnaam niet opgegeven.<https://www.facebook.com/Ingelmunster/> Fout! Bestandsnaam niet opgegeven.<https://www.instagram.com/ingelmunster/> Fout! Bestandsnaam niet opgegeven.<https://www.pinterest.com/ingelmunster/> Fout! Bestandsnaam niet opgegeven.<https://twitter.com/ingelmunster> Raadpleeg onze disclaimer <http://www.ingelmunster.be/email-disclaimer.html> Van: Nyall Dawson [via OSGeo.org] [mailto:ml+s1560n5373899...@n6.nabble.com<mailto:ml%2bs1560n5373899...@n6.nabble.com>] Verzonden: donderdag 9 augustus 2018 8:43 Aan: Reginald Carlier Onderwerp: Re: localisation of date fails in QGIS 3.2 On Thu, 9 Aug 2018 at 16:39, Reginald Carlier <[hidden email]<http://user/SendEmail.jtp?type=node&node=5373899&i=0>> wrote: > > Hi Nyall, > > Somehow my post shows the code but my previous post doesn't. > Anyway this is how the code looks: > > vandaag = datetime.now() > dag = vandaag.day > maand = vandaag.strftime("%B") > jaar = vandaag.year > datum = str(dag) + " " + maand + " " + str(jaar) > > I suspect that maybe strftime changed in python 3.6? Do you see the same from a standalone python console? (I'm not sure that this issue is related to QGIS at all or whether it's a Python specific thing). Nyall ___ Qgis-user mailing list [hidden email]<http://user/SendEmail.jtp?type=node&node=5373899&i=1> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user If you reply to this email, your message will be added to the discussion below: http://osgeo-org.1560.x6.nabble.com/localisation-of-date-fails-in-QGIS-3-2-tp5372703p5373899.html To start a new topic under QGIS - User, email ml+s1560n4125267...@n6.nabble.com<mailto:ml%2bs1560n4125267...@n6.nabble.com> To unsubscribe from QGIS, click here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4099105&code=UmVnaW5hbGQuQ2FybGllckBpbmdlbG11bnN0ZXIuYmV8NDA5OTEwNXw3OTAxNjMzMzQ=>. NAML<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Alessandro Pasotti w3: www.itopen.it<http://www.itopen.it> ___ 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] putting a script that doesn't involve GUI in scripts toolbox
Thanks Nyall, This will get me on the right track. :) Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be Raadpleeg onze disclaimer Van: Nyall Dawson [via OSGeo.org] [mailto:ml+s1560n5375927...@n6.nabble.com] Verzonden: dinsdag 28 augustus 2018 11:45 Aan: Reginald Carlier Onderwerp: Re: putting a script that doesn't involve GUI in scripts toolbox On Tue, 28 Aug 2018 at 18:43, Reginald <[hidden email]> wrote: > > Thanks Havard, > > So I guess this means that it is impossible to use python scripts without > opening a dialog? That's not correct - the dialog is shown if your algorithm defines any input parameters which require user interaction. If you remove all the input parameters from your algorithm, then no dialog is shown and the algorithm/script is run immediately. Nyall ___ Qgis-user mailing list [hidden email] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user If you reply to this email, your message will be added to the discussion below: http://osgeo-org.1560.x6.nabble.com/putting-a-script-that-doesn-t-involve-GUI-in-scripts-toolbox-tp5375911p5375927.html To start a new topic under QGIS - User, email ml+s1560n4125267...@n6.nabble.com To unsubscribe from QGIS, click here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4099105&code=UmVnaW5hbGQuQ2FybGllckBpbmdlbG11bnN0ZXIuYmV8NDA5OTEwNXw3OTAxNjMzMzQ=>. NAML<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ___ 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] identify top down
Hello, I'm using QGIS 2.8 and I'm searching for a way to identify the features in a mapproject top down as described in the following article: http://qgis.spatialthoughts.com/2012/10/tip-identify-across-all-layers-in-qgis.html As the options panel in QGIS 2.8 looks different I can't find the setting to make this happen. Any help? Thanks, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] arcgis connector plugin fails when importing layer
Hi, When using the arcgis connector plugin I can connect to my ArcGis Server services. They show up in the dialoglist. When I try to import a layer I get an error message: Laag http://srvgegis01/ArcGIS/rest/services/basis/MapServer/2/query?where=objectid+%3D+objectid&outfields=*&f=json is geen geldige laag en kan niet... Has something changed to the plugin as it used to work? Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> Je kan hier<http://www.ingelmunster.be/email-disclaimer.html> onze disclaimer raadplegen ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] arcgis connector plugin fails when importing
Hi Richard, I don't know exactly what you mean when you ask about a valid json in the URL. Is there a way to check the URL? Grz, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> Je kan hier<http://www.ingelmunster.be/email-disclaimer.html> onze disclaimer raadplegen ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Fusion folder doesn't contain executable
Hello, I'm using Lastools in processing toolbox but when I try to view the result I get an error message: The current folder for Fusion doesn't contain an executable file for viewer. Check the configuration in dialogue window 'Instellingen' of processing. I checked the configuration and pointed fusion to the correct folder but no luck so far. Any help? Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> Je kan hier<http://www.ingelmunster.be/email-disclaimer.html> onze disclaimer raadplegen ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] geopunt plugin fails in qgis 2.12
Hi, When I open the geopunt plugin and search for a layer I get following error: Er is een fout opgetreden bij het uitvoeren van Python code: metaError: '[Errno 10054] De externe host heeft een verbinding verbroken' Traceback (most recent call last): File "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\geopunt4qgis.py", line 285, in rundatacatalog self.datacatalogusDlg.show() File "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\geopunt4QgisDataCatalog.py", line 131, in show self.ui.GDIThemaCbx.addItems( ['']+ self.md.list_GDI_theme() ) File "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\metadata.py", line 129, in list_GDI_theme raise metaError( str( e.reason )) metaError: '[Errno 10054] De externe host heeft een verbinding verbroken' Python versie: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] QGIS versie: 2.12.0-Lyon Lyon, cd9d645 Python pad: * C:/Users/reginaldc/.qgis2/python/plugins\processinglwgeomprovider * C:/Users/reginaldc/.qgis2/python/plugins\processing * C:/OSGEO4~1/apps/qgis/./python * C:/Users/reginaldc/.qgis2/python * C:/Users/reginaldc/.qgis2/python/plugins * C:/OSGEO4~1/apps/qgis/./python/plugins * C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg * c:\osgeo4~1\apps\python27\lib\site-packages\python_dateutil-2.1-py2.7.egg * c:\osgeo4~1\apps\python27\lib\site-packages\six-1.3.0-py2.7.egg * C:\OSGEO4~1\bin\python27.zip * C:\OSGEO4~1\apps\Python27\DLLs * C:\OSGEO4~1\apps\Python27\lib * C:\OSGEO4~1\apps\Python27\lib\plat-win * C:\OSGEO4~1\apps\Python27\lib\lib-tk * C:\OSGEO4~1\bin * C:\OSGEO4~1\apps\Python27 * C:\OSGEO4~1\apps\Python27\lib\site-packages * C:\OSGEO4~1\apps\Python27\lib\site-packages\PIL * C:\OSGEO4~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\win32 * C:\OSGEO4~1\apps\Python27\lib\site-packages\win32\lib * C:\OSGEO4~1\apps\Python27\lib\site-packages\Pythonwin * C:\OSGEO4~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode * C:\OSGEO4~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg * C:\OSGEO4~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg * C:/Users/reginaldc/.qgis2//python * C:\Users\reginaldc\.qgis2\python\plugins\geopunt4Qgis\ext-libs * C:\Users\reginaldc\.qgis2\python\plugins\mmqgis/forms * . * C:\OSGEO4~1\apps\qgis\python\plugins\fTools\tools C:/Users/reginaldc/.qgis2/project_templates This also happens on a similar installation from a colleague. Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> Je kan hier<http://www.ingelmunster.be/email-disclaimer.html> onze disclaimer raadplegen ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] increase resolution output.tif gdal-merge
Hi, I have three geotiffs I created with QGIS 2.14.1. I need to merge them into one file. So I used gdal_merge: gdal_merge input1.tif input2.tif input3.tif -o output.tif As a result I get a notification window that python has crashed and an output file. When I open the output.tif the resolution is only half as sharp as the input files. I know that gdal_merge uses the resolution of the first file so I tried gdal_merge in a different order of input files. The result is that I get the message that python has crashed on 2 of the 3 trials. The resolution of the outputfile remains the same. It seems I can adjust the resolution of the outputfile with the ps parameter: Gdal_merge -ps ? ? input1.tif input2.tif input3.tif -o output.tif What numbers should I use to double the resolution? Meanwhile I used the ArcMap Mosaic to raster tool to create an outputfile from the tree input files. In ArcMap the resolution is OK and the tif displays fine. When I load the output.tif in QGIS only one color of the output.tif is displayed. Any help? Thanks, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] summing line lengths
Hello, I'm want to sum up the length of all the streets in my community. I have a vector file with the streetmiddlelines. Under Vector there are the analysis tools and one of them is called "Lijnlengtes sommeren". It seems that this would be the right tool. When I open up the dialog and fill in the output file and select the streetmiddlelines, the tool complains that I haven't selected a vectorlayer as output. There is another dropbox where you can select a polygon vector layer (Why would you do that if you want to sum up lines?). If I select a polygon layer then the tool keeps running indefinitely. Seems that this is a useless tool, or am I doing something wrong? Reginald Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] summing linelengths
Hi, I'm using QGIS 2.14 and found that the 'Vector tool' > Analyse-gereedschap > Basisstatistieken was what I needed. I still don't know what the tool 'Lijnlengtes sommeren' does. This tool should be removed as it does not generate any output. Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] summing linelengths
Hi Richard, Unfortunately in QGIS 2.14 there is no help dialog with the tool so I did not get the explanation you posted. I tested the tool and it does work indeed. It makes the sum of the line features for each input record of the polygon layer. I agree with you that the name should be changed, and I am glad there will be explanation available in future QGIS versions. Regards, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be -Oorspronkelijk bericht- Van: Richard Duivenvoorde [mailto:rdmaili...@duif.net] Verzonden: donderdag 23 juni 2016 11:10 Aan: Reginald Carlier; 'qgis-user@lists.osgeo.org' Onderwerp: Re: [Qgis-user] summing linelengths On 23-06-16 10:16, Reginald Carlier wrote: > Hi, > > > > I’m using QGIS 2.14 and found that the ‘Vector tool’ > > Analyse-gereedschap > Basisstatistieken was what I needed. > > I still don’t know what the tool ‘Lijnlengtes sommeren’ does. This > tool should be removed as it does not generate any output. Hi Reginald, Running QGIS in english, you get the following descriptions in the dialog (at least with me here on QGIS master, in 2.14 there is no 'help' text I see...): Sum line lengths This algorithm takes a polygon layer and a lines layer and measure the total length of lines and the total numer of them that cross each polygon. The resulting layer has the same features as the input polygon layer, but with two additional attributes containing the length and lines count of layers across each polygon. The names of these two fields can be configured in the algorithm parameters. Did you check that too? I'm not sure what exactly the purpose or use-case is for this. But instead of removing maybe someone can provide a better name? Regards, Richard Duivenvoorde ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Library for data sources
Hello list, Does anybody know if there is a plugin that adds a library to the QGIS userinterface? I'm looking for a library of data sources (shapes, databasetables, WMS, csv) that one regularly uses, so you don't have to fetch them from your harddisk or open the database manager. I have attached a screenshot of a plugin for a library I use in Arcmap. https://www.dropbox.com/s/u3vkplovc3jqq1q/library.png?dl=0 Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Library for data sources
Hi Steve, We use a plugin developed by CEVI (Centre For Informatics in Belgium). They have also a plugin for querying the kadastre which is very useful. If my developersskills were a little better I would try to write a similar plugin for QGIS ;-). Regards Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39?www.ingelmunster.be -Oorspronkelijk bericht- Van: stevenlgol...@gmail.com [mailto:stevenlgol...@gmail.com] Verzonden: vrijdag 12 augustus 2016 7:30 Aan: Reginald Carlier Onderwerp: Library for data sources I'm curious, what plugin do you use for ArcGIS to display your "library"? (I am an ArcGIS and open source user, perhaps similar to you) Thanks, Steve Golden Hello list, Does anybody know if there is a plugin that adds a library to the QGIS userinterface? I'm looking for a library of data sources (shapes, databasetables, WMS, csv) that one regularly uses, so you don't have to fetch them from your harddisk or open the database manager. I have attached a screenshot of a plugin for a library I use in Arcmap. https://www.dropbox.com/s/u3vkplovc3jqq1q/library.png?dl=0 Greetings, Reginald Carlier Deskundige GIS [http://www.ingelmunster.be/ingelmunster.gif] Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T +32 51 33 74 39 www.ingelmunster.be<http://www.ingelmunster.be> [http://www.ingelmunster.be/fb.jpg]<https://www.facebook.com/Ingelmunster/> [http://www.ingelmunster.be/go.jpg] <https://plus.google.com/+ingelmunster> [http://www.ingelmunster.be/in.jpg] <https://www.instagram.com/ingelmunster/> [http://www.ingelmunster.be/pi.jpg] <https://www.pinterest.com/ingelmunster/> [http://www.ingelmunster.be/tw.jpg] <https://twitter.com/ingelmunster> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user Quoted from: http://osgeo-org.1560.x6.nabble.com/Library-for-data-sources-tp5279244.html _ Sent from http://osgeo-org.1560.x6.nabble.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Get the translation of a core string in Python
Hi Michel, I think the easiest way to use the translationdata would be a dictionary. You could try to parse the ts file and load the values from the source and translation tags into a dictionary (BeautifulSoup lxml parser for example) https://realpython.com/python-dicts/ Met vriendelijke groet, Reginald Carlier, Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be 0207.485.473 (gemeente) - 0212.221.845 (OCMW) RPR Rechtbank van eerste aanleg West-Vlaanderen afdeling Kortrijk Wij werken enkel op afspraak Schrijf je in op onze nieuwsbrief! Raadpleeg onze disclaimer ___ 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] QGIS-User Digest, Vol 218, Issue 10 Moving many project files - bulk updating
Hi, Just reading about a script to bulk change qgz and other files. A couple of years ago I needed this functionality when the servernames changed, so I wrote this script: import os import zipfile import ntpath # Wijzig deze map zonodig startdir = "C:/" newserver = "somenewserver" oldserver = "10.195.6.122" oldserver2 = "10.195.5.110" oldserver3 = "10.195.5.101" def path_leaf(path): head, tail = ntpath.split(path) return tail or ntpath.basename(head) def replace_servername(fl, svname): print("opening file " + fl) f = open(fl,'r') filedata = f.read() f.close() newdata = filedata.replace(oldserver,newserver) data2 = newdata.replace(oldserver2,newserver) data = data2.replace(oldserver3,newserver) f = open(fl,'w') f.write(data) f.close() def change_servername(fname, zonder_ext, ext): if ext == '.qlr': replace_servername(fname, newserver) if ext == '.qgz': with zipfile.ZipFile(fname, 'r') as zip_ref: zip_ref.extractall(os.path.dirname(fname)) qgsfile = zonder_ext + '.qgs' qgdfile = zonder_ext + '.qgd' replace_servername(qgsfile, newserver) os.remove(fname) zipObj = zipfile.ZipFile(fname, 'w') zipObj.write(qgsfile) if os.path.isfile(qgdfile): zipObj.write(qgdfile) os.remove(qgdfile) zipObj.close() os.remove(qgsfile) for (root, dirs, files) in os.walk(startdir, topdown=True): if files: for f in files: fl = os.path.join(root, f) zonder, extension = os.path.splitext(fl) if extension == '.qgz' or extension == '.qlr': change_servername(fl, zonder, extension) print("klaar") ## Reginald Carlier Deskundige GIS Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster T+32 51 33 74 39www.ingelmunster.be 0207.485.473 (gemeente) - 0212.221.845 (OCMW) RPR Rechtbank van eerste aanleg West-Vlaanderen afdeling Kortrijk Wij werken enkel op afspraak Schrijf je in op onze nieuwsbrief! Raadpleeg onze disclaimer -Oorspronkelijk bericht- Van: QGIS-User Namens qgis-user-requ...@lists.osgeo.org Verzonden: vrijdag 5 april 2024 9:58 Aan: qgis-user@lists.osgeo.org Onderwerp: QGIS-User Digest, Vol 218, Issue 10 Send QGIS-User mailing list submissions to qgis-user@lists.osgeo.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.osgeo.org/mailman/listinfo/qgis-user or, via email, send a message with subject or body 'help' to qgis-user-requ...@lists.osgeo.org You can reach the person managing the list at qgis-user-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of QGIS-User digest..." Today's Topics: 1. Re: Moving many project files - bulk updating paths to tables? (Tony Shepherd (FarmMaps NZ)) 2. Re: Announce - migrate our mailing lists to Discourse (DancesWithCars) 3. Re: Announce - migrate our mailing lists to Discourse (Michael Shand) 4. Re: Announce - migrate our mailing lists to Discourse (David Strip) 5. Re: Moving many project files - bulk updating paths to tables? (Gordon Wakelin-King) -- Message: 1 Date: Fri, 5 Apr 2024 08:06:48 +1300 From: "Tony Shepherd \(FarmMaps NZ\)" To: "'Jorge Gustavo Rocha'" , Subject: Re: [Qgis-user] Moving many project files - bulk updating paths to tables? Message-ID: <004301da86c3$41fb3da0$c5f1b8e0$@farmmaps.nz> Content-Type: text/plain; charset="utf-8" Thanks Jorge Yes, I toyed with that, but somewhat painful with thousands to process. Has anybody scripted or coded something for this? Cheers From: QGIS-User On Behalf Of Jorge Gustavo Rocha via QGIS-User Sent: Friday, April 5, 2024 7:53 AM To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Moving many project files - bulk updating paths to tables? Hi Tony, You can unzip the qgz file and change the text in the qgs files. qgs are text files. Afterwards, you can create the zip again with the qgz extension or open the qgs file directly. I hope it helps, Jorge On 04/04/24 19:28, Tony Shepherd (FarmMaps NZ) via QGIS-User wrote: Hi All I am sure I am not the first to ponder how to deal with this. I have loads, thousands likely, of project files in a series of folders and subfolders. I need to move those files and folders to a new location to enable other staff to use the project files and their associated shp files, geo packages, rasters etc.