Re: [Qgis-user] Programmatically extract WMS data based on point layer?

2020-10-20 Thread Kai Borgolte
Am 19.10.2020 um 17:17 schrieb Richard Duivenvoorde: > But honestly I think this is bad use of the WMS-api... you will not make > friends with them :-) I recently had a very similar task, but regarding WCS:

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Charles Dixon-Paver
Personally I feel like this outlines a greater problem of snippet sharing in many developer communities and is not a problem that is well suited to the resource sharing plugin, or even a single traditional GitHub repo. My personal approach was to set up a subdirectory on GitHub with code snippets

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Jorge Gustavo Rocha
Hi, I think the PyQGIS Cookbook is the perfect place to share these scripts. The Cookbook is not the API reference documentation. It is the place to share solutions for common problems using the QGIS API. Regards, Jorge Às 08:34 de 20/10/20, Charles Dixon-Paver escreveu: > Personally I feel

[Qgis-user] WPS-client plugin for QGIS3 available (experimental )

2020-10-20 Thread Richard Duivenvoorde
Hi List, When wanting to talk to a WPS-Server some weeks ago, it appeared to me that Sourcepole's WPS-Client plugin was not yet ported to QGIS3/Python3. So... Now in the plugin repo there is an experimental version available for you to test against your WPS servers (so do not forget to 'check'

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Richard Duivenvoorde
On 10/20/20 10:48 AM, Jorge Gustavo Rocha wrote: > Hi, > > I think the PyQGIS Cookbook is the perfect place to share these scripts. The > Cookbook is not the API reference documentation. It is the place to share > solutions for common problems using the QGIS API. While I agree with this, note

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Charles Dixon-Paver
I agree that the cookbook is a great resource (which is why I put it first on my list), but I think it's better suited to general examples and giving a solid outline of the best practices. If it's not kept concise, it could become a bit of a convoluted mess, in addition to all the broken code

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Raymond Nijssen
If the code snippets are not suitable for the cookbook (because they are too odd cases and/or they do not match the cookbook chapters) and you decide to put them anywhere else, it would be good practice to add the QGIS version number somewhere. Raymond On 20-10-2020 11:20, Charles

Re: [Qgis-user] Road Labels

2020-10-20 Thread Charles Dixon-Paver
Sounds like you should be able to just export the roads you need from the OpenStreetMap data you already have to resolve your issues. If you have the OpenStreetMap state roads open in QGIS, zoom into your area of interest. Right click the layer in the layer menu and select Export>>Save Features

[Qgis-user] How to use Package layers algorithm in a model when layers to package have same name ?

2020-10-20 Thread Yann Voté
Hi list, I'm trying to design a model whose last step is to package 3 layers into one GeoPackage using the "Package layers" algorithm. The 3 layers are outputs from three distinct "Refactor fields" algorithms respectively. When I run the model, I get only one layer into the GeoPackage named

[Qgis-user] Road Labels

2020-10-20 Thread Wanda Norman
Hello Helpful Members; I am a fairly new user (about 3-4 months now). I have been using the online tutorials, the training manual and anything I can understand. BACKGROUND I am a parking planner so I create maps of my study area, which is usually an entire city, in various US states. For

[Qgis-user] QGIS Update Does Not Work

2020-10-20 Thread Mike Flannigan
I am on Linux Mint 19.3 Cinnamon. When I try to update QGIS with the Update Manager from ver 3.10.10 to 3.14 http://www.mflan.com/temp/update1.jpg It first gave this error: http://www.mflan.com/temp/qgis error1.jpg But now it gives this error every time: http://www.mflan.com/temp/qgis

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread qgis-user
Thanks for a really thoughtful overview of the issues. I don't think Stack Overflow or any of the Stack Exchange sites are the right way to go. In addition to your gamification objections (to which I add the obsessive "that's two questions" objections), it's just

Re: [Qgis-user] Road Labels

2020-10-20 Thread Kurt Menke
Hi Wanda, Another good source of roads for the US is the Census TIGER program. You can download these for individual counties, which would be smaller, more manageable files. https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html Kurt -- **

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Hernán De Angelis
This is an interesting discussion. I am an outsider in that I do not use PyQGIS particularly often. However, based on similar experiences, I can feel I can add my two cents. Any repository (software or otherwise!) requires a maintenance plan, active maintainer(s) and a search tool of sorts to

Re: [Qgis-user] Shared/common library for PyQGIS scripts

2020-10-20 Thread Charles Dixon-Paver
This is why I mentioned snibox, as it's the best self hosted platform I've found of the bunch for this sort of thing... They have a demo app: https://snibox.github.io/docs/demo.html I'm +1 for Raymond's suggestion on versioning, however I think we need a decent convention for this that makes it

Re: [Qgis-user] Road Labels

2020-10-20 Thread Randal Hale
One thing you could do is take the roads you downloaded for Michigan and clip them against the county boundary. You should be able to get the county boundary from the Michican open data site or the census. If you add both the roads and county boundary to your QGIS session I would 1. select

Re: [Qgis-user] Clipping and keeping RGB scale

2020-10-20 Thread qgis-user
I don't think your issue is with the clip of the rasters, it is with how the software you are using sets the scale for the display of the layer. When you clip a layer in  QGIS or directly with gdal_translate, the default is to leave the pixel values exactly as they

[Qgis-user] flatpak qgis on CentOS 7 hangs on Project Save after displaying dbus error

2020-10-20 Thread Todd Pfaff
I have a flatpak installation of QGIS 3.10, just installed today, on a CentOS 7 system. I launch QGIS from an xterm with the command line: flatpak run --share=network --command=bash org.qgis.qgis \ -c "DISPLAY=$DISPLAY qgis $*" When a Project Save is attempted the following messages are

[Qgis-user] Clipping and keeping RGB scale

2020-10-20 Thread Mauricio Tecles
Hi! I am new to GIS processing. I need to cut large RGB composed satellite images in patches(5760mx5760m). The way I know to do that in QGIS is by"Raster->Extraction->Clip Raster by extent", or by batch fileon the "OSGeo4W Shell" console. I have to extract about 400 patchesfrom 4 or 5 RGB

Re: [Qgis-user] Road Labels

2020-10-20 Thread Thayer Young
antly crashed using QGIS after the new Windows updates, we have installed new hardware in hopes to keep it from crashing. Dell Computer Currently have 16 gig memory (increased from 8) 2 gig AMD Radian R5 Video card (newly installed) Core I3 processor Using QGIS 3.10.9 (3.14 won’t load) Sorry f

[Qgis-user] Get ready for KwakFriday on October 30, 2020!

2020-10-20 Thread Tim Sutton
Dear Users of QGIS Friday, 30 October 2020 is KwakFriday! What is 'KwakFriday' you may be wondering to yourself? It is an initiative to replace the wonderful community meetups we used to hold every six months when times were different. Like our in-person meetings, the event is organised on a

[Qgis-user] Fitting an image to the paper to export

2020-10-20 Thread Mauricio Tecles
I havelearned to export a square image from QGIS reading some Howto of making a sceneryfor a program. I used to do that, but for some reason, probably some Windows 10update, the process does not work anymore. To have theimage exported without any border (blank margin), I used the following

[Qgis-user] QGIS Update Does Not Work

2020-10-20 Thread Mike Flannigan
Duplicate post - this one with correct links: I am on Linux Mint 19.3 Cinnamon. When I try to update QGIS with the Update Manager from ver 3.10.10 to 3.14 http://www.mflan.com/temp/update1.jpg It first gave this error: http://www.mflan.com/temp/qgis_error1.jpg But now it gives this error