Re: [Qgis-user] Fwd: Your message to Qgis-user awaits moderator approval
On 3/8/2022 11:04 AM, Cory Albrecht via Qgis-user wrote: Could a moderator deal with this, please? It's been sitting for a few days. I attached some images to explain my problem. Thanks in advance. you could always just upload your images to some hosting service like imgur or a cloud drive (google drive, OneDrive, etc), then put links in your email. That avoids the need for the moderator to intervene, ___ 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] Automating creation of county distribution maps
As first step towards building a model as Nicolas has suggested: I assume you have a layer with the county boundaries. Export this layer as a CSV file, keeping only the name of each county in the export step, and don't export the geometry. Now open this file in your spreadsheet app of choice. Add a new column for each plant species. Put a one in that column for each county where the species is present. Save the file (still as CSV). Open the county layer and the new CSV files in Ggis. Open the properties window for the county layer and click on the Joins tab. Click on the "+" to add a new join. Join to the CSV layer, and select the county names field as the join field for each. Now your county layer has the plant species column. To display a single species, open the properties window for the county layer, select symbology. Set the symbology as rule based. To color just those counties with species 1, your rule would say something like Species1 = 1, where Species1 is the field name you used. Pick a color/transparency of your choice, then set the "all others" rules to be the background color you want. That does it for one species. You can then export to tiff or whatever. Getting it to cycle through all the different species is for someone else to explain. ___ 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] Browser and Layout side bars now hidden
On 3/13/2022 8:27 AM, Mike Breiding - Morgantown WV via Qgis-user wrote: Greetings, I have somehow made hidden the Browser Layout and side bars and now only the canvas is visible. What must I do to have them visible again? From the main menu bar - View->Panels (near the bottom of the list) Then tick the browser and layer checkboxes ___ 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] again: Create Geospatial PDF producing faulty output
On 3/21/2022 9:52 AM, Ken Sanderson via Qgis-user wrote: If TIF output is spatial and is working fine, print to that, then use gdal to convert that to pdf? This would result in a pdf that is nothing more than a bitmap. It would lose the layer structure that a vector pdf can contain. ___ 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] How to specify buffer distance in Metres when Using WGS84 (EPSG:4326) geometry.
On 3/21/2022 1:44 PM, Bernie Connors via Qgis-user wrote: I am using QGIS 3.20.0-Odense and I have a small set of points in EPSG 4326, a geographic projection. I am trying to use the Multi Ring Buffer tool and the units for the buffer distance is in "degrees" but I want to specify a buffer of 5 metres. The tool doesn't appear to allow me to change the units for the buffer distance. What can I do here? You have to set your project CRS to a projected coordinate system in meters. (Strictly speaking it could be in something else like feet or miles, but you would have to manually convert the meters to the units of the CRS). ___ 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] Problem trying to graduate by value (colum)
A lot of folks get bitten by text fields that look like numbers. What if the attribute table color-coded the columns with different colors for text vs. numbers? Or had a second row of headers showing the field type? What would the disadvantage of such an approach? Of course, the color coding/field type could be optional. ___ 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] polygon fills from different shapefiles
On 6/21/2022 8:37 AM, Firstname Lastname via Qgis-user wrote: I have gone that far, but I have four sets of maps with similar units. If I categorize them independantly, I have to manually change the colours to make them consistent between layers. This is very time consuming and I was wondering if the colour can added to the attribute table so that I can edit them more easily On Tue, Jun 21, 2022 at 2:56 AMwrote: Context menu of your shapefile > properties > choose Tab "Symbology" > select "Categorize" in the first line with the attribute for the name of the geologic formation as the value in the second line. Click on "Classify" and style your polygons as appropriate. Regards, Christine Assuming all the shapefiles use the same name for the attribute you will use for categorization, you can save the styling to a style file from the Symbology tab of the Properties dialog. Do this once, then load the style file to the other layers. ___ 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] Dimensioning in QGIS
although a CAD drawing may be drawn to some scale, it is common to explicitly label lengths (distances) using arrows and extension lines. I suspect the OP wants to create dimensional arrows labeling distances between features on the map, eliminating the need to measure a scaled distance (say on a printed map), then multiplying by scale factor, which is almost sure to introduce inaccuracy, as well as inconvenience. On 6/23/2022 5:23 PM, Greg Troxel via Qgis-user wrote: IainS via Qgis-user writes: Is there a tool for adding dimensions in QGIS. For those who are wondering what I am talking about, it is common in CAD drafting to add dimensions to what you have drawn and this is a whole part of a CAD program where you can format dimensions .etc. I have been asked to add dimensions to an archaeological hole I am digging on a QGIS map and I was wondering whether there is a similar dimensioning tool in QGIS. Can you explain what you mean without saying "like CAD"? Distances are or can be in meters, and it is normal to have a scale on a map. So I don't know if this is about representing length conceptually or about labels with lengths, or ? Perhaps a link to what you have and what the specific complaint is would help. ___ 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] Dimensioning in QGIS
To the extent that anyone is interested in a discussion of adding CAD-like dimensioning capabilities to Qgis: In a CAD model dimensional callouts present the user with information about lengths, angles, radii, and other metric properties. Dimension call-outs in a CAD model (probably more accurately, a CAD drawing derived from a model) are annotations to the model, they are not model objects per se. In a well-designed system, the dimension call-out displays the actual metric value of identified length, radius, angle, etc. The dimension "object" is tied to the underlying geometric model and will change the presented value if the underlying object is changed (eg, scaled in size). In addition, if the underlying object moves with respect to other objects in the model, the dimension annotations move with it, maintaining a constant relationship, for example to the edge whose length we are dimensioning. Extending this notion to GIS in general, and Qgis, introduces a bit of a difficulty in the sense that CAD systems tend to have a fuzzy boundary between the notion of what in Qgis is the map canvas and the a layout. Sketchup, a popular (and free-ish) CAD modeler allows dimension annotations in what amounts to the canvas, but also has an adjunct program Layout for drawings, much like a layout in Qgis. That said, I would suggest the starting point in Qgis would be an annotation capability in the canvas, much like the annotations introduced in 3.22. When adding a dimension to the canvas, a user would click on some aspect of a feature, typically a vertex or other point-like feature, then click on a second, and a line/arrrow would be added as an annotation, with text indicating length. Things get a little more complicated trying to dimension the radius of a circle, as these are represented in different ways depending on the data format (eg, shapefile vs. geopackage). To match the semantics of CAD dimensions, the stored representation would be tied to the properties of the feature, not to the geo-referenced value at the time the annotation was created so as to allow the dimension to dynamically respond to changes in the underlying data. None of this gets to the question of should this be added? There are important differences between a CAD model and a map. A CAD system is used for design, just as the name says. A CAD model generally goes through a series of revisions over it's lifetime. A map (at least for me) is generally intended to reflect a physical reality. It may experience changes as we refine our understanding of the underlying physical reality, but in general maps tend to reflect data that is far more static than that in a CAD model. This suggests that perhaps we really don't need the same sort of dynamic dimensioning capabilities that a CAD system provides. WIth that in mind, I think the appropriate starting point for dimensioning in Qgis, if we want one at all, is to add a "linear dimension" tool to the existing annotation toolbar. The tool would allow the user to snap a line between any two vertices (or points) on a layout, and would add a dimension arrow between the two points, and perhaps extension lines, labeled by default with the appropriate distance. Until a more compelling use case presents itself, I think it would be sufficient to make the new dimension annotation be statically geo-referenced. ___ 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] Dimensioning in QGIS
On 6/25/2022 6:43 PM, Richard Greenwood wrote: At the risk of stating the obvious, all of that can be done with labels in QGIS. A simple line can be annotated with angle and distance, which are dynamically updated when the line is modified. QGIS has the ability to move labels relative to the object being labeled and supports "call outs" aka "leader lines". Labels are not "model objects", in other words, labels are saved in the QGIS project, not in the underlying data. This is certainly true - it's just a question of how hard it is to accomplish. Here's an example - starting with a polygon layer, I want to dimension two boundaries of my property - I claim no particular expertise in this, so here's my process - Convert polygon to lines explode lines delete lines that I don't want labeled use the geometry generator provided earlier in this thread tweak half a dozen parameters buried in the geometry generator to get the styling I want. If users are going to want to routinely add dimensions like this, it would be far preferable to extend the annotations system to include a linear dimensioning tool that just requires mouse clicks on two points and a basic styling dialog. Please note that I am not particularly advocating for adding dimension capabilities to Qgis, as I personally have no use case and don't know whether there is a common enough need to warrant the effort. However, I do have extensive CAD experience and was trying to translate the CAD terminology to the GIS folks unfamiliar with what "dimension" means in the CAD world, as there seemed to be a lot of questions about the meaning. ___ 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] saving styles to geopackage
I know that I can style a layer and save the style to a geopackage. In doing so, I associate the style with the layer, but can retrieve that style later for use on a different layer. Is there any way to create a geopackage of "bare" styles - styles not associated with a particular layer, just a catalog of styles. For example, let's say I'm creating a suite of topo maps and I want the various layers of each map styled consistently. I could fetch the styles from a geopackage in which the style has been connected to a particular instance of the the layer type, but it seems it might be nice to just have a catalog of styles in a geopackage. I can do this outside the geopackage system by storing qml files in a directory, which is fine, but a geopackage feels neater. ___ 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] copy and paste very slow in qgis
On 7/4/2022 9:03 AM, Michael.Dodd via Qgis-user wrote: I am trying to copy points with their attributes from one layer to another (actually one geopackage file to another), the select is quick, couple of mins, bearing in mind there are 800,000 points but when pasting into the new empty geopackage file it is extremely slow. Less than 10% of the points need to be pasted but it was taking 40mins before I stopped it and I had no idea how much longer it would take. There was a hint that it may have done about 30,000 in 40mins. Is there another way to do this, I have also tried switching the selection and deleting the other 90% but this too is very slow and don’t see the end. Have you tried selecting the features, then Export->Save Features, ticking Save Only Selected Features? ___ 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] Convert huge shapefile to small size
On 7/28/2022 5:52 AM, krishna Ayyala via Qgis-user wrote: dbf file itself is 5.1GB. Rest all other files are less than 500MB. It is the number of records which is huge. It has about 117,2100 points. Is that 117,200 points or 1,172,100 points? In either case, there's almost certainly something wrong with your file, as you have either 50K or 5K bytes per point, which is off by one or more orders of magnitude. For comparison, I created a set of 1M random points with 14 attributes inherited from the polygon they lie in. This includes 3 qlongong fields, 9 doubles, and 3 strings with a total length of 40 chars. I saved this as a shapefile and the total size is ~300M. ___ 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] excessive threads?
On 7/30/2022 6:36 PM, Greg Troxel via Qgis-user wrote: I do understand that threads could help parallelization, eitehr using multiple cores, or just allowing IO in parallel. chris hermansen writes: Does it seem like you have one thread per layer for reading plus one for rendering plus one for user input? I don't know how many layers I have :-)I can experiment with some smaller projects. When I noticed this, I had not tried to use qgis in at least a day. I did a little bit of quick experimentation using Qgis 3.26 (Buenos Aires) on Windows 10. The number of threads is all over the place. It does not seem to be tied to the number of layers in the map, at least in the sense of steady state (ie, let the app sit idle for a while). Adding layers bumps the thread count, with shapefiles adding more threads than files in a geopkg. Locally stored geotiffs are more like a geopkg vector file in terms of threads. But once things settle down I end up around 20 threads. Interestingly, Help->About bumped the thread count by 8. Closing a project (not saving) and then opening a "new" project (no template) bumped another 8 threads for about 30 seconds, then settled back down.Launching Qgis peaked at 30 threads, then after about it minute settles down to 14. I suspect this is dependent on which plug-ins I'm running. Note these numbers are non-deterministic - Help->About on a fresh start of Qgis with an empty project jumped from 13 threads to 33, then settled down to 22, which is different from the previous attempt where there were open layers in the map. I'll be interested to hear what drives the thread count to > 150 . None of my very limited test involved database connections or connections to remote data. Those might have something to do with it. Maybe layer filters? Complex rendering (eg, geometry generators)? ___ 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] Tectonic plate boundaries
This page contains a number of shapefile links and some KMZ links as well. On 8/13/2022 10:37 AM, John Moyle via Qgis-user wrote: Hi New to QGIS. I want to plot Victorian submarine telegraph cable interruptions under the Atlantic. I know, what an Anorak!! I have found a brilliant rasterfile of the seabed from GEBCO to use as a base layer. I have also collected all the data of cable failure, submarine earthquakes and volcanoes and am ready to make vector layers of all the data. But what I can't find is a shapefile of the tectonic plates boundaries, just the boundary lines with no shading or text. Everything I do find is rejected by QGIS as not being in a suitable format. Help please! John Dr John Moyle MB, BS, MSc, PhD, CEng, MInstMC, FRCA, FRHistS Chartered Engineer Physician & Anaesthetist (Retired) Historian (Telegraphy & Medical Technology) Home +44(0)1608 665968 Cell +44(0)7836 244584 Amberley Cotswold Close Tredington Shipston on Stour Warwickshire CV36 4NR, UK "A person has nothing to lose if he believes in God and in the end he turns out to be wrong but everything to lose if he wagers that God does not exist and it turns out in the end that He really does." - Blaise Pascal (C17th French Scientist & Mathematician) ___ 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] Location of Layout with multiple maps.
It appears that if one creates a layout with multiple map frames in the layout, then exports to GeoTiff with world file, the world file will reflect the first map frame added to the layout, regardless of where the frame is in the item stack (visibility order) or where it is located on the page. Can this behavior be counted on? (Obviously it makes no sense to think there could be more than one location/world file, so that's not the issue). ___ 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] Problems with raster layer in geopackage
I have a geopackage called GMU5ab. I also have a map project called GMU5ab, which is stored in that geopackage. With the GMU5ab project open in QGIS, I created a hillshade layer, called "Hillshade" in the layer list. I saved this layer to the geopackage. Unlike a vector layer which is stored with the legend name, the layer in the geopackage was stored as GMU5ab and has a raster icon. If I right click on a vector layer in a geopackage in the browser, I have the choice of Manage->Rename Layer, but if I right click on the raster layer, Manage only offers delete. Is there a way to store the raster layer with the correct name in the first place using Qgis? Once stored, is there a way to rename a raster layer in a geopackage from within Qgis. QGIS 3.26 on Windows 10 Thanks ___ 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] Polygon next to road search term
Is a polygon "next to a road" because one (or more) edges of the polygon is exactly coincident with the road line? Or is it within some distance of the road line? These lead to different solutions, but unless your data is very precise, asking for the boundary to be exactly coincident with a road line is not going to be very robust.Does your road polyline feature have a road width? If so, does that factor into "next to"? On 9/13/2022 5:26 PM, Jon via Qgis-user wrote: I am trying to figure out if a property that is a polygon is next to a polyline (road). I am not well versed with QGIS and every search I do seems to tell me how to map a polygon onto a road or convert polylines to a polygon. I am not sure what exactly I need to search on to find some documentation on how to do what I am looking to do. What should I be searching on to find if a property that has 4 sides and is a polygon is next to a road? Is what I am trying to find called something specific and that is why I am not finding? Thanks for any help, Jon ___ 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] Polygon next to road search term
My starting approach would be to take the road layer and buffer that out by some small distance - say 5 meters. (Note that you have to be working in a projected coordinate system for the buffer distance to have useful meaning.) I would then intersect the buffered layer with the polygon (lot) layer. The resulting intersections will be the overlaps between the buffered roads and the polygons. The attribute table will contain a list of all the intersections and each row of the table will contain the attributes of both the lots and the roads, so if the lots and roads have attributes with meaningful names, you will have a list of all lots that intersect roads and the names of the road it intersects with. You could also try extract by location from the processing toolbox. This would give you a layer of the original lots (polygons) that intersect some road, but won't tell you which road. On 9/13/2022 10:19 PM, Jon via Qgis-user wrote: I would want the polygon to have road access. So you should be able to access the polygon firectly from a road. Just a corner touching may work but that would depend on an easement and I am having enough trouble just trying to figure out what I should be searching on without throwing that in as well. So at this point, the polygon should be able to be accessed by the road line. So possibly 20' of the road line is touching the polygon. -Original Message- From: David Strip To: j...@destar.net, Qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Polygon next to road search term Date: Tue, 13 Sep 2022 21:12:01 -0600 Is a polygon "next to a road" because one (or more) edges of the polygon is exactly coincident with the road line? Or is it within some distance of the road line? These lead to different solutions, but unless your data is very precise, asking for the boundary to be exactly coincident with a road line is not going to be very robust.Does your road polyline feature have a road width? If so, does that factor into "next to"? On 9/13/2022 5:26 PM, Jon via Qgis-user wrote: I am trying to figure out if a property that is a polygon is next to a polyline (road). I am not well versed with QGIS and every search I do seems to tell me how to map a polygon onto a road or convert polylines to a polygon. I am not sure what exactly I need to search on to find some documentation on how to do what I am looking to do. What should I be searching on to find if a property that has 4 sides and is a polygon is next to a road? Is what I am trying to find called something specific and that is why I am not finding? Thanks for any help, 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] Problems with raster layer in geopackage
Starting with a tiff hillshade 10,812 x 10,812 8-bit unsigned int, 1 band , then exporting geopkg, default settings - 32,136K bytes geopkg, manually setting TILE_FORMAT = PNG - 80,572K bytes gtiff, default no compression - 114,287K bytes gtiff, high compression (DEFLATE, predictor = 2) - 86,816K bytes The default is still lossy as expected as the issue has not been resolved, but it is possible to override the defaults by providing the TILE_FORMAT = PNG options. On 9/22/2022 10:36 PM, Nicolas Cadieux wrote: Hi, I would test but it looks like the issue has not been fixed. Nicolas Cadieux https://gitlab.com/njacadieux Le 22 sept. 2022 à 23:36, David Strip a écrit : On 9/22/2022 7:38 PM, Nicolas Cadieux wrote: I would not store raster in a geopackage unless it’s just a pretty picture. The default compression for that format is not lossless. I would just save as a .tiff. If I use Properties->Export and export to a geopkg and add TILE_FORMAT to PNG, do I get a lossless export? (I saw this option in issue 40425 that you submitted back in 12/20.) ___ 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] Fwd: Your message to Qgis-user awaits moderator approval
your best bet is to upload your screenshots to an image server (eg, Imgur), then inline the images into your email. On 10/7/2022 11:25 AM, Hugh Kelley via Qgis-user wrote: Hi, I included a few screenshots in an email to the list and as a result it exceeded the acceptable file size. Is this something that can be approved or should I resend a smaller email? ___ 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] Updating QGIS version
Most Qgis installers for Windows do not do an update in place. Instead they install an additional version of Qgis. This allows you to keep running an earlier version of Qgis at the same time as the newer one. This might be helpful in some cases, but because it's atypical of most Windows programs, it is confusing the first time you encounter this. The desktop or taskbar icon for your previous version remains connected to the old version. You have to create a new shortcut to access the new version. Once you are satisfied that the new version hasn't broken any functionality you need, just go ahead and uninstall the old version and delete any shortcuts you have created. Beware that in some cases a newer version of Qgis will write a project file that is not backwards compatible. If you open an old project, you will be warned that saving it will render old versions unable to open it. On 10/27/2022 2:40 PM, Sebastian Gutwein via Qgis-user wrote: I find that windows will open the version I installed but continue to say the previous version when I open it by searching windows. In my case it says 3.18 but opens 3.26. Could this be happening to you? On Mon, Oct 24, 2022 at 4:40 PM krishna Ayyala via Qgis-userwrote: Hello, I have QGIS 3.20 version. I was planning on updating to the latest version without uninstalling the current version. I have downloaded and installed "OSGeo4W Installer" from the following webpage. The QGIS did not update to 3.26 version. My QGIS is still 3.20 version. Can anyone please help me fix this? ___ 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] multiple csv file import
You might consider ogr2ogr as an alternative approach. You can run this from the command line allowing you to use shell scripts to iterate through all your .csv files. There are also python bindings for ogr2ogr if you're more comfortable with python than shell scripts. On 11/15/2022 9:59 AM, Salvatore Mellino via Qgis-user wrote: Hello, thank you for your answer. I have many csv (about 100), so I need an automatic procedure. Maybe a python script... Il 15/11/2022 16:55, Nicolas Cadieux ha scritto: Hi, Yes, you can do that very easily using QGIS. Layer/add layer/add delimited text layer. Then just export the layer in the format of your choice. You may need to convert the coordinates in decimal degrees (ex 75 05 30.4 -> 75.0917800 ). You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600) A= Deg, B= Min, C=Sec, D= Decimal Sec. Then export to csv. Nicolas On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote: Hello, I would like to know if it is possible to import multiple csv files contained in a folder and to convert them in shapefiles (1 for each csv). All csv files are structured as "lat long value" separate by space and without any header line. Thank you for your help! Regards, Salvatore ___ 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] multiple csv file import
Starting with v2.1, ogr2ogr supports args X_POSSIBLE_NAMES, Y_POSSIBLE_NAMES which are strings with allowed wildcards (eg, Lon* ), or you can use field_1, field_2, etc to explicitly give the position of lat/lon. It's explained on the driver page. This StackExchange post shows csv to shapefile conversion and included Windows command line syntax for looping over files in a directory. On 11/15/2022 12:58 PM, Hugh Kelley wrote: David, this was my first thought when i saw this question as well. however, I didn't look for very long but I haven't seen a way to tell ogr2ogr to read columns in a csv as the lat/lon and write those as points to the shapefile. I generally write a csv to postgres as a non-spatial table and then process the lat lon columns with postgis. Are there arguments for ogr2ogr that can do this? ___ 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] Offering QGIS installers through Windows store
This is an intriguing idea. In addition to providing a revenue source, it has potential benefits to certain classes of users. You've already identified the automatic updating feature, which many people will no doubt find desirable. Another feature is the legitimacy of installing from the MS Store. We periodically see posts from users in a corporate environment who cannot update to some version or another unless the IT gods have waved their wands and blessed a particular release. I expect there are middle ground environments that don't allow random installations, but will allow installations from the MS app store, as MS does provide at least a modest vetting of the content. By providing QGIS through the app store we will simplify access for users in that environment. On 11/22/2022 1:19 PM, Anita Graser via Qgis-user wrote: Hi, With QGIS functionality and user base constantly growing, the required maintenance also keeps increasing. To keep our project budget sustainable, we (the PSC) are considering investigating the possibility of offering a Windows installers for sale through the Windows store in addition to the free installers from qgis.org. This approach would follow the example of projects such as Krita (https://krita.org/en/download/krita-desktop/). It would give our users an additional low-threshold way to support QGIS. And - if I understand the Krita offering correctly - users will also get automatic updates when new versions come out which is a nice service. Of course, we will keep offering the free installers and using the store would be completely optional. If you have any experience offering software through the store, your insights would be very much appreciated since we are still at the early stages of exploring this option. Regards, Anita -- Anita Graser Home: http://anitagraser.com Twitter: @underdarkgisMastodon: @underdark...@fosstodon.org ___ 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] importing GeoPDF
On 1/10/2023 10:01 AM, JOE LEMONNIER via QGIS-User wrote: Is there a way or a plugin that allows me to import GeoPDF file such as USGS topos into QGIS as vectors? I’m using version 3.22.6 and trying to import with Layer>AddLayer>Add Vector Layer, but it gives a message “ Invalid Data…" Thanks in advance, Joe LeMonnier Using Qgis 3.26 on WIndows 10 I just drag the USGS topo geoPDF onto the canvas. I get a dialog asking which layers I want. I selected all and the resulting Layers window shows a large number of vector layers plus the satellite image layer. ___ 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] The theory behind topology
If you're asking the more general question about various geometric algorithms (like intersection, union, inclusion, etc) you might want to look at a text on computational geometry. ___ 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] Formatting dynamic text
I am trying to use the dynamic text option [%item_variables('Map 1')['map_scale']%] in my print layout but I get a scale of 10.7 in my title block. How can I apply a format number to get it to display a whole number like 10? I don't know how to do it using dynamic text, but you can get what you want using this _expression_ [% round(map_get( item_variables('Map 1'), 'map_scale'),0)%] ___ 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] [EXTERNAL] Re: Geopackage slow on NAS if not read-only
On 3/18/2023 1:50 PM, Patrick Dunford via QGIS-User wrote: but I use NFS, which is not available on Windows (my computers run Linux) NFS is available on Win 10 and 11 in the Pro and Enterprise versions, but not the Home version. I think it is not on by default, however. ___ 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] Issue with QgsLayerTreeNode.itemVisibilityChecked
On 5/22/2023 7:44 PM, Patrick Dunford via QGIS-User wrote: extentGroup = root.findGroup(extentGroupName) extentLayers = extentGroup.children() for extentLayer in extentLayers: if extentLayer.itemVisibilityChecked: print (extentLayer.name()) shouldn't that be if extentLayer.itemVisibilityChecked(): (note the addition of parens after the method name). ___ 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 controlling access in QGIS
Expanding on what Chris said - Qgis does not own or manage data, Qgis manipulates and displays data from files, databases, and web services. As Chris points out, access to files is controlled through OS settings, databases by database settings. Web services may require authentication for access. When Qgis is used to create derivative datasets, these will be stored in a file system or database, again subject to the sorts of access restrictions that these systems provide. On 5/30/2023 9:59 AM, chris hermansen via QGIS-User wrote: Simon and list, On Tue, May 30, 2023, 08:48 Simon via QGIS-Userwrote: Hello, It's me again, I just had some questions regarding the ability to control access in QGIS. First of all, is it even possible? Can an organization (like departments of the Canadian government) control who has access to which database or file? Can the IT department of that organization manage the access? Access to files is controlled through operating system settings. Access to databases is controlled by database settings. Normally in organizations system administrators manage these settings. Whatever software application is run is limited in its access by those settings. It would be unusual for an end user software application to further manage access. Settings typically include ability to read, ability to write, ability create and ability delete. So for example a set of shape files could be shared as read only to users, to a group of users, or via access control lists. To your point - access to resources is not controlled through QGIS; it is controlled by the operating system, and by the database server if one is used. ___ 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] Problems with QGIS 3.28
On 7/11/2023 11:41 AM, John Studley via QGIS-User wrote: Please can someone help QGIS 3.32 will not install on my Windows 10 - I am told that various files are missing QGIS 3.28 will install but the layer box is too big so I cannot change the polygon colour rendering QGIS 2.12 will install but I cannot add plugins but I can change polygon colours Today I wanted to publish a map on the QGIS cloud so I had to 1) edit polygon colours in 2.12 2) Uninstall 2.12 3) Install 3.28 4) Add the requisite plugins 5) Publish map in cloud There has to be a better way We need to know which installer you're using to help and at least a partial list of the missing files. If you install using the OS4Geo network installer, you can have multiple versions installed at the same time, so you would not need to uninstall 2.12 before installing 3.28. ___ 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] Problem saving project to geopkg
I created a geopkg by exporting a layer from my project to a new geopkg. I then exported a couple of other layers to the geopkg. I then did File->Save To-> geopkg and saved my project to the geopkg. So far, so good. Now I made some changes to the project and tried to save it and now I get a python error ValueError: Cannot open geopackage:C:/Users/David/Documents/Geodata/Maps/RIP_Medical_Debt.gpkg?projectName=MedicalDebt.mldata How do I fix this? Thanks ___ 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] Problem saving project to geopkg
On 7/25/2023 11:55 PM, Michael Dufty wrote: The error message includes MedicalDebt.mldata as a project name. I believe this is the file the memorylayer saver plugin creates to save the temporary layers to. Have you tried it with that plugin disabled? I'm really dependent on the memory layer saver plugin, and have abandoned investigation of saving files to geopackage because memorylayer saver does not seem to support it. the problem appears not to be the presence of the memory layer plug-in specifically, but the combination of the plug-in and a memory layer in the project. If I have a memory layer open in the project when I try to save to a geopkg, I get the error. If I remove the memory layers (or save them to the geopkg and replace the memory layers with the saved layers), then the problem disappears. ___ 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] Pro tips for beginners
Another "pro" tip (from a non-pro) - Create keyboard shortcuts for frequently used commands, such as this one suggested by Michael Duffy - -Copy and paste styles between layers. ___ 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] Convert PNG file to vector file
On 10/25/2023 7:46 AM, krishna Ayyala via QGIS-User wrote: Thanks for the reply Simon. The Polygonize tool did not work for me. Regards. It's not surprising that polygonize didn't work. Polygonize recognizes regions of constant color. The patterned fills of the regions in your file will completely defeat polygonize. The fact that regions overlap only further complicates the matter. You will either have to manually digitize the image or find someone who has the files that were used to generate the map. ___ 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] Hillshade default direction
Thank you to both of you for your informative responses. This prompted me to look at some satellite imagery and while the plateau vs. valley effect is not as distinct, the reversal of hills persists. Never noticed that before. ___ 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] How to create 3d terrain from DEM?
In addition to the advice you've already gotten, the reason your 3D model is so "wonky" is that you don't have elevation data outside the region you plotted, so these all have elevation zero. Since the region is around 8500' elevation, that creates the vast wall effect you're seeing. More fundamentally, however, is that you are taking an unnecessarily difficult path to creating this model. You can download a 1/9 arc-second DEM from the National Map which gives you a highly accurate elevation model for the entire region, eliminating the problem you're having. Contact me off the mailing list if you want more help. ___ 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] Announce - migrate our mailing lists to Discourse
I've never used Discourse so I'm not in a position to compare it's usefulness to the existing email format. I can add one more voice expressing satisfaction with the email approach and how it encourages readers to view everything rather than narrowing focus to topics of interest. It also strikes me that we will inevitably lose some people in the transition because of the friction required to move focus to a new format, regardless of whether you like or hate Discourse. ___ 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] Moving many project files - bulk updating paths to tables?
On 4/5/2024 2:15 AM, Antonio Viscomi via QGIS-User wrote: if you're using linux what you need is simply use the 'sed' command by terminal as i.e.: sudo sed -i 's/NEWPATHTOSUBSTITUTE(your path or IP or domain)/OLDPATH/g' *.qgs The original request noted that the files were .qgz files, not .qgs, so you need to first unzip, the rezip the files. And this single line solution assumes all files are in a single directory, so you need something "find" to walk the directory structure. ___ 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-Developer] Announce - migrate our mailing lists to Discourse
On 4/10/2024 9:00 AM, Régis Haubourg via QGIS-User wrote: I also heard yesterday another argument, given that we have StackExchange, mailing list and forums would be of no use. Except you don't discuss on StackExchange, you only ask questions. And we don't own the content (side remark) there. Stack Exchange is not a good substitute. A number of the most active users are quick to close any post with more than one question, often making it hard to coherently post about your issue. ___ 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] GIS Institutes - Online Courses
On 4/13/2024 12:45 PM, krishna Ayyala via QGIS-User wrote: I wish to enroll in some of the online GIS courses. Is there a place or weblink where can I get the complete list of GIS Institutes that offer online courses? I am looking for institutes that are located in the USA, Canada and Europe. Coursera has quite a few from a range of US and Canadian universities. Many are free, though you must pay if you want a formal credential or credit. ___ 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