Re: [Qgis-user] T20240617.0042 - CRC | Jamie Buell | PC Keeps Crashing / Very Slow when using QGIS

2024-06-18 Per discussione Richard McDonnell via QGIS-User
Hi Aron, Seems like you're dealing with large dataset? A few things you can try. * Make sure the datasets your running analysis on, or carrying out spatial joins on, all datasets have a Spatial Index. This can be done by going into the Layer Properties and under Source, click Create

Re: [Qgis-user] Fwd: Export data with tiff and csv files in QGIS 3.36.3

2024-06-11 Per discussione Richard McDonnell via QGIS-User
Hi Sofia, I unfortunately am unable to access the files you sent, as there are restrictions on our systems here in relation to accessing files. Apologies for that. Kind Regards, Richard —— Richard McDonnell MSc GIS, FME Certified Professional Flood Risk Management - Data Management —— Oifig

Re: [Qgis-user] Fwd: Export data with tiff and csv files in QGIS 3.36.3

2024-06-11 Per discussione Richard McDonnell via QGIS-User
Hi Sofia, So I will start from the beginning, hopefully I understand your query properly… 1. Add your Raster to the Canvas 2. Using the Data Source Manager and Delimited Text, I add the CSV, making sure the Headers, Columns and rows are correct, while also setting/specifying the

Re: [Qgis-user] Raster reverts to old Min/Max

2024-05-28 Per discussione Richard McDonnell via QGIS-User
Hi Andrew, One probable solution is to save the new style as the default, for the Layer. Kind Regards, Richard —— Richard McDonnell MSc GIS, FME Certified Professional Flood Risk Management - Data Management —— Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha

Re: [Qgis-user] RASTER RESOLUTION REDUCING

2024-05-14 Per discussione Richard McDonnell via QGIS-User
Hi Nuno, As usual there are a number of ways to do this. Grass: r.resamp.stats as Em suggested would work, but might I also suggest the Warp tool, based on gdal_warp. This can be found by going to the Menu bar select Raster, Projections and Warp. Parameters: Input Layer Set this to the Raster

Re: [Qgis-user] merging parts from various raster files

2024-04-30 Per discussione Richard McDonnell via QGIS-User
Hi Sibylle, To extract the Bioregions, I suggest you utilise the option Selected features only which is a tick box below, where you select Mask layer. All you need to do is select, on the map canvas, the bioregion you want to extract. QGIS is capable of loading Tiff's I use them exclusively in

Re: [Qgis-user] Installing gdal-mrsid with osgeo4w-setup.exe command fails

2024-04-02 Per discussione Richard McDonnell via QGIS-User
Hi Simon, Not an IT person, but there are a number of formats, supported by gdal which don't, by default install. This is due to them requiring a separate licencing agreement. You will need to manually install these, in the setup app, by using the Advanced install and under Select Packages,

Re: [Qgis-user] Multiple styles saved in database, how to choose one?

2024-03-15 Per discussione Richard McDonnell via QGIS-User
Hi Richard, You can indeed load others. From the layer properties, select the style button, usually bottom left. Then select Load Styles, all other styles in the database will be listed there. You can select any other ones you set up for that layer from there. Kind Regards, Richard. ——

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Per discussione Richard McDonnell via QGIS-User
You can also use the processing toolbox, search for split and you should be able to access the tool. -- Richard McDonnell MSc GIS, FME Certified Professional Geographical Information Systems Officer -- Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim,

Re: [Qgis-user] Convert .shp to CAD, with attribute values as different layers

2024-02-13 Per discussione Richard McDonnell via QGIS-User
Hi Chiz, The only thing I can think of is Split Vector Layer (Vector => Data Management) that will allow you to split your Layer by attribute, outputting a DXF for each layer. The only issue is that you will have a series of separate Layers which you will have to manually merge into a single

Re: [Qgis-user] Amal Kar - India - Batch conversion of files for raster layer format from geotiff to idrisi, and simultaneously from a higher pixel resolution to a lower one.

2024-01-11 Per discussione Richard McDonnell via QGIS-User
Hi, One solution is to use Warp, found under Raster --> Projections --> Warp (reproject) This will allow you to specify a resolution and also change the file type. Kind Regards, Richard —— Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management —— Oifig na nOibreacha Poiblí

Re: [Qgis-user] How to convert qml style file from version 3.28.6 to 3.16.14

2024-01-08 Per discussione Richard McDonnell via QGIS-User
Hi Jaume, I'm making the assumption that your styling is saved in the Project File and not as a Style for the Layer itself. Might I suggest that you create a default style for each layer, this can easily be done by going to the Layer Properties and clicking on the Style button on the bottom

