Re: [Qgis-user] Search through folders and combine SHP files

2024-05-12 Thread Tony Shepherd (FarmMaps NZ) via QGIS-User
Hi Nigel

 

Thank you, that works a treat, although it does fail if I try to merge a line 
feature at the same time as a polygon.  That is not a big deal and can get 
around that.

 

Your comment, “Then parse these through to the merge vector layer”.  I can’t 
see a way of parsing the filelist.txt to the tool. I am not experienced in 
using python.

 

Cheers

TIby

 

 

 

From: Nigel Berjak - S3 Technologies mailto:ni...@s3.co.za> > 
Sent: Friday, May 10, 2024 6:03 PM
To: Nyall Dawson mailto:nyall.daw...@gmail.com> >
Cc: Tony Shepherd (FarmMaps NZ) mailto:t...@farmmaps.nz> >; 
qgis-user@lists.osgeo.org <mailto:qgis-user@lists.osgeo.org> 
Subject: Re: [Qgis-user] Search through folders and combine SHP files

 

Hi

For your listing, although it would not provide the file type i.e. point, line, 
polygon etc, you could simply create a DOS batch command (dir/s *.shp > 
shapefilelist.txt) to locate all the file and generate a list of their 
locations. Then parse these through to the merge vector layer. If you are 
merging them all into a Geopackage, then file type would not be relevant and 
you could then sort them once they are in a single location. I don't think the 
Geopackage would have a limitation on the number of files and records in it.

Perhaps this can assist.

---

Regards,

Nigel Berjak
S3 Technologies
Geographic Information Systems & Large Format Printing specialists
T: +27 33 3423681
F: +27 86 6721242
E:  <mailto:ni...@s3.co.za> ni...@s3.co.za
Website:  <http://www.S3.co.za> http://www.S3.co.za

Please consider the environment before printing this email.

 

On 2024-05-10 04:06, Nyall Dawson via QGIS-User wrote:

 

 

On Fri, 10 May 2024 at 09:06, Tony Shepherd (FarmMaps NZ) via QGIS-User < 
<mailto:qgis-user@lists.osgeo.org> qgis-user@lists.osgeo.org> wrote:

Hi

 

I have loads, literally thousands, of SHP, GPKG, TAB files located in loads of 
different folders and sub-folders.

 

Is there a plugin that will trawl through a set of folders, copy say just the 
polygons from each file into a new file, and populate a field with say the 
filename and folder the polygon(s) came from?

 

Essentially combining a heap of files into one with some metadata about where 
the data came from?

 

Why?  I have files from clients dating back about 20 years.  Clients sell 
properties.  Properties get subdivided.  New clients come and see us, and often 
we don't realise we have GIS info on file for that property from many years 
ago, usually under a different name.  It would be handy to see a polygon on the 
screen and easily go back to some old GIS data.

 

Maybe I am missing an easy tool to do this, but I can't see anything obvious.

 

You could use the "Merge Vector Layers" tool from the Processing toolbox, that 
does everything you want. The trickiest bit would be getting a master list of 
ALL your shapefiles/etc you want to combine and passing this to the tool. It's 
not going to be easy from the GUI itself, as that only allows you to add files 
from a single folder at once.

 

I'd run the tool on the files from a single folder, then checkout the 
processing history dialog and copy the python command which corresponds to what 
you just did. You could then adapt this command to pass a complete list of all 
the files you want to combine. (It's quite straightforward in Python to build a 
list of files which recursively match a file pattern -- see eg  
<https://stackoverflow.com/a/2186565> https://stackoverflow.com/a/2186565 )

 

Hope that helps!

Nyall

 

 

 

 

Cheers

Tony

 

--

Tony Shepherd

  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos

 

Phone – 027 435 6193  | Website –  <http://shepherdphotos.co.nz/> 
shepherdphotos.co.nz

Email – Maps  <mailto:t...@farmmaps.nz> t...@farmmaps.nz  |  Email – Photos   
<mailto:t...@shepherdphotos.co.nz> t...@shepherdphotos.co.nz

Facebook  <https://www.facebook.com/TonyShepherdPhotos> TonyShepherdPhotos

 

 



 

___
QGIS-User mailing list
 <mailto:QGIS-User@lists.osgeo.org> QGIS-User@lists.osgeo.org
List info:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user

 

___
QGIS-User mailing list
 <mailto:QGIS-User@lists.osgeo.org> QGIS-User@lists.osgeo.org
List info:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Search through folders and combine SHP files

2024-05-09 Thread Tony Shepherd (FarmMaps NZ) via QGIS-User
Hi

 

I have loads, literally thousands, of SHP, GPKG, TAB files located in loads
of different folders and sub-folders.

 

Is there a plugin that will trawl through a set of folders, copy say just
the polygons from each file into a new file, and populate a field with say
the filename and folder the polygon(s) came from?

 

Essentially combining a heap of files into one with some metadata about
where the data came from?

 

Why?  I have files from clients dating back about 20 years.  Clients sell
properties.  Properties get subdivided.  New clients come and see us, and
often we don't realise we have GIS info on file for that property from many
years ago, usually under a different name.  It would be handy to see a
polygon on the screen and easily go back to some old GIS data.

 

Maybe I am missing an easy tool to do this, but I can't see anything
obvious.

 

 

Cheers

Tony

 


--

Tony Shepherd

  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos

 

Phone - 027 435 6193  | Website -  
shepherdphotos.co.nz

Email - Maps   t...@farmmaps.nz  |  Email - Photos
 t...@shepherdphotos.co.nz

Facebook   TonyShepherdPhotos

 

 



 

___
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?

2024-04-04 Thread Tony Shepherd (FarmMaps NZ) via QGIS-User
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.

 

Essentially, I am shifting my entire collection of GIS work to a shared 
location for others to start using, so moving from a sole operator to a shared 
environment.

 

In my old MapInfo days, I would simply do a bulk search and replace over the 
workspace files (text-based so this is easy) and change the paths that need 
changing and all would be ok.

 

As qgz files are not easily modified through a text editor, are there any tools 
out there to enable bulk changing of file paths in those files? 

 

Any other approaches?

 

Cheers

Tony

 

--

Tony Shepherd

  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos

 

Phone – 027 435 6193  | Website –  <http://shepherdphotos.co.nz/> 
shepherdphotos.co.nz

Email – Maps  <mailto:t...@farmmaps.nz> t...@farmmaps.nz  |  Email – Photos   
<mailto:t...@shepherdphotos.co.nz> t...@shepherdphotos.co.nz

Facebook  <https://www.facebook.com/TonyShepherdPhotos> TonyShepherdPhotos

 

 



 





___
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] Moving many project files - bulk updating paths to tables?

