Re: [Qgis-user] Report Layout strange behaviour with photos

2020-09-15 Per discussione Håvard Tveite
tive. >> Or you could organize this as a joint effort - e.g. through the german >> QGIS user group. >> Greetings, >> Andreas >> On 2020-09-14 23:09, Bernd Vogelgesang wrote: >> >>> On 14.09.20 22:30, Håvard Tveite wrote: >>>> Including photos /

Re: [Qgis-user] Report Layout strange behaviour with photos

2020-09-14 Per discussione Håvard Tveite
Including photos / images in reports is covered by the documentation. See: https://docs.qgis.org/testing/en/docs/user_manual/print_composer/create_reports.html#including-pictures-in-a-report It worked for me. It should now also be possible to use images stored in a BLOB field. Håvard On

Re: [Qgis-user] un marking in the layer

2020-08-02 Per discussione Håvard Tveite
Hi boaz, I am not sure what exactly you mean by "sub- layers". If you are talking about groups, you will find some information in the user manual: https://docs.qgis.org/3.10/en/docs/user_manual/introduction/general_tools.html#interact-with-groups-and-layers From that section: > The checkbox

Re: [Qgis-user] Font Awesome symbols in QGIS

2020-07-28 Per discussione Håvard Tveite
Great, Charles! I took the liberty to add the "Entire Font Awesome Free repo" to the directory of approved repositories for QGIS Resource Sharing. I installed the collection, and the QGIS Resource Sharing plugin reported that 1601 SVG files were recognised in the collection. The SVGs also showed

Re: [Qgis-user] 200717 - How do I enclose an orthogonal grid of points with a polygon boundary.

2020-07-17 Per discussione Håvard Tveite
Forgot the last step: 5) To get a line layer, run the "Polygons to lines" algorithm on the output layer from step four. Håvard On 17.07.2020 10:00, Håvard Tveite wrote: > Hi Paul, > > I don't think you will find a function in QGIS to do this, > but you should be able

Re: [Qgis-user] 200717 - How do I enclose an orthogonal grid of points with a polygon boundary.

2020-07-17 Per discussione Håvard Tveite
Hi Paul, I don't think you will find a function in QGIS to do this, but you should be able to achieve it by using the following procedure: 1) Create a polygon grid with the same "spacing" as your point grid. Use the "Create grid" algorithm (from the Processing Toolbox), with Grid type: Rectangle

Re: [Qgis-user] importing more symbols

2020-07-14 Per discussione Håvard Tveite
Hi Boaz, The QGIS Resource Sharing plugin allows sharing of many kinds of resources, including symbols (markers, line and fill symbols, colour ramps, text formatting and label settings), layer styles, raster images and SVG (for use in symbols), expressions, scripts (Python and R) and models.

Re: [Qgis-user] WMS source connect

2020-07-13 Per discussione Håvard Tveite
me: > image.png > > https://ows.sobr.geosys.ru/2500/RU/2004/scan returns empty canvas and > legend error: > image.png > > пн, 13 июл. 2020 г. в 19:53, Håvard Tveite <mailto:havard.tve...@nmbu.no>>: > > The GetCapabilities works for me, so, in theory, all you

Re: [Qgis-user] WMS source connect

2020-07-13 Per discussione Håvard Tveite
The GetCapabilities works for me, so, in theory, all you need to do is to add it as a WMS / WMTS service (Layers-> Add Layer-> Add WMS/WMTS Layer...) with the following URL: https://ows.sobr.geosys.ru/200/RU/topo/rast In the dialogue, choose a layer (or group layer), and one of the available

Re: [Qgis-user] Measuring Tool Discrepancy

2020-06-07 Per discussione Håvard Tveite
Pseudo Mercator (or Web Mercator) is a projection that is not suitable for distance (or area) measurements. So the discrepancies are expected. For a short explanation, see for instance https://gis.stackexchange.com/a/14532 or wikipedia. Håvard On 07.06.2020 20:13, Stewart Holt wrote: >

Re: [Qgis-user] cover and back cover using atlas in qgis3