Re: [Qgis-user] Reselect Features

2023-11-17 Per discussione Richard McDonnell via QGIS-User
Michael, In addition to what Nyall said, might I suggest another possible method for you doing it. Instead of selecting and deselecting, how about you use a virtual field? To sort/filter the river names. 1) Using the field calculator, create a virtual field and call it, "filter" and set

[Qgis-user] FW: Pansharpening Problem

2023-11-16 Per discussione Richard McDonnell via QGIS-User
Apologies, I forgot to include the list in my response Grant, please see below. Kind Regards, Richard -- Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management -- Oifig na nOibreacha Poibl? Office of Public Works Sr?id Jonathan Swift, Baile ?tha Troim, Co na M?, C15 NX36

Re: [Qgis-user] Semi Automictic Classification Plugin- Reg

2023-10-19 Per discussione Richard McDonnell via QGIS-User
Hi Rajesh, The SCP Plugin is now running using a new Python Library called "remotior-sensus", which you will have to load yourself, as it doesn't form part of the standard list of QGIS Python Library's. Further details and instillation instructions can be found

Re: [Qgis-user] SCP Plug-In Question

2023-10-05 Per discussione Richard McDonnell via QGIS-User
Hi Molly, As you are aware, the SCP uses the polygons to create classifications. As you have already got this, you could just try Reclassify by Table. I have not tested this for your specific requirements, but you can add in rows for each classification and specify your ranges. I’m not sure of

Re: [Qgis-user] Combine raster bands in Graphical Modeller

2023-10-03 Per discussione Richard McDonnell via QGIS-User
Hi Grant, The syntax is as follows... For three separate single band Images -A input1.tif --A_band=1 -B input2.tif --B_band=1 -C input3.tif --C_band=1 ... For a single raster multiple bands... -A input1.tif --A_band=1 -B input.tif --B_band=2 -C input.tif --C_band=3 ..

Re: [Qgis-user] Combine raster bands in Graphical Modeller

2023-10-03 Per discussione Richard McDonnell via QGIS-User
Hi Grant, I have not tied it, but one possible solution is to use the additional command -line parameters to specify the Bands, it might be worth a try.. Kind Regards, Richard -- Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management -- Oifig na nOibreacha Poibl? Office of

Re: [Qgis-user] opening .sid files in QGIS

2023-09-27 Per discussione Richard McDonnell via QGIS-User
ichard > McDonnell via QGIS-User > Sent: 27 September 2023 09:22 > To: Garth Fletcher ; asiajmur...@gmail.com > Cc: qgis-user@lists.osgeo.org > Subject: Re: [Qgis-user] opening .sid files in QGIS > > Hi Jeremy, > Garth is indeed right. MrSID is not open source, therefore it's

Re: [Qgis-user] opening .sid files in QGIS

2023-09-27 Per discussione Richard McDonnell via QGIS-User
Hi Jeremy, Garth is indeed right. MrSID is not open source, therefore it's not installed by default. Thankfully it's easy to install, I can only give you instructions for Windows though. 1) Open OSGeo4W Setup 2) Select Advanced Install 3) Install from Internet 4) Keep clicking Next until

Re: [Qgis-user] Does QGIS require units "m" for the projection coordinate variables in a netCDF/CF file?

2023-09-15 Per discussione Richard McDonnell via QGIS-User
Thomas, I’m open to correction on this, but meters would generally be the default unit used in GIS, when dealing with metric datasets. What units you use to measure on your Map Canvas or store as attribution is then a different thing. I had a look for the EPSG codes for EASE2 but all I could

[Qgis-user] FW: Problem with Georeferences on AutoCAD version

2023-09-01 Per discussione Richard McDonnell via QGIS-User
Hi Javier, DWG files are proprietary and can have changes between versions. For this reason, AutoCAD allows users to save there drawings to various versions including.. 2018, 2013, 2010, 2007, 2004, 2000 and R14... I've found when sending CAD data to 3rd parties that saving to an older DWG

Re: [Qgis-user] Georeference DSM files in QGIS Using Georeferencer

2023-07-28 Per discussione Richard McDonnell via QGIS-User
Hi All, It appears that, when you georeference an image which already contains reference information it in effect applies a shift to the outputs. One solution might be one of the options suggested

Re: [Qgis-user] draw polygon

2023-07-25 Per discussione Richard McDonnell via QGIS-User
Hi Salvatore, You could try: 1. Selecting/Highlighting Polygon 1, which should also highlight the area you want to cut into area 4. 2. Using the Split Features tool, you can then create a cutline to clip it successfully, something like what’s shown below in green, should work. The