2024-04-04 Thread Tony Shepherd (FarmMaps NZ) via QGIS-User
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.

 

Essentially, I am shifting my entire collection of GIS work to a shared
location for others to start using, so moving from a sole operator to a
shared environment.

 

In my old MapInfo days, I would simply do a bulk search and replace over the
workspace files (text-based so this is easy) and change the paths that need
changing and all would be ok.

 

As qgz files are not easily modified through a text editor, are there any
tools out there to enable bulk changing of file paths in those files? 

 

Any other approaches?

 

Cheers

Tony

 


--

Tony Shepherd

  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos

 

Phone - 027 435 6193  | Website -  
shepherdphotos.co.nz

Email - Maps   t...@farmmaps.nz  |  Email - Photos
 t...@shepherdphotos.co.nz

Facebook   TonyShepherdPhotos

 

 



 

___
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] Watershed - Catchment area upstream of a point

2022-11-08 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi All

 

I'm wanting to use a DEM/DTM to automatically map the watershed/catchment
area upstream of a known point.

 

After a bit of reading, this appears to be a not-so-simple task but
suggestions are to use the "Upslope Area" algorithm. 

 

In my case, the program fails to finish running, and the message window
shows the following error:

 SAGA Version: 7.8.2 (64 bit)
 Error: tool needs graphical user interface [Upslope Area]

 C:\Users\Tony\Documents>exit

 

Questions:

*   Does anybody know what that error means?
*   Is there another tool/method that is preferable to use? 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

 

Ph 027 435 6193  |  E   t...@farmmaps.nz  |  W
 shepherdphotos.co.nz

 



 

 

 
 

 

___
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] Opening a layout in "Zoom full" view

2022-11-02 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi Nicolas

 

Yes, I too had those issues with MapInfo and AutoCAD in a previous life.  This 
is a stock standard QGIS layout, just a normal A4 and A3 layout, both either 
portrait or landscape. 

 

Any saved project, or any new project.  Add a layout or two that contain the 
normal layout elements (map window(s), scale bars, free text, attribute table 
etc).  All elements are within the “page”. Close everything, open that saved 
project file, open the layout or layouts, and the first view you get of that 
layout is a small view (say 20% or so).  Then press the View Extents button and 
then it zooms to the extent as expected.  So that tells me if there was an 
element placed in a strange place within the layout then zooming to the extents 
would then make that rogue element obvious, so in my case, I am sure that is 
not the reason.

 

I think it would be a good feature that when saving a project, the layout will 
open at the same view scale as when the project was saved, or perhaps have a 
flag that allows you to set a default layout zoom scale.

 

It seems to me that in V3.26, when using any project file old or new, the 
layouts seem to open at a much smaller zoom scale than previous version.  

 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

 

Ph 027 435 6193  |  E  <mailto:t...@farmmaps.nz> t...@farmmaps.nz  |  W  
<http://shepherdphotos.co.nz/> shepherdphotos.co.nz

 



 

 

 <https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2> 

 

Cheers

Tony

 

 

From: Nicolas Cadieux  
Sent: Thursday, 3 November 2022 1:30 am
To: Tony Shepherd (FarmMaps NZ) 
Cc: Qgis Users List 
Subject: Re: [Qgis-user] Opening a layout in "Zoom full" view

 

Hi,

 

I have not experienced this yet in QGIS.  Is it in all of your projects or just 
one?  It could be related to a certain file.  In the past, I have had this 
problem with AutoCAD and Mapinfo.  It was usually related to a file having  
objects around the 0,0 coordinate, (way off the normal coordinate system of the 
file).  Have you checked the individual file extents? 

Nicolas Cadieux

https://gitlab.com/njacadieux





Le 1 nov. 2022 à 16:08, Tony Shepherd (FarmMaps NZ) via Qgis-user 
mailto:qgis-user@lists.osgeo.org> > a écrit :



Hi All

 

Maybe a silly question, but not one that I could easily find an answer to.

 

Is there a way to set QGIS so that when it opens an existing layout that it 
automatically displays it in “Zoom full” mode or maybe set a flag somewhere 
that when you save the project the current layout zoom is retained so that on 
re-opening it pops back to how it was last displayed?

 

V3.26 seems to behave so that whenever I open a previously saved layout it is 
about the size of a postage stamp and I have to press the “Zoom full” button, 
regardless of how I last saved it.

 

Thoughts?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

 

Ph 027 435 6193  |  E  <mailto:t...@farmmaps.nz> t...@farmmaps.nz  |  W  
<http://shepherdphotos.co.nz/> shepherdphotos.co.nz

 



 

 

 <https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2> 

 <https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2> 


 

 

___
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] Opening a layout in "Zoom full" view

2022-11-01 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi All

 

Maybe a silly question, but not one that I could easily find an answer to.

 

Is there a way to set QGIS so that when it opens an existing layout that it
automatically displays it in "Zoom full" mode or maybe set a flag somewhere
that when you save the project the current layout zoom is retained so that
on re-opening it pops back to how it was last displayed?

 

V3.26 seems to behave so that whenever I open a previously saved layout it
is about the size of a postage stamp and I have to press the "Zoom full"
button, regardless of how I last saved it.

 

Thoughts?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

 

Ph 027 435 6193  |  E   t...@farmmaps.nz  |  W
 shepherdphotos.co.nz

 



 

 

 
 

 

___
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] Forestry machinery svg symbols/fonts etc

2022-08-24 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi All

 

Do any of you that work in the forestry sector have any svg symbols or fonts
etc that you might be able to share that indicate forestry machinery like
harvesters, forwarders etc?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

 