2020-05-28 Per discussione Håvard Tveite
Hi Roberto, You can do this with QGIS Reports and "Static Layout Sections". Reports are covered by the documentation: https://docs.qgis.org/3.10/en/docs/user_manual/print_composer/create_reports.html Håvard On 28.05.2020 12:42, Poltini Roberto wrote: > Hi all, > >    How can I add a cover

Re: [Qgis-user] distance to the coast

2020-05-21 Per discussione Håvard Tveite
The NNJoin plugin is perfect for the task, but if you are using a recent QGIS version, the Processing algorithm "Join attributes by nearest" (found in the "Processing Toolbox) can do the same as the NNJoin plugin (and more). Håvard On 21.05.2020 09:26, Bernd Vogelgesang wrote: > Hi Nikos, > >

Re: [Qgis-user] documentation v 3.10 - PDF ?

2020-04-23 Per discussione Håvard Tveite
I hope that we can continue to provide the documentation also as PDFs (one for the user manual, one for the training manual, ...). HTML definitely has its merits, but I find a PDF very much more convenient than a huge structure of HTML files for reading and searching the documentation. Could a

Re: [Qgis-user] Shared line-style resources etc

2020-04-20 Per discussione Håvard Tveite
And here is the link to the documentation of the Resource Sharing plugin and Resource Sharing in QGIS: http://qgis-contribution.github.io/QGIS-ResourceSharing/ On 20.04.2020 09:17, Paolo Cavallini wrote: > Hi Tony, > there is also a Resource Sharing plugin that is designed exactly for this. >

Re: [Qgis-user] re-distributing randomly points within an existing polygon file

2020-04-16 Per discussione Håvard Tveite
The "Random points inside polygons" algorithm could be of some help. In the upcoming (?) "Random points in polygons" algorithm (https://github.com/qgis/QGIS/pull/35745), it is possible to "data define" the number of points for each polygon, so when / if that algorithm becomes available, you just

Re: [Qgis-user] rRegular Shapes In 3.12

2020-04-12 Per discussione Håvard Tveite
If you want to draw the shapes, the "Shape Digitizing Toolbar" contains tools for drawing circle, ellipse, rectangle and regular polygon. If you want to generate circles from points, I guess the "Rectangles, oval, diamonds" algorithm could help you. Håvard On 12.04.2020 21:18, wildlan...@aol.com

Re: [Qgis-user] merge shapefiles into one

2020-04-12 Per discussione Håvard Tveite
You can try the "Merge vector layers" function / algorithm. ESRI Shapefile format datasets can be selected using the Add File(s) button. Håvard On 12.04.2020 20:08, Mark Fogarty wrote: > hi. i'm new to the list and qgis, apologies if this has been asked. we're > working with the us census tract

Re: [Qgis-user] Atlas Generation

2020-03-19 Per discussione Håvard Tveite
Hi Bernd, It is no problem to use a point layer to define the map areas. The generated maps will be centered on the points, and the extent is determined by the specified scale and the size you have defined for the map on the page. Håvard On 19.03.2020 11:21, Bernd Vogelgesang wrote: > From

Re: [Qgis-user] Atlas Generation

2020-03-19 Per discussione Håvard Tveite
Sorry about that - I have been working with reports lately... I tested for Atlas now (QGIS 3.12), and the corresponding Atlas procedure also produced the atlas as a 20cm by 20 cm PDF document: 0) I assume that the map for the "report" is already prepared. 1) Create a new print layout

Re: [Qgis-user] Atlas Generation

2020-03-18 Per discussione Håvard Tveite
Hi again, I just tested this procedure with QGIS 3.10 (current LTR), and got the same result (it works!). I do not currently have 3.4 available, so I can't test that one. Håvard On 19.03.2020 00:20, Håvard Tveite wrote: > Hi, > > The following procedure works for me (QGIS 3.12).

Re: [Qgis-user] Atlas Generation