Re: [Qgis-user] Uninstalling QGIS

2023-06-13 Per discussione Richard McDonnell via QGIS-User
My Steps... 1)Use the OSGeo4W Installer to uninstall everything 2)Delete the OSGeo4w Folder 3) Delete the QGIS folders in C:\Users\...SomeUserName...\AppData\Roaming\QGIS Do a restart of the computer, which should clear most of the stuff. Then you can do a fresh Install if you require. Kind

Re: [Qgis-user] DXF Export symbolLayer

2023-06-12 Per discussione Richard McDonnell via QGIS-User
Hi Simon, Apologies, I didn't quite understand what you were trying to do. So let's start from the beginning again. Thank you for sending on a sample, it helps greatly to understand what you are trying to do. Im still not 100% on what you are trying to achieve, so I have included two separate

Re: [Qgis-user] DXF Export symbolLayer

2023-06-09 Per discussione Richard McDonnell via QGIS-User
Hi Simon, You don't mention the field name in QGIS, but in the example below, I will use "TEST" Create a new field, giving it a name, it can be "RefName" if you like, you can then create an expression like CASE WHEN " TEST " ='symbolLayer0' THEN 'SomeOtherStringA' WHEN " TEST " ='symbolLayer1'

Re: [Qgis-user] Technical specifications

2023-06-02 Per discussione Richard McDonnell via QGIS-User
Hi All, I would like to just throw my two cents in on this. If Raster processing is envisaged, push it out to 32 minimum 64 recommended and 128 if you can stretch. As for Processors, you need as many Threads as you can afford, with a good base clock. I would agree with the use of SSD I would

Re: [Qgis-user] Click to open layer

2023-05-22 Per discussione Richard McDonnell via QGIS-User
Hi Grant, My advice would be to have a shared drive, or network drive, which both machines access with the same path. But...in the absence of that, you could also modify your path if you prefer... The Filepath attribute could be shortened/modified, and you can manually set the start of the path.

Re: [Qgis-user] Click to open layer

2023-05-19 Per discussione Richard McDonnell via QGIS-User
Hi Grant, Do you mean insert a GeoTIFF in? If that's the case, then you want the following Action.. Type: Python Description: Add Raster to Canvas or whatever you want Action Text: qgis.utils.iface.addRasterLayer('[%filepath%][%filename%]','[%filename%]') For the above to work, you will need

Re: [Qgis-user] How I solved my "Polygon" to "Mutipoligons" problem

2023-05-10 Per discussione Richard McDonnell via QGIS-User
Andrea, I believe what Riccardo is getting at is that while an "ESRI Shapefile" (*.shp) always will have MultiPolygon as its Geometry Type, the "Polygons" within the shapefile are unique individual geometries. We have this requirement in our own organisation, in reaction to Shapefiles, there

Re: [Qgis-user] [pyqgis] create new raster

2023-05-09 Per discussione Richard McDonnell via QGIS-User
.ie> —— Email Disclaimer: https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/<https://www.opw.ie/en/disclaimer/> From: QGIS-User On Behalf Of Richard McDonnell via QGIS-User Sent: 09 May 2023 09:27 To: andrea antonello Cc: qgis-user@lists.osgeo.org Subject: Re

Re: [Qgis-user] [pyqgis] create new raster

2023-05-09 Per discussione Richard McDonnell via QGIS-User
Hi Andrea, If you are ok substituting the method you are using for GDAL, then you can use the following.. gdal_calc.py -A input.tif --outfile=result.tif --calc="(A>=-2000)*(A<=1500)" --NoDataValue=- You can also implement this in QGIS using GDAL Calculator from the Processing Toolbox, It

Re: [Qgis-user] Autogeneration id codes

2023-05-02 Per discussione Richard McDonnell via QGIS-User
Hi Riccardo, Have you tried, after you delete your rows, disabling editing and then enabling editing again before you add your new rows? Also have a look at this https://gis.stackexchange.com/questions/132346/is-there-a-way-of-auto-increment-for-the-id-column-in-qgis Regards, Richard. --

Re: [Qgis-user] Shape file - Change "Polygon" to "Multipolygon"

2023-04-27 Per discussione Richard McDonnell via QGIS-User
Hi Riccardo, You can use the Processing Toolbox, so a search for Promote to multipart. This will create a new layer, which will have all geometries converted to multipart. Kind Regards, Richard -- Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management -- Oifig na

Re: [Qgis-user] Opening GEOTIFF file in QGIS support request

2023-04-27 Per discussione Richard McDonnell via QGIS-User
Hi Gino, From the screengrab you forwarded to me, I am inclined to agree with Richard. The data appears to be looking fine. You, as Richard said should probably use background mapping to verify the location but besides that it looks fine. I have been on the Global Wind Atlas website, and looked