Ph 027 435 6193  |  E   t...@farmmaps.nz  |  W
 shepherdphotos.co.nz

 



 

 

 
 

 

___
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] Scrolling using the mouse wheel in a layout >-- CRASH

2022-07-03 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi

 

Is anybody else having issues when using a mouse scroll wheel for zooming in
a layout window that QGIS continually crashes?  This has only started
happening since upgrading to 3.26

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] 3.26 -> Print to PDF and some features are extending beyond the map window extents

2022-07-01 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi

 

Has anybody had any issues since upgrading to 3.26 that when creating a PDF
from a layout that some features are exported to the PDF file that are
outside of the extents of the map window?

 

In my case, I have line features (road centrelines) and polygons that are
printed across a blank area of the layout page that are NOT PART of the map
window.  It is as though the software is not trimming those features to the
edge of the map window. 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Tweaking an Atlas

2022-05-10 Thread Tony Shepherd (FarmMaps NZ) via Qgis-user
Hi

 

Like the other suggestions that have been given, I have shifted items around on 
the layout depending on the page number of the atlas. 

 

Here is an example where I was shifting the legend as it covered something up 
on the layout on several of the maps.  Similar code for the Y axis.

 

 

Lagend Properties -> Position and size -> X

 

CASE 

when (@atlas_featureid) = 1 THEN 5.265

when (@atlas_featureid) = 2 THEN 5.265

when (@atlas_featureid) = 3 THEN 347.243

when (@atlas_featureid) = 4 THEN 347.243

else 99.99

END

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

   
 

 

 

-Original Message-
From: Qgis-user  On Behalf Of Nicolas 
Cadieux via Qgis-user
Sent: Wednesday, 11 May 2022 5:58 am
To: Qgis Users List 
Subject: [Qgis-user] Tweaking an Atlas

 

Hi,

 

I have a series of map that could work well this an Atlas but I would need to 
add thing like Zoom in or Overview maps on some specific pages only.  Can we 
add objects like new maps on specific pages of an Atlas?

 

If not, is there a function or way to go from Atlas page 2  -> New layout? I 
figure the only way to do this is to turn on the Atlas preview, go to the 
selected preview, turn the Atlas preview off and the save as a new layout? Is 
there a better way?

 

--

Nicolas Cadieux

  https://gitlab.com/njacadieux

 

___

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] Print layout raster misalignment when label masked symbol layers are enabled

2022-02-21 Thread Tony Shepherd (FarmMaps NZ)
If anybody is following this topic, I can confirm that the issue has been
resolved in v3.22.3.

 

Thank you Nyall for getting back to me and the team that keeps this software
continuously getting better and better.

 

Cheers

 

From: Qgis-user  On Behalf Of Tony
Shepherd (FarmMaps NZ)
Sent: Monday, 21 February 2022 2:18 pm
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Print layout raster misalignment when label masked
symbol layers are enabled

 

Hi All

 

This has been a long-standing issue for me, and likely others for the last
three or four versions.  

 

I've logged bug reports on github and it looks like they have been closed
off, yet the issues persist and I have never had any feedback either way.

 

While not a show stopper, it's becoming a pain explaining to staff that I
have done all I can to log a bug report and all we can do is to wait for a
fix.

 

Can anybody offer any help or progress or anything that I can pass on to
others when they pester me about it?

 

>From a previous email:

There are still misalignments in the print layout between raster and vector
layers if you have any label masking enabled.  I raised this issue several
versions ago, and to date have had no response apart from a few users with
the same problem.

 

Can anybody shed any light on a possible fix?  While it's not a show
stopper, it's become very annoying, particularly when you have people
looking over your shoulder at a map you are about to produce for them and
nothing lines up on the screen but you assure it will when you press print.

 

Turn off label masking and the issue disappears.

 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E t...@farmmaps.nz <mailto:t...@farmmaps.nz> 

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 <http://tonyshepherd8.wixsite.com/home>
<https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE
2> 

 

___
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] Print layout raster misalignment when label masked symbol layers are enabled

2022-02-20 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

This has been a long-standing issue for me, and likely others for the last
three or four versions.  

 

I've logged bug reports on github and it looks like they have been closed
off, yet the issues persist and I have never had any feedback either way.

 

While not a show stopper, it's becoming a pain explaining to staff that I
have done all I can to log a bug report and all we can do is to wait for a
fix.

 

Can anybody offer any help or progress or anything that I can pass on to
others when they pester me about it?

 

>From a previous email:

There are still misalignments in the print layout between raster and vector
layers if you have any label masking enabled.  I raised this issue several
versions ago, and to date have had no response apart from a few users with
the same problem.

 

Can anybody shed any light on a possible fix?  While it's not a show
stopper, it's become very annoying, particularly when you have people
looking over your shoulder at a map you are about to produce for them and
nothing lines up on the screen but you assure it will when you press print.

 

Turn off label masking and the issue disappears.

 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Error message in v3.22 when adding virtual layer

2021-12-01 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Does anybody know about resolving this error?  Only since upgrade to 3.22.

 

Create Layer --> Add Virtual Layer

 

A message appears "Cannot get virtual layer select dialog from provider."

 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Print composer issue - QGis 3.22.00

2021-11-16 Thread Tony Shepherd (FarmMaps NZ)
Yes, but the error is also present if using only local raster files. So, the 
error is there no matter what type of raster I use (local or streaming).  
Simply disable label masking and the error resolves itself.

 

From: Nicolas Cadieux  
Sent: Wednesday, 17 November 2021 1:01 pm
To: Tony Shepherd (FarmMaps NZ) 
Cc: CCM-S.RAYOT ; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Print composer issue - QGis 3.22.00

 

Hi,

 

Have you both been using wms server data, or other online data in your maps?  

Nicolas Cadieux

https://gitlab.com/njacadieux





Le 16 nov. 2021 à 13:35, Tony Shepherd (FarmMaps NZ) mailto:t...@farmmaps.nz> > a écrit :



Hi Sebastien

 

I reported this bug  back in 3.20 (July)

https://github.com/qgis/QGIS/issues/44426

 