2020-03-18 Per discussione Håvard Tveite
Hi, The following procedure works for me (QGIS 3.12). 0) I assume that the map for the "report" is already prepared. 1) Create a new report (*Project-> New Report*). 2) In the *Report Organizer*, add a *Field Group Section* under *Report* by pressing the green plus-button (+) and

Re: [Qgis-user] problem of adding csv file

2020-03-15 Per discussione Håvard Tveite
Hi Boaz, Importing CSV files should be supported by QGIS. I think it would useful to see your CSV file, or at least a part of it, in order to determine what might be causing problems. QGIS should also support XLSX files. Have you tried that? Håvard On 15.03.2020 21:28, Boaz Bar Ilan wrote: >

Re: [Qgis-user] area

2020-03-15 Per discussione Håvard Tveite
For "hover" (get on screen the area of a region when the cursor is above it): Open the region layer's properties, go to "Display", insert [% $area %] in the HTML Map Tip text area, and click "OK". Move the cursor over a region, and its area should be displayed by your cursor. Håvard On

Re: [Qgis-user] Stream to feature problem

2020-02-28 Per discussione Håvard Tveite
before running this algorithm. Håvard On 28.02.2020 09:09, Håvard Tveite wrote: > Hi Ming, > > The errors occur where raster "line" is two pixels wide, and > that is also where you find the "errors". > (to a one pixel wide skeleton) before running this algorithm

Re: [Qgis-user] Stream to feature problem

2020-02-28 Per discussione Håvard Tveite
Hi Ming, The errors occur where raster "line" is two pixels wide, and that is also where you find the "errors". (to a one pixel wide skeleton) before running this algorithm. Håvard On 28.02.2020 01:13, ming han wrote: > Hi all >     Is qgis has a function like "stream link" in Arcgis which can

Re: [Qgis-user] Second Call For A New Training Course - An Introduction To Integrating QGIS/GIS And R For Spatial Analysis

2020-02-26 Per discussione Håvard Tveite
Hi Colin, R script support was added to the QGIS Resource Sharing plugin recently. I have also updated some of the scripts in the QGIS 2 online collection to sf and made them available through the official QGIS Resource Sharing repository. You (and your students) can download these updated

Re: [Qgis-user] R on Ubuntu 18.04 x64.

2020-01-25 Per discussione Håvard Tveite
Hi Marcio, On my Ubuntu 18.04, x64, the binary is at /usr/bin/R See for instance: https://packages.ubuntu.com/bionic/amd64/r-base-core/filelist for more. Håvard On 26.01.2020 04:34, Marcio MIdon wrote: > Hi Fellows, > > Does anybody knows wher "R" is installed by default on Ubuntu 18.04 x64?

Re: [Qgis-user] Error after saving my script

2020-01-04 Per discussione Håvard Tveite
Hi Giacomo, The error message indicates that you have removed (or masked away) the "name()" function when modifying the scipt. If you would like to get more help, you will need to show us your script. Håvard On 01.01.2020 18:19, Giacomo Fontanelli wrote: > Dear forum > > > I slightly

Re: [Qgis-user] Working with DEMs

2019-12-16 Per discussione Håvard Tveite
Hi Dave, When "Use Z-coordinate for interpolation" is checked, it must be assumed that the Z coordinate will be used *instead* of the value in the "Elevation" attribute. But it is strange that this should cause the Exception / error you experience. The TIN Interpolator seems to works fine here

Re: [Qgis-user] Working with DEMs

2019-12-12 Per discussione Håvard Tveite
On 11.12.2019 15:14, kirk wrote: > Hi Bernd. You will have to create a raster dem from your contour data. > First extract nodes from lines and ensure the elevation field is extracted. > Once you have the point data, you can generate a raster using a tin or > spline interpretation. You can also

Re: [Qgis-user] How do I manually input lat. long. data into cvs format and convert to a vecter point file?