Re: [Qgis-user] Opening GEOTIFF file in QGIS support request

2023-04-26 Per discussione Richard McDonnell via QGIS-User
Hi Gino, Just to echo what Richard Duienvoorde said, QGIS should handle GeoTIFF perfectly fine. I use the format myself when working with raster's in QGIS. First question's I would ask would be: 1)Are you getting any error messages when you load the Raster? What are they?? 2)Is the Raster

Re: [Qgis-user] Issue with displaying all rows in the attribute table in QGIS

2023-03-29 Per discussione Richard McDonnell via QGIS-User
Hi, Im not sure but maybe have a look at "Attribute table row cache". Settings, Options, Data Sources then Attribute table row cache On mine its set to 10,000 and Ive never had any issues Regards, Richard —— Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management —— Oifig

[Qgis-user] Geometry Error Detection

2023-03-27 Per discussione Richard McDonnell via QGIS-User
Hello all, I'm looking for some advice in relation to Geometry Error detection. We have a proprietary tool, which can validate geometries in line with OGC, which is flagging geometries as having holes outside of area. Indeed when I check the vertices I can see the issue, with the "Holes"

Re: [Qgis-user] Problems with transformation including height values

2023-03-21 Per discussione Richard McDonnell via QGIS-User
Hi, Just to add to what Nyall said. See link below, which suggests a way using OGR to carry out the process you require. https://gis.stackexchange.com/questions/324848/transform-datum-csv-csv-using-ogr2ogr It suggests you preform your horizontal transformation first, this can be done in QGIS,

Re: [Qgis-user] Looking for application/server etc

2023-01-12 Per discussione Richard McDonnell via QGIS-User
PostGIS with Geometry Index's?! Set up Styles with Zoom Levels so as when zoomed in to 1:5000, that's the only time you have full LOD -- Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management -- Oifig na nOibreacha Poibl? Office of Public Works Sr?id Jonathan Swift, Baile

Re: [Qgis-user] Colouring Geological Maps

2022-12-12 Per discussione Richard McDonnell via QGIS-User
Hi Grant, What I meant is that, using the Field calculation you can create new fields for each thing you want to style. In your case you want a field for colour. Using the field calculator you can set up a script, for example... CASE WHEN "class" = 'Igneous' THEN '#fc9403' WHEN "class" =

Re: [Qgis-user] Colouring Geological Maps

2022-12-12 Per discussione Richard McDonnell via QGIS-User
Morning, I'm not sure if this is a solution for you, but have you considered using attribution and storing your styling requirements as a set of attribute values. You can do this for Fill Colour, Stroke Thickness, Font, Sizes...etc... You could build a graphic modeller to add the attribution to

Re: [Qgis-user] Problem Noticed with QGIS

2022-11-29 Per discussione Richard McDonnell via Qgis-user
Andrea, Thank you for the clarification and the work around! Regards, Richard —— Richard McDonnell MSc GIS, FME Certified Professional FRM Data Management —— Oifig na nOibreacha Poiblí Office of Public Works Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 Jonathan Swift Street,

[Qgis-user] Problem Noticed with QGIS

2022-11-29 Per discussione Richard McDonnell via Qgis-user
Hi All, Im currently running the Following QGIS version 3.28.1-Firenze Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.6.0 PROJ version 9.1.0 EPSG Registry database version v10.074 (2022-08-01) GEOS version 3.11.1-CAPI-1.17.1 SQLite version 3.39.4 PDAL

Re: [Qgis-user] large DEM not loading tiles correctly

2022-09-28 Per discussione Richard McDonnell via Qgis-user
Hi, So the underlying data might not be very efficient, for example, no internal Tiling, or compressions used. What I would suggest is… 1. Create a VRT of all the data you have. 2. Using GDAL Translate convert the VRT into a GeoTiff, with the following a. NoData Value of

Re: [Qgis-user] Raster

2022-05-24 Per discussione Richard McDonnell via Qgis-user
Easiest way I can think of doing what you want is to create a VRT of the three raster’s. Raster ==> Miscellaneous ==> Build Virtual Raster When you do this set the Nodata value to 0 (the default transparent value form the Georeference Tool) This should create a merged raster for you and allow

Re: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Per discussione Richard McDonnell via Qgis-user
Hi Walter, As an alternative to Wouter’s suggestion, I would recommend VRT’s (Raster ==> Miscellaneous ==> Build Virtual Raster) Not alone does it merge/mosaic but it also results in a small file size. It is also very easy to generate convert that VRT to any other format output, using