To date, I have had no feedback as to confirmation of a bug or because of my 
doing, so in a way it is good to hear of a similar problem from another user.

 

While not a show stopper, it is extremely annoying and seems to be a worse 
problem in 3.22 than it was in 3.20.  By that I mean the misalignment seems 
worse.  In V3.20 zooming the layout to 100% seemed to fix the screen 
misalignment, in 3.22 it does not.

 

Questions:

Are you using label masks?  If you disable them does your problem disappear?

Even though the display is not aligned, does printing or exporting an image 
produce correctly aligned output?

 

Cheers

Tony

 

 

 

From: Qgis-user mailto:qgis-user-boun...@lists.osgeo.org> > On Behalf Of CCM-S.RAYOT
Sent: Tuesday, 16 November 2021 11:02 pm
To: qgis-user@lists.osgeo.org <mailto:qgis-user@lists.osgeo.org> 
Subject: [Qgis-user] Print composer issue - QGis 3.22.00

 

Hi,
i,ve got a problem with raster layers on the print composer: there is a 
mismatch between raster layers and vector layers. i've checked the CRS, all 
seems to be normal.
Help!

-- 


___
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] Print composer issue - QGis 3.22.00

2021-11-16 Thread Tony Shepherd (FarmMaps NZ)
Hi Sebastien

 

I reported this bug  back in 3.20 (July)

https://github.com/qgis/QGIS/issues/44426

 

To date, I have had no feedback as to confirmation of a bug or because of my 
doing, so in a way it is good to hear of a similar problem from another user.

 

While not a show stopper, it is extremely annoying and seems to be a worse 
problem in 3.22 than it was in 3.20.  By that I mean the misalignment seems 
worse.  In V3.20 zooming the layout to 100% seemed to fix the screen 
misalignment, in 3.22 it does not.

 

Questions:

Are you using label masks?  If you disable them does your problem disappear?

Even though the display is not aligned, does printing or exporting an image 
produce correctly aligned output?

 

Cheers

Tony

 

 

 

From: Qgis-user  On Behalf Of CCM-S.RAYOT
Sent: Tuesday, 16 November 2021 11:02 pm
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Print composer issue - QGis 3.22.00

 

Hi,
i,ve got a problem with raster layers on the print composer: there is a 
mismatch between raster layers and vector layers. i've checked the CRS, all 
seems to be normal.
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] Windows 11 - QGIS and or ODM?

2021-11-01 Thread Tony Shepherd (FarmMaps NZ)
HI All

 

I am being pestered by Windows to upgrade to Win 11.  Has anybody done that
already and if so were there any issues with QGIS (or ODM if you use it?)?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Raster and vector layers appear mis-aligned on print layouts

2021-09-26 Thread Tony Shepherd (FarmMaps NZ)
 

Hi All

 

Are many others having this issue since the release of 3.20?  Very
frustrating..

It seems that if label masking is enabled, when viewing the map layout,
raster and vector layers appear mis-aligned on the layout. If printing, or
exporting to PDF, or exporting to raster the output is outputted correctly,
but on-screen the two are still mis-aligned.

Disable masking, and the layout is then correctly displayed on-screen.


I logged this as a bug back in July (#44426). and since then there have been
a couple of new releases, but the issue has remained.  I'm curious to know
if it's a common bug or something relevant to my setup perhaps.  


I'm no expert in github and only rarely log in to it, so I find it a bit
confusing as to what actually happens when a logged issue becomes "stale"?
When cheese in my fridge becomes stale I normally throw it away?


Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Rasters in print layout are not aligned 3.20

2021-07-08 Thread Tony Shepherd (FarmMaps NZ)
Hi

 

See my post from Wed 7th July.

 

I have exactly the same problem since loading 3.20.  By chance do you have 
label masking enabled on any layers?  I discovered that if I disable the layer 
masking, then the rasters and vector data will then align correctly.  Re apply 
masking and then the error pops up again.

 

It’s a bit of a pain as I have a template that I start new jobs with that has 
label masking enabled on several layers, so I have resorted to using 3.18 
again, but 3.20 does have some cool features.

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

   
 

 

 

 

 

From: Qgis-user  On Behalf Of Drew French
Sent: Friday, 9 July 2021 6:10 am
To: QGIS List 
Subject: [Qgis-user] Rasters in print layout are not aligned 3.20

 

I have noticed that all my rasters, as well as WMS layers, are not aligned in 
print layout. This tells me that there is a setting somewhere that is wrong. I 
am using 3.20 on Linux Mint. All the layers CRS are the same. If I could get 
help with this I would really appreciate it! 



-- 

Drew French

(715) 986-8088

www.ecologicaldesign.land  

___
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] QGIS V3.18 - V3.20 project file problems

2021-07-06 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Has anybody had any issues with project files saved in V3.18 opening
incorrectly in V3.20?

 

Specifically, I am having 3 annoying issues..

 

1.  Any manually shifted labels no longer appear in the correct place in
3.20.  As a double-check to make sure I am not going mad, I open the project
in 3.18, labels are perfectly placed. Open the same file in 3.20 and any
labels that have been manually shifted now all appear offset to where they
used to display.  At a glance, I'd say the offset is constant (ie a bit west
and a bit north of where they show in 3.18). Any default positioned (ie not
manually shifted) labels still look fine.
2.  I have several virtual layers in my project file, essentially
combining two layers together using SQL.  When opening the project file in
3.20, QGIS stops on-error saying it can't find the layer(s).  If I then
choose to continue and keep the "broken" layer in the session, then
right-click and edit the virtual layer, press test it passes the test and
then I can then add it back as a layer.  So it was never eally broken at all
as all I had to do was press test? All the correct data appears in the
virtual layer edit dialog box, so it's not broken or missing..  I'd hate to
have to go through all 20 project files individually to fix this one!
3.  If any layer I use has masking enabled, when displaying on the
layout window it seems that all vector layers are now offset from raster
layers. So as a test I turn off masking, go back to the layout and press
refresh, and it all looks fine again.  Re-enable masking, go back to layout
and press refresh, then again the vector and raster no longer align.  It
looks like only when masking is enabled.

 