2019-12-10 Per discussione Håvard Tveite
Very strange. The Processing algorithm "Create points layer from table" (under QGIS Vector creation in the Processing Toolbox) should be fairly robust. For decimal degrees, as long as you have two columns in the table with valid numbers (depending on your locale, you may have issues with the

Re: [Qgis-user] Change Symbol

2019-12-09 Per discussione Håvard Tveite
Hi Dave, You could have a look at "Rule-based" rendering: https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#rule-based-renderer Håvard On 10.12.2019 01:57, Dave Gardiner wrote: > Hi - I'm undertaking a crash course in using QGIS for a geological >

Re: [Qgis-user] R scripts: How to get things working and what could be changed

2019-11-08 Per discussione Håvard Tveite
Hi, I have just updated the documentation to reflect the changes that were made with R in processing for QGIS 3 (R-> Tools removed from the Processing Toolbox and moved to a pulldown menu at the top of the Toolbox - as for Python processing scripts). The link to the online collection is also

Re: [Qgis-user] GRASS Plugin Missing

2016-05-06 Per discussione Håvard Tveite
I seem to have the same problem here on Ubuntu 14.04 with http://qgis.org/debian, http://qgis.org/ubuntugis and http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu. I can get Grass 7 to work in Processing by adding a number of links in /usr/lib/grass70/lib. The first one: ln -s

Re: [Qgis-user] RES: Trouble with select by location between point and line layer

2015-09-27 Per discussione Håvard Tveite
A tolerance value would probably be needed in the general case. Have you tested with horizontal or vertical lines? Håvard Tveite On 25. sep. 2015 21:53, João Carneiro wrote: Updating the information below – I have checked that select by location only selects the points that are snapped

Re: [Qgis-user] How to convert raster routes into vector format?

2015-07-29 Per discussione Håvard Tveite
With QGIS 2.10, the following should work (probably also OK for earlier versions). Check the band values of your colour using the info button, and use the values in the expression below (assuming the name of your raster layer is yourraster) instead of 116, 20 and 31: (yourraster@1 = 116 AND

Re: [Qgis-user] Mean center or central feature equivalent

2015-03-10 Per discussione Håvard Tveite
If the central feature is the nearest neighbour to the mean centre, then distance matrix (vector- analysis tools- distance matrix) could be used to find it. Distance matrix is exact for point features. GRASS v.distance should be exact also for lines and polygons. On 10. mars 2015 20:30, Håvard

Re: [Qgis-user] Mean center or central feature equivalent

2015-03-10 Per discussione Håvard Tveite
Mean center: What about Vector- Analysis Tools- Mean coordinate(s) On 10. mars 2015 20:07, steve.tout...@inspq.qc.ca wrote: I need to generate the center location of a bunch of points. Is there a tool in qgis similar to Mean center or Central feature function in arcGis? Central feature

Re: [Qgis-user] v.clean and good configuration for Grass

2015-02-04 Per discussione Håvard Tveite
. Håvard thanks Genevieve Faille Québec ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Håvard Tveite Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N

Re: [Qgis-user] Nearest polygon from point

2014-12-03 Per discussione Håvard Tveite
. Processing tool “distance to nearest hub” Does the same. Any suggestions? Thanks Joris -- Håvard Tveite Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY Phone: +47 64965483 Fax: +47 64965401 http://www.nmbu.no/imt

Re: [Qgis-user] CASE WHEN .... Field Calculator.

2014-11-04 Per discussione Håvard Tveite
Both CASE WHEN A like '30STH400500' THEN (30 + 20 + 10) ELSE 0 END and CASE WHEN A = '30STH400500' THEN (30 + 20 + 10) ELSE 0 END should work. If you want to assign this to D, you must specify D in Output field name. Håvard On 04. nov. 2014 20:29, Matías Taborda Barroso wrote: Hi. I'm

Re: [Qgis-user] RGB pixel value

2014-10-14 Per discussione Håvard Tveite
of a single pixel? Thanks. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Håvard Tveite Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY Phone

[Qgis-user] Is there a simple way to find the distance to the nearest line in QGIS?

2014-01-08 Per discussione Håvard Tveite
://hub.qgis.org/issues/5954) Since this is such a useful GIS function, I hope that there is a good and simple QGIS way of doing this. Håvard -- -- Håvard Tveite Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY Phone: +47 64965483 Fax: +47 64965401 http