Has anybody else experienced this?

This behaviour does not happen in 3.18.

 

You may wonder if the CRS has anything to do with it, I'm using
predominately ESPG2193 (NZTM 2000) and Google raster and also some local
coordinate system rasters (seems to not matter in my case). 

 

Big wraps to the 3.20 team for making it possible to move the leader line
start and end nodes!  This is a great feature!

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Offsetting rotated labels proportionate to variable angles/rotations

2021-07-01 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Simple question, but I am not sure how best to word it. Since we all love
maps, I have a diagram below.

1.  Create some points along a polyline. Easy using "Points along
Gemoetry"
2.  Display and label the points and put a rotation on the labels and
justify as needed (middle right in this case)

 

What I want to do is shift the label out from the point slightly. That's
easy if using Offset X and Y, but it does exactly as expected and moves them
X and Y, NOT accounting for the angle.

 

I'm guessing I would need to use Data Defined X and Y and do some
trigonometry using the angle and distance to calculate the new preferred
label position.  Does anybody have code to do this?

 

A simple workaround I did use was to just pad a few spaces to the end of the
label (ie "FIELD NAME" || '')

 



Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 

 
 

 

___
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] 3.20. Enabling labels making layout shift out of alignment with aerial imagery

2021-06-27 Thread Tony Shepherd (FarmMaps NZ)
Hi All

Any ideas why in V3.20 a layout will display like this.  It only happens if
I have labels enabled for my road centreline layer.  Turn that layer off and
the layout displays and prints as expected.  The map window always displays
as expected, it's only on the layout window where the apparent shift occurs.
Open the same project file in 3.18 and everything is fine, so obviously an
issue with 3.20?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

___
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] Layout page size variable?

2021-05-20 Thread Tony Shepherd (FarmMaps NZ)
Hi Charles (& others)

 

Thanks for the advice guys.  I’ve come up with this, it works a treat.

 

[%'Scale 1:' || format_number(round(map_get(item_variables('Main-Map-1'), 
'map_scale'),0),0)||

CASE

WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 210 THEN ' @ A4'

WHEN @layout_pagewidth IS 210 AND @layout_pageheight IS 297 THEN ' @ A4'

WHEN @layout_pagewidth IS 420 AND @layout_pageheight IS 297 THEN ' @ A3'

WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 420 THEN ' @ A3'

ELSE ' @ ???'

END%]

 

Cheers

Tony

 

From: Charles Dixon-Paver  
Sent: Friday, 21 May 2021 9:46 am
To: Tony Shepherd (FarmMaps NZ) 
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Layout page size variable?

 

Yeah I am not aware of a variable for this... But page sizes are actually more 
complicated than they seem. You can emulate it pretty easily with something 
like the following expression on a layout as you suggested:

 

[%CASE
WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 210 THEN 'On A4 
Landscape'
WHEN @layout_pagewidth IS 210 AND @layout_pageheight IS 297 THEN 'On A4 
Portrait'
WHEN @layout_pagewidth IS 420 AND @layout_pageheight IS 297 THEN 'On A3 
Landscape'
WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 420 THEN 'On A3 
Portrait'
ELSE 'With page dimensions of ' || @layout_pagewidth || ' x ' || 
@layout_pageheight
END%]

 

On Thu, 20 May 2021 at 23:13, Tony Shepherd (FarmMaps NZ) mailto:t...@farmmaps.nz> > wrote:

Hi All

 

Is there a variable that returns the page size of a print layout?

 

I would like to add the page size to the scale below so it reads something like 
“1:5,000 @ A3”

I can see variables for width and height, but not Page Size?

 

Or would I need to code in some ‘if’ &  ‘then’ statements using the width 
variables to arrive at the page size?

 



 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E  <mailto:t...@farmmaps.nz> t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 <http://tonyshepherd8.wixsite.com/home>  
<https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2> 

 

___
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] Layout page size variable?

2021-05-20 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Is there a variable that returns the page size of a print layout?

 

I would like to add the page size to the scale below so it reads something
like "1:5,000 @ A3"

I can see variables for width and height, but not Page Size?

 

Or would I need to code in some 'if' &  'then' statements using the width
variables to arrive at the page size?

 



 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Georeferencer failing - QGIS 3.18

2021-03-18 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Has anybody had issues with the Georeferencing tool failing after updating
to 3.18

 

I'm not doing anything different to what I have in the past, start with a
basic scan of an image, load into georeferencer, pick a few control points
on the image and the map canvas, press the green button, and then it hangs
and I have to kill QGIS.

 

If I do exactly the same in versions 3.12 or 3.14 it works like a charm.

 

Anyone else experiencing this?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Save to PDF - Image Compression - Waiting for QT 5.13

2021-01-26 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

This may be a silly question but I have noticed the ability to compress
images when creating PDF's has appeared in 6.13.x.  I've been waiting for
this for ages, so it's great to see, thanks guys for making this happen.

 

It says that it is only available with QGIS builds using QT 5.13.  

*   When does 5.13 become part of the normal QGIS build?
*   I've attempted to see if I can get that through the OSGeo4W
installer (3.17) but it also does not appear to have 5.13 as an option
(although this isn't the easiest interface to navigate through so I may have
missed it)?

 

I am looking forward to testing this feature out.

 

 



 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Picture data in Map?

2020-11-18 Thread Tony Shepherd (FarmMaps NZ)
Hi

 

There is a plugin called “Import Photos”.

 

It’ very handy for extracting metadata (exif data) from a folder full of images 
and creating points etc.  I use it to map photo locations then use a calculated 
field to show an arrow indicating the direction the photo was taken (if 
collected in the exif).  From memory it also allows you to click a photo and 
open a built in viewer to view the image.  

 

Also really useful for mapping and quickly viewing drone imagery.

 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

   
 

 

 

 

 

From: Qgis-user  On Behalf Of Chavoux Luyt
Sent: Wednesday, 18 November 2020 7:47 pm
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Picture data in Map?

 

Hi guys,

 

Is there an easy way to get image data into/linked into a map in qGIS (i.e. a 
plugin or something)? I have CyberTracker data with pictures taken of 
footprints etc. as recorded in the veld, but when I export it to a .shp file, 
the associated picture is no longer in the .dbf (neither is there a link to 
it). What I really want is to have a map where when I click on a specific 
point, the associated picture would pop up and show on-screen (together with 
the text data, like species and behaviour associated with that point).

 

Would I need to use BLOB's (or BYTEA) in PostGIS for this functionality? Has 
nobody done something similar before?

 

Any advice appreciated!

 

Cheers,

Chavoux

___
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] Deploy maps/data to clients - web map solutions or other?

2020-11-09 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

I'm after some advice/discussion around how others are sharing data/maps
with clients.

 

I mainly work in the agricultural/forestry area.  So I create maps, some
clients have very large farms, so many maps cover the farm with all sorts of
data from water schemes, health and safety hazards info, fenceline,
contours, aerial photos etc etc.

 

How are others deploying this data to clients other than traditional
PDF/paper maps?  

 

It would be easy to install GQIS and do some training etc, but it's a bit
daunting for a non GIS user to use QGIS for simple zoom, info tool, measure
line etc.  If it's not easy then non-tech people just won't use it.

 

I see there are a few Web GIS exporting add-ins for QGIS available.  Does
anybody have any particular success stories in sharing data with clients
using any of these solutions or perhaps other similar solutions available
elsewhere?

 

As I see it the ability to turn on and off layers and labels, measure an
area or distance, zoom in and out, view aerial photography, print WYSIWIG
would be a minimum. 

 

Something open source is preferable so it's as little a cost to the client
as possible but an easy way to deliver and use and add value to the data
that they have paid for.

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Version 3.14 - Copy and Paste attribute table

2020-08-27 Thread Tony Shepherd (FarmMaps NZ)
Thanks Andreas, at least a workaround.

 

So the following works:

*   Highlight some lines in an attribute browser window
*   Change the focus back to the map canvas
*   Edit -> Copy  (or ctrl C after setting up the shortcut)
*   Paste into any other app

 

What does not work, but used to:

*   Highlight rows in an attribute browser window
*   Ctrl C
*   Paste

 

So it appears that you have to now change focus back to the map canvas before 
copying data to the clipboard.  That’s OK, and it works, but not really that 
intuitive and in my opinion, it would be cool to be able to copy directly to 
the clipboard from the attribute browser window as per previous behaviour 
without having to change focus first.

 

Cheers

Tony

 

From: Qgis-user  On Behalf Of Andreas Neumann
Sent: Wednesday, 26 August 2020 5:28 pm
To: Stephane Goldstein 
Cc: qgis-user 
Subject: Re: [Qgis-user] Version 3.14 - Copy and Paste attribute table

 

Hi,

I don't think that this was deliberately changed. I agree that the copy/paste 
functionality to other software is very convenient.

Can you please check in Menu "Settings" --> "Keyboard Shortcuts" --> Sort by 
Shortcut and see if something else might have captured the "Ctrl-C" Shortcut?

Ctrl-C should be assigned to "Copy Features".

I checked in my system (QGIS master) and it seems like when using German 
language, it is properly assigned, but as soon as you switch to English, the 
Shortcut is gone.

But you can easily re-assign the shortcut: Select the Action "Copy Features" 
--> Click the "Change" button and assign the combination "Ctrl+C".

Let us know if this helps. Can you perhaps also open a but report on this so it 
can be fixed for all users?

Thanks,

Andreas

On 2020-08-26 03:10, Stephane Goldstein wrote:

Hi.

I also do that very frequently. Ctrl+C does not work for that anymore.

Now after selecting your features, you have to go to the Edit menu and click 
"Copy features". 

 

On Wed, 26 Aug 2020 at 04:49, Tony Shepherd (FarmMaps NZ) < 
<mailto:t...@farmmaps.nz> t...@farmmaps.nz> wrote:

Hi All

 

Prior to 3.14 we could simply open an attribute table, select a few rows (or 
atrl A to select all), ctrl-v to copy and then paste into excel or similar.  
Handy for a quick excel filter, or pivot table etc.

 

Just to check that I hadn't gone completely mad, I found an old PC with 3.12 
installed and yes, that is possible.

 

In 3.14 this isn't possible?  I know its easy to export and save as excel, but 
it just takes a lot longer.  Is this by design or have I missed something 
obvious, and if so can somebody help point me in the right direction. 

 

I note from Dr Google that there are issues in 3.14 with copying and pasting 
map features, is this related?

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E  <mailto:t...@farmmaps.nz> t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 <http://tonyshepherd8.wixsite.com/home>  
<https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2> 

 

___
Qgis-user mailing list
 <mailto:Qgis-user@lists.osgeo.org> Qgis-user@lists.osgeo.org
List info:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user

 

___
Qgis-user mailing list
 <mailto:Qgis-user@lists.osgeo.org> Qgis-user@lists.osgeo.org
List info:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:  <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
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] Version 3.14 - Copy and Paste attribute table

2020-08-25 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Prior to 3.14 we could simply open an attribute table, select a few rows (or
atrl A to select all), ctrl-v to copy and then paste into excel or similar.
Handy for a quick excel filter, or pivot table etc.

 

Just to check that I hadn't gone completely mad, I found an old PC with 3.12
installed and yes, that is possible.

 

In 3.14 this isn't possible?  I know its easy to export and save as excel,
but it just takes a lot longer.  Is this by design or have I missed
something obvious, and if so can somebody help point me in the right
direction. 

 

I note from Dr Google that there are issues in 3.14 with copying and pasting
map features, is this related?

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] PDF output - file size

2020-08-05 Thread Tony Shepherd (FarmMaps NZ)
Thanks, guys for the helpful information and suggestion.

 

So my understanding is that the PDF file output is now using vector (as opposed 
to raster) for fills and font markers to increase quality.  This is great, but 
I'm guessing the obvious trade-off for quality is an increase in file size.

 

I think it would be worthwhile having an option to perhaps alter the quality of 
the output to be able to produce a “horses for courses” approach to the output 
dependent on the intended use of the outputted map.  For example a really good 
quality glossy print for display or a PDF to use on a mobile app where a larger 
file is not that convenient.

 

So, if people agree that it’s a good idea then I’m happy to suggest a future 
enhancement to allow some control over the output quality somehow (reduced DPI 
maybe?).

 

Cheers

Tony

 

 

From: Ryan Brook (Perth)  
Sent: Sunday, 2 August 2020 4:17 am
To: Nyall Dawson ; Tony Shepherd (FarmMaps NZ) 

Cc: qgis-user 
Subject: RE: [Qgis-user] PDF output - file size

 

Hi Tony,

 

Consider using multiply blending mode for your map in the rendering menu of 
item properties. 

This will lose transparency but reduce file size (could be an order of 
magnitude decrease if you have many raster layers loaded).

 



 

Not sure if the simplify geometries option will help you:



 

Regards,

Ryan

-Original Message-
From: Nyall Dawson mailto:nyall.daw...@gmail.com> > 
Sent: Friday, 31 July 2020 7:26 AM
To: Tony Shepherd (FarmMaps NZ) mailto:t...@farmmaps.nz> >
Cc: qgis-user mailto:qgis-user@lists.osgeo.org> >
Subject: Re: [Qgis-user] PDF output - file size

 

On Fri, 31 Jul 2020 at 09:20, Tony Shepherd (FarmMaps NZ) < 
<mailto:t...@farmmaps.nz> t...@farmmaps.nz> wrote:

> 

> Hi All

> 

> 

> 

> Hope all is well.  I’m really liking QGIS 3.14!!

> 

> 

> 

> I have a question re the file size of PDF outputs.  Since upgrading to 3.14, 
> the file size of PDF outputs seems to have grown by a substantial amount.  If 
> I have SVG or font marker fills, even more so.  An A3 map, typically was 5mb 
> or so, now it is outputting at close to 30mb.  Id then normally use Acrobat 
> to compress and get it down a bit without losing any discernable quality (but 
> retain geo info), but even then it's still over 20mb.

 

Previously svg or font marker fills were exported as raster patterns, which 
resulted in a loss of quality when the PDFs were printed or zoomed in to. Since 
3.14 we now output marker fills using vector artwork wherever possible, in 
order to avoid this loss of quality.

 

> How do others deal with this issue?  Is there anywhere that I can have some 
> control over the DPI of the output etc, much like the old days when we hade 
> Acrobat installed as a stand-alone printer driver?

 

There's no option for this in current versions, but it's worth filing a feature 
request!

 

Nyall

 

*** Advisian Notice *** "This email is confidential. If you are not the 
intended recipient, you must not disclose or use the information contained in 
it. If you have received this email in error, please notify us immediately by 
return email and delete the email and any attachments. Any personal views or 
opinions expressed by the writer may not necessarily reflect the views or 
opinions of any company in the WorleyParsons Group of Companies. How we use 
your personal data: http://www.advisian.com/en-us/who-we-are/privacy-policy 
/SPAN>

___
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] PDF output - file size

2020-07-30 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Hope all is well.  I'm really liking QGIS 3.14!!

 

I have a question re the file size of PDF outputs.  Since upgrading to 3.14,
the file size of PDF outputs seems to have grown by a substantial amount.
If I have SVG or font marker fills, even more so.  An A3 map, typically was
5mb or so, now it is outputting at close to 30mb.  Id then normally use
Acrobat to compress and get it down a bit without losing any discernable
quality (but retain geo info), but even then it's still over 20mb.

 

PDF is preferable for obvious reasond (obviously easily read and opened buy
almost anybody and anything, retains GEO info for using in apps like Avenza)
but why has the output file size grown so much.  Tweaking the output
controls/options makes little difference.

 

How do others deal with this issue?  Is there anywhere that I can have some
control over the DPI of the output etc, much like the old days when we hade
Acrobat installed as a stand-alone printer driver?

 

Interested to hear others experiences dealing with this.

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Update field based on a value from another layer

2020-06-23 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Am I missing something?  Is there a simple point and click tool in QGIS to
update an existing field in a QGIS layer based on a value in another using a
geographic join?  For example a series of points and a series polygons.  I
want to update a field in points from a value in a field in polygons based
on which polygon the point falls in.  Simple stuff.

 

In a previous life using MapInfo we simply used query editor and

update point_layer set col1 = colx from polygon_layer where obj within any

 

To me, this seems like a very simple everyday thing to do to an existing
table.  I can, of course, use vector -> Join Attributes by Column but why in
this case would I needlessly complicate things by having to create a third
layer?  I don't need an extra layer, I just need to update the one I have
already.

 

I can see that the internet is littered with similar questions dating back
as long as QGIS has been around.  Perhaps I have missed something obvious,
and if so apologies for wasting the time of others, but can you point me to
the tool?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Mergin plugin - Hanging QGIS on startup

2020-05-02 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Is anybody having issues with the Mergin plugin causing QGIS (QGIS V3.12) to
hang on startup?  It loaded ok on the initial insatll, now hangs QGIS on
startup.  Remove the plugin, QGIS starts fine.  Reload the plugin QGIS again
fails to start?  TO remove I have to use a -noplugins switch to uninstall.

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Shared line-style resources etc

2020-04-19 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Hope that averyone is getting through whatever lockdown conditions you are
under ok.  Day 26 for us in New Zealand. 

 

I'm just wondering of any known shared resources for line styles, point
styles, svg libraries etc?  I have done some searching on the web and found
a few things scattered here and there but nothing really substantial.  I
imagined with QGIS being opensource and loads of plugins being shared that
there may be a similar resource for styles etc.

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] GEO PDF and Avenza maps or similar

2020-03-10 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Hope everyone is well.

 

I have been experimenting with exporting maps as geo-pdf's and then opening
them on a mobile device (phone, tablet etc) using Avenza Maps.  It is
working well and as a bonus it's free.  Being able to add tracks and
waypoints on top of the PDF in real-time while being location aware is great
and exporting those added features for use in QGIS is reasonably straight
forward.

 

My question, apologies for the lengthy intro, is what product others are
using in the field to view geo-pdf's and have the ability to add
tracks/waypoints/features and then export to QGIS for future use?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] 3.10 dialog box icons in other language?

2019-10-30 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Hi all.  After upgrading to 3.10 this has happened to some buttons on dialog
boxes.  If you hover over the button with your mouse the tooltip does
display correctly.  While it is not at all a show stopper, any ideas on how
to fix?

 



 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Raster edge detection - Raster -> Vector

2019-09-25 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Is anybody out there using any tools (QGIS or other) to automatically or
semi-automatically digitise vector data from rasters?  Roads, obvious edges
of change in land use, forestry, crops, water etc?

 

I've tried a few plugins, can't seem to get them to work very well if at all
and also a few other freebie tools external to QGIS also with mixed results,
mostly bad.  I recall many years ago seeing a really cool tool for doing
just that worked from within AutoCAD, so I am curious to see if such things
exist in the open-source / QGIS space?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Drag and drop files into QGIS - Silly Question

2019-09-01 Thread Tony Shepherd (FarmMaps NZ)
Hi

I have figured it out.  I'm using 3.8.2.  If I open QGIS using the windows 
option "Run as Administrator", drag and dropping any data (spatial or non 
spatial) files into QGIS appears to be disabled.  A normal starting of QGIS and 
it is as Mike says  "drag and drop come naturally" and it appears to work as 
normal.

Sorry for wasting anybody's time, but thought it worth commenting on what I 
discovered.

Cheers
Tony

-Original Message-
From: Qgis-user  On Behalf Of Mike Flannigan
Sent: Friday, 30 August 2019 12:30 pm
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Drag and drop files into QGIS - Silly Question


Hi,

Don't be surprised if I am wrong, but I say drag and drop comes naturally and 
you cannot turn it off.

Try Layer - Add Layer - Add Vector Layer.

Does that work?

Are you on Windows?

I use 3.2.0 on Win7.


Mike



On 8/29/2019 2:11 AM, qgis-user-requ...@lists.osgeo.org wrote:
> Hi All
>
> I have a brand new PC, have set up QGIS, exported and imported my QGIS 
> profile from my old PC and all is working perfectly with QGIS and 
> added plugins ect apart from the ability to drag and drop shp file (or 
> MapInfo tab or any files) directly into the layer panel in QGIS.  Am I 
> missing something obvious, but for the life of me I can't find any 
> setting that may enable or disable this or much on the web about it?
>
>
> Cheers
>
> Tony

___
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] Drag and drop files into QGIS - Silly Question

2019-08-28 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

I have a brand new PC, have set up QGIS, exported and imported my QGIS
profile from my old PC and all is working perfectly with QGIS and added
plugins ect apart from the ability to drag and drop shp file (or MapInfo tab
or any files) directly into the layer panel in QGIS.  Am I missing something
obvious, but for the life of me I can't find any setting that may enable or
disable this or much on the web about it?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Plot roadline using contours / DEM

2019-08-21 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

I would like to plot a line (potential road) using a given slope (or grade)
using contour lines.  I imagine picking a start point, entering a grade and
somehow plotting the road line.  I also have a DEM that I could use if that
was possible.  Is there a plugin available to assist with this?  Accuracy
isn't all that important as it's for a potential road in a forestry block,
but Id like a shp file produced that I could then load into my drone to fly
the route before more precise planning took place.

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] QuickMapServices plugin question

2019-07-12 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

This isn't really a question, but a curiosity.  I've been using Google
Satellite among other services from the Quick Map Services plugin.  Its
awesome and very useful to have different sources of imagery etc to use in
addition to existing ortho photos that I have access to.  My question, or
curiosity really, is what Google dataset the QMS plugins access as opposed
to that used in Google Earth?  I notice that in Google Earth that there is
some nice new imagery, not more than a month old, displaying in an area that
I have recently been working in.  I assumed that the new Google imagery
would filter through to the dataset that is accessed by the QMS plugin.  Its
obviously a different dataset, can anybody shed any light as to if the
Google Earth imagery does flow through to the dataset used by the plugin
eventually?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] Geometry buffer tool

2019-05-29 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

Does anybody have issues with the Geometry Buffer Tool failing if used more
than once in a QGis session?

 

What I am doing is that I have a polygon representing an area to be planted
in trees.  I have a stream running through the area and cant plant within
10m of the stream, so I am digitising the stream, creating a 10m buffer and
using that to cut an area out of my existing planting polygon.  The first
time it works a treat and then if I reuse the tool it fails.  Only way
around is to restart QGIS and then it works fine the first time, but fails
if used again.

 

QGIS 3.6.3

 

Using as follows:

. create a few lines.  

. Use the buffer tool to create a region based on parameters and as
a result, it creates a temporary layer called "Buffered".  

. Use that buffer to erase some area from an existing polygon. 

. Close the layer "Buffered" as I no longer need it.

. Digitise some other lines and repeat the process.

. Now I get an error, so if I completely close QGIS, restart QGIS it
works, but only once. If I go to try the same process a second time it
fails, but again restart fixes it.

 

The error is as follows:

 

Traceback (most recent call last):
  File
"C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Di
gitizingTools\tools\dtcutter.py", line 43, in process
dlg = DtChooseCutterLayer(self.iface, self.isPolygonLayer(passiveLayer),
self.lastChoice)
  File
"C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Di
gitizingTools\dtDialog.py", line 77, in __init__
self.initialize()
  File
"C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Di
gitizingTools\dtDialog.py", line 87, in initialize
if self.cutterLayer.id() == valueArray[0]:
RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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] las files

2019-05-20 Thread Tony Shepherd (FarmMaps NZ)
Hi All

 

I'm new to QGIS after using MapInfo for more years than I dare to admit and
finding QGIS great.  I'm making full use of the 3D features as I work mainly
in the forestry industry and as they say, a picture says a thousand words,
particularly when showing topography.  My question is, I am trying to find a
way of converting some LiDar data that I have (las files) to something that
QGis can use when creating 3D views.  Currently I'm using tif DEM files, so
can anyone point me in the right direction to creating a dem from las files?
I can't see any plugins so wonder how others are achieving this?

 

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial

Ph 027 435 6193  |  E t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